Package nl.b3p.tailormap.api.geotools
Class ResponseTeeingHTTPClient.TeeHTTPResponseWrapper
- java.lang.Object
-
- nl.b3p.tailormap.api.geotools.ResponseTeeingHTTPClient.TeeHTTPResponseWrapper
-
- All Implemented Interfaces:
org.geotools.http.HTTPResponse
- Enclosing class:
- ResponseTeeingHTTPClient
public class ResponseTeeingHTTPClient.TeeHTTPResponseWrapper extends Object implements org.geotools.http.HTTPResponse
-
-
Constructor Summary
Constructors Constructor Description TeeHTTPResponseWrapper(org.geotools.http.HTTPResponse wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()StringgetContentType()byte[]getCopy()StringgetResponseCharset()StringgetResponseHeader(String header)InputStreamgetResponseStream()booleanisDisposed()
-
-
-
Method Detail
-
getCopy
public byte[] getCopy()
-
dispose
public void dispose()
- Specified by:
disposein interfaceorg.geotools.http.HTTPResponse
-
isDisposed
public boolean isDisposed()
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceorg.geotools.http.HTTPResponse
-
getResponseHeader
public String getResponseHeader(String header)
- Specified by:
getResponseHeaderin interfaceorg.geotools.http.HTTPResponse
-
getResponseStream
public InputStream getResponseStream() throws IOException
- Specified by:
getResponseStreamin interfaceorg.geotools.http.HTTPResponse- Throws:
IOException
-
getResponseCharset
public String getResponseCharset()
- Specified by:
getResponseCharsetin interfaceorg.geotools.http.HTTPResponse
-
-