Class ListStoredQueriesResponseFactory
- Object
-
- ListStoredQueriesResponseFactory
-
- All Implemented Interfaces:
WFSResponseFactory
public class ListStoredQueriesResponseFactory extends Object implements WFSResponseFactory
-
-
Constructor Summary
Constructors Constructor Description ListStoredQueriesResponseFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanProcess(WFSOperationType operation)booleancanProcess(WFSRequest originatingRequest, String contentType)Indicates whether this factory is able to produce a parser that deals with the possible responses of the given WFS request.WFSResponsecreateResponse(WFSRequest request, HTTPResponse response)Creates a response for the given WFS request.List<String>getSupportedOutputFormats()booleanisAvailable()Indicates whether the factory instance is able to create parser instances.
-
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
Description copied from interface:WFSResponseFactoryIndicates whether the factory instance is able to create parser instances.- Specified by:
isAvailablein interfaceWFSResponseFactory- Returns:
trueif there's nothing preventing the creation of the parsers this factory should produce
-
canProcess
public boolean canProcess(WFSRequest originatingRequest, String contentType)
Description copied from interface:WFSResponseFactoryIndicates whether this factory is able to produce a parser that deals with the possible responses of the given WFS request.The decision may usually be made depending on the request type, ouput format, etc
- Specified by:
canProcessin interfaceWFSResponseFactory- Returns:
trueif this factory can create a parser for the responses of the given request
-
canProcess
public boolean canProcess(WFSOperationType operation)
- Specified by:
canProcessin interfaceWFSResponseFactory
-
getSupportedOutputFormats
public List<String> getSupportedOutputFormats()
- Specified by:
getSupportedOutputFormatsin interfaceWFSResponseFactory
-
createResponse
public WFSResponse createResponse(WFSRequest request, HTTPResponse response) throws IOException
Description copied from interface:WFSResponseFactoryCreates a response for the given WFS request.- Specified by:
createResponsein interfaceWFSResponseFactoryresponse- the handle to the response contents the WFS sent- Returns:
- a
WFSResponsethat can deal with the given request and response - Throws:
IOException
-
-