|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractRequest
AbstractGetCapabilitiesRequest
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 AbstractGetCapabilitiesRequest |
---|
SERVICE |
Fields inherited from class AbstractRequest |
---|
EXCEPTION_XML, onlineResource, properties |
Fields inherited from interface GetCapabilitiesRequest |
---|
GET_CAPABILITIES, SECTION_ALL, SECTION_COMMON, SECTION_CONTENT, SECTION_OPERATIONS, SECTION_SERVICE |
Fields inherited from interface Request |
---|
REQUEST, VERSION, WMTVER |
Constructor Summary | |
---|---|
WMS1_0_0.GetCapsRequest(URL urlGetCapabilities)
Construct a Request compatable with a 1.0.0 Web Feature Server. |
Method Summary | |
---|---|
Response |
createResponse(HTTPResponse httpResponse)
Each Request must know how to create it's counterpart Response. |
protected void |
initRequest()
Sets the REQUEST parameter Subclass can override if needed. |
protected void |
initService()
Implementing subclass requests must specify their own "SERVICE" value. |
protected void |
initVersion()
Sets up the version number for this request. |
protected String |
processKey(String key)
Some Open Web Servers do not abide by the fact that parameter keys should be case insensitive. |
Methods inherited from class AbstractRequest |
---|
getFinalURL, getPostContentType, getProperties, performPostOutput, requiresPost, setProperty |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Request |
---|
getFinalURL, getPostContentType, getProperties, performPostOutput, requiresPost, setProperty |
Constructor Detail |
---|
public WMS1_0_0.GetCapsRequest(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 String processKey(String key)
AbstractRequest
processKey
in class AbstractRequest
key
- the key to be processed
public Response createResponse(HTTPResponse httpResponse) throws ServiceException, IOException
Request
ServiceException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |