public interface WFSResponseFactory
Modifier and Type | Method and Description |
---|---|
boolean |
canProcess(WFSOperationType operation) |
boolean |
canProcess(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.
|
WFSResponse |
createResponse(WFSRequest request,
HTTPResponse response)
Creates a response parser for the given WFS response.
|
List<String> |
getSupportedOutputFormats() |
boolean |
isAvailable()
Indicates whether the factory instance is able to create parser instances.
|
boolean isAvailable()
true
if there's nothing preventing the creation of the parsers this factory
should produceboolean canProcess(WFSRequest originatingRequest, String contentType)
The decision may usually be made depending on the request type, ouput format, etc
originatingRequest
- contentType
- true
if this factory can create a parser for the responses of the given
requestWFSResponse createResponse(WFSRequest request, HTTPResponse response) throws IOException
wfs
- the data store that issued the request that produced the given response
response
- the handle to the response contents the WFS sentWFSResponseParser
that can deal with the given WFS responseIOException
boolean canProcess(WFSOperationType operation)
Copyright © 1996–2019 Geotools. All rights reserved.