Package org.geotools.data.wfs.internal
Class WFSResponse
- Direct Known Subclasses:
ComplexGetFeatureResponse,DescribeFeatureTypeResponse,DescribeStoredQueriesResponse,GetFeatureResponse,ListStoredQueriesResponse,TransactionResponseImpl,TransactionResponseImpl
A handle to a WFS response that contains the input stream to the actual contents and some well known response
information derived from the HTTP response headers.
- Since:
- 2.6
- Author:
- Gabriel Roldan (OpenGeo)
-
Field Summary
Fields inherited from class Response
httpResponse -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the character encoding if set by the server as an http header, if unknown assumesUTF-8Returns the WFS response declared content typevoidsetQueryType(SimpleFeatureType queryType) voidsetRemoteTypeName(QName remoteName) toString()Methods inherited from class Response
dispose, getInputStream, parseException
-
Constructor Details
-
WFSResponse
public WFSResponse(WFSRequest originatingRequest, HTTPResponse httpResponse) throws ServiceException, IOException - Throws:
ServiceExceptionIOException
-
-
Method Details
-
getCharacterEncoding
Returns the character encoding if set by the server as an http header, if unknown assumesUTF-8- Returns:
- the character set for the response if set, or
null
-
getContentType
Returns the WFS response declared content type- Overrides:
getContentTypein classResponse- Returns:
- the content type of the response
-
getOriginatingRequest
-
toString
-
getQueryType
-
setQueryType
-
getRemoteTypeName
-
setRemoteTypeName
-