Package org.geotools.data.wfs.internal
Class GetCapabilitiesRequest
- Object
-
- AbstractRequest
-
- AbstractGetCapabilitiesRequest
-
- GetCapabilitiesRequest
-
- All Implemented Interfaces:
GetCapabilitiesRequest
,Request
public class GetCapabilitiesRequest extends AbstractGetCapabilitiesRequest
-
-
Field Summary
-
Fields inherited from class AbstractGetCapabilitiesRequest
SERVICE
-
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, properties
-
Fields inherited from interface GetCapabilitiesRequest
GET_CAPABILITIES, SECTION_ALL, SECTION_COMMON, SECTION_CONTENT, SECTION_OPERATIONS, SECTION_SERVICE
-
-
Constructor Summary
Constructors Constructor Description GetCapabilitiesRequest(URL serverURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
createResponse(HTTPResponse response)
Each Request must know how to create it's counterpart Response.protected void
initRequest()
Sets the REQUEST parameterprotected void
initService()
Implementing subclass requests must specify their own "SERVICE" value.protected void
initVersion()
Sets up the version number for this request.-
Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, processKey, requiresPost, setProperty, setRequestHints
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Request
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
-
-
-
-
Constructor Detail
-
GetCapabilitiesRequest
public GetCapabilitiesRequest(URL serverURL)
-
-
Method Detail
-
initService
protected void initService()
Description copied from class:AbstractRequest
Implementing subclass requests must specify their own "SERVICE" value. Example: setProperty("SERVICE", "WFS");- Specified by:
initService
in classAbstractRequest
-
initRequest
protected void initRequest()
Description copied from class:AbstractGetCapabilitiesRequest
Sets the REQUEST parameterSubclass can override if needed.
- Overrides:
initRequest
in classAbstractGetCapabilitiesRequest
-
initVersion
protected void initVersion()
Description copied from class:AbstractRequest
Sets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");- Specified by:
initVersion
in classAbstractRequest
-
createResponse
public Response createResponse(HTTPResponse response) throws ServiceException, IOException
Description copied from interface:Request
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.- Throws:
ServiceException
IOException
-
-