📄 abstractrequest.html
字号:
</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key to be processed<DT><B>Returns:</B><DD>the key, after being processed. (made upper case, for example)</DL></DD></DL><HR><A NAME="setProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>setProperty</H3><PRE>public void <B>setProperty</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></CODE></B></DD><DD>Sets the name/value property for this request. Note that when using this method, it is up to the programmer to provide their own encoding of <code>value</code> according to the OWS specifications! The code will not do this for you. Different OWS specifications define different ways to do this. There are notorious differences between WMS 1.1.1 (section 6.2.1) and WMS 1.3.0 (section 6.3.2) for example. If value is null, "name" is removed from the properties table.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/ows/Request.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>value</CODE> - the value of the property</DL></DD></DL><HR><A NAME="getProperties()"><!-- --></A><H3>getProperties</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html" title="class or interface in java.util">Properties</A> <B>getProperties</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/ows/Request.html#getProperties()">getProperties</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a copy of this request's properties</DL></DD></DL><HR><A NAME="initRequest()"><!-- --></A><H3>initRequest</H3><PRE>protected abstract void <B>initRequest</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="initService()"><!-- --></A><H3>initService</H3><PRE>protected abstract void <B>initService</B>()</PRE><DL><DD>Implementing subclass requests must specify their own "SERVICE" value. Example: setProperty("SERVICE", "WFS");<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="initVersion()"><!-- --></A><H3>initVersion</H3><PRE>protected abstract void <B>initVersion</B>()</PRE><DL><DD>Sets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getPostContentType()"><!-- --></A><H3>getPostContentType</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getPostContentType</B>()</PRE><DL><DD>Default POST content type is xml<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/ows/Request.html#getPostContentType()">getPostContentType</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the MIME type of the data to be sent during the request</DL></DD></DL><HR><A NAME="performPostOutput(java.io.OutputStream)"><!-- --></A><H3>performPostOutput</H3><PRE>public void <B>performPostOutput</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</A> outputStream) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Default to not requiring POST. Implementors can override if they need to.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/ows/Request.html#performPostOutput(java.io.OutputStream)">performPostOutput</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>outputStream</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="requiresPost()"><!-- --></A><H3>requiresPost</H3><PRE>public boolean <B>requiresPost</B>()</PRE><DL><DD>Default to not requiring POST. Implementors can override if they need to.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/ows/Request.html#requiresPost()">requiresPost</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if this request needs POST support, false otherwise.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractRequest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/geotools/data/ows/AbstractOpenWebService.html" title="class in org.geotools.data.ows"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/data/ows/Capabilities.html" title="class in org.geotools.data.ows"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="AbstractRequest.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -