public class WFSResponse extends Response
httpResponse
Constructor and Description |
---|
WFSResponse(WFSRequest originatingRequest,
HTTPResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
Charset |
getCharacterEncoding()
Returns the character encoding if set by the server as an http header, if unknown assumes
UTF-8 |
String |
getContentType()
Returns the WFS response declared content type
|
WFSRequest |
getOriginatingRequest() |
SimpleFeatureType |
getQueryType() |
QName |
getRemoteTypeName() |
void |
setQueryType(SimpleFeatureType queryType) |
void |
setRemoteTypeName(QName remoteName) |
String |
toString() |
dispose, getInputStream, parseException
public WFSResponse(WFSRequest originatingRequest, HTTPResponse httpResponse) throws ServiceException, IOException
IOException
ServiceException
public Charset getCharacterEncoding()
UTF-8
null
public String getContentType()
getContentType
in class Response
public WFSRequest getOriginatingRequest()
public SimpleFeatureType getQueryType()
public void setQueryType(SimpleFeatureType queryType)
public QName getRemoteTypeName()
public void setRemoteTypeName(QName remoteName)
Copyright © 1996–2019 Geotools. All rights reserved.