📄 wms1_0_0.getmaprequest.html
字号:
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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/ows/AbstractRequest.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/ows/AbstractRequest.html" title="class in org.geotools.data.ows">AbstractRequest</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setFormat(java.lang.String)"><!-- --></A><H3>setFormat</H3><PRE>public void <B>setFormat</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> value)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/geotools/data/wms/request/AbstractGetMapRequest.html" title="class in org.geotools.data.wms.request">AbstractGetMapRequest</A></CODE></B></DD><DD>From the Web Map Service Implementation Specification: "The required FORMAT parameter states the desired format of the response to an operation. Supported values for a GetMap request on a WMS instance are listed in one or more <Format> elements in the &;ltRequest><GetMap> element of its Capabilities XML. The entire MIME type string in <Format> is used as the value of the FORMAT parameter."<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/wms/request/GetMapRequest.html#setFormat(java.lang.String)">setFormat</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/wms/request/AbstractGetMapRequest.html#setFormat(java.lang.String)">setFormat</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/wms/request/AbstractGetMapRequest.html" title="class in org.geotools.data.wms.request">AbstractGetMapRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The desired format for the GetMap response</DL></DD></DL><HR><A NAME="setExceptions(java.lang.String)"><!-- --></A><H3>setExceptions</H3><PRE>public void <B>setExceptions</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> exceptions)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/geotools/data/wms/request/AbstractGetMapRequest.html" title="class in org.geotools.data.wms.request">AbstractGetMapRequest</A></CODE></B></DD><DD>The exceptions type specifies what format the server should return exceptions in. <p> Valid values are: <ul> <li> "application/vnd.ogc.se_xml" (the default) </li> <li> "application/vnd.ogc.se_inimage" </li> <li> "application/vnd.ogc.se_blank" </li> </ul> </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/wms/request/GetMapRequest.html#setExceptions(java.lang.String)">setExceptions</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/wms/request/GetMapRequest.html" title="interface in org.geotools.data.wms.request">GetMapRequest</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/wms/request/AbstractGetMapRequest.html#setExceptions(java.lang.String)">setExceptions</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/wms/request/AbstractGetMapRequest.html" title="class in org.geotools.data.wms.request">AbstractGetMapRequest</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>exceptions</CODE> - </DL></DD></DL><HR><A NAME="getRequestException(java.lang.String)"><!-- --></A><H3>getRequestException</H3><PRE>protected <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>getRequestException</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> exception)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getRequestFormat(java.lang.String)"><!-- --></A><H3>getRequestFormat</H3><PRE>protected <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>getRequestFormat</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> format)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="processKey(java.lang.String)"><!-- --></A><H3>processKey</H3><PRE>protected <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>processKey</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> key)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/geotools/data/ows/AbstractRequest.html" title="class in org.geotools.data.ows">AbstractRequest</A></CODE></B></DD><DD>Some Open Web Servers do not abide by the fact that parameter keys should be case insensitive. This method will allow a specification to determine the way that the parameter keys should be encoded in requests made by the server.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/ows/AbstractRequest.html#processKey(java.lang.String)">processKey</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/ows/AbstractRequest.html" title="class in org.geotools.data.ows">AbstractRequest</A></CODE></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="createResponse(java.lang.String, java.io.InputStream)"><!-- --></A><H3>createResponse</H3><PRE>public <A HREF="../../../../org/geotools/data/ows/Response.html" title="class in org.geotools.data.ows">Response</A> <B>createResponse</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> contentType, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> inputStream) throws <A HREF="../../../../org/geotools/ows/ServiceException.html" title="class in org.geotools.ows">ServiceException</A>, <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><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>Each Request must know how to create it's counterpart Response. Given the content type and input stream (containin the response data), this method must return an appropriate Response object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>contentType</CODE> - the MIME type of the data in the inputStream<DD><CODE>inputStream</CODE> - contains the data from the response<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/ows/ServiceException.html" title="class in org.geotools.ows">ServiceException</A></CODE><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><!-- ========= 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/WMS1_0_0.GetMapRequest.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/wms/WMS1_0_0.GetFeatureInfoRequest.html" title="class in org.geotools.data.wms"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/data/wms/WMS1_1_0.html" title="class in org.geotools.data.wms"><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="WMS1_0_0.GetMapRequest.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="#fields_inherited_from_class_AbstractRequest">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: FIELD | <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 + -