|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.ows.AbstractRequest
org.geotools.data.ows.AbstractGetCapabilitiesRequest
org.geotools.data.wms.WMS1_0_0.GetCapsRequest
public static class WMS1_0_0.GetCapsRequest
We need a custom request object.
WMS 1.0.0 does requests a bit differently:
Field Summary |
---|
Fields inherited from class org.geotools.data.ows.AbstractGetCapabilitiesRequest |
---|
SERVICE |
Fields inherited from class org.geotools.data.ows.AbstractRequest |
---|
EXCEPTION_XML, onlineResource, properties |
Fields inherited from interface org.geotools.data.ows.GetCapabilitiesRequest |
---|
GET_CAPABILITIES, SECTION_ALL, SECTION_COMMON, SECTION_CONTENT, SECTION_OPERATIONS, SECTION_SERVICE |
Fields inherited from interface org.geotools.data.ows.Request |
---|
REQUEST, VERSION, WMTVER |
Constructor Summary | |
---|---|
WMS1_0_0.GetCapsRequest(java.net.URL urlGetCapabilities)
Construct a Request compatable with a 1.0.0 Web Feature Server. |
Method Summary | |
---|---|
Response |
createResponse(java.lang.String contentType,
java.io.InputStream inputStream)
Each Request must know how to create it's counterpart Response. |
protected void |
initRequest()
Sets the REQUEST parameter |
protected void |
initService()
Implementing subclass requests must specify their own "SERVICE" value. |
protected void |
initVersion()
Sets up the version number for this request. |
protected java.lang.String |
processKey(java.lang.String key)
Some Open Web Servers do not abide by the fact that parameter keys should be case insensitive. |
Methods inherited from class org.geotools.data.ows.AbstractRequest |
---|
getFinalURL, getPostContentType, getProperties, performPostOutput, requiresPost, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.data.ows.Request |
---|
getFinalURL, getPostContentType, getProperties, performPostOutput, requiresPost, setProperty |
Constructor Detail |
---|
public WMS1_0_0.GetCapsRequest(java.net.URL urlGetCapabilities)
urlGetCapabilities
- URL of GetCapabilities document.Method Detail |
---|
protected void initVersion()
AbstractRequest
initVersion
in class AbstractRequest
protected void initRequest()
AbstractGetCapabilitiesRequest
Subclass can override if needed.
initRequest
in class AbstractGetCapabilitiesRequest
protected void initService()
AbstractRequest
initService
in class AbstractRequest
protected java.lang.String processKey(java.lang.String key)
AbstractRequest
processKey
in class AbstractRequest
key
- the key to be processed
public Response createResponse(java.lang.String contentType, java.io.InputStream inputStream) throws ServiceException, java.io.IOException
Request
contentType
- the MIME type of the data in the inputStreaminputStream
- contains the data from the response
ServiceException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |