Class ResponseTeeingHTTPClient.TeeHTTPResponseWrapper

java.lang.Object
org.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 Details

    • TeeHTTPResponseWrapper

      public TeeHTTPResponseWrapper(org.geotools.http.HTTPResponse wrapped)
  • Method Details

    • getCopy

      public byte[] getCopy()
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.geotools.http.HTTPResponse
    • isDisposed

      public boolean isDisposed()
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface org.geotools.http.HTTPResponse
    • getResponseHeader

      public String getResponseHeader(String header)
      Specified by:
      getResponseHeader in interface org.geotools.http.HTTPResponse
    • getResponseStream

      public InputStream getResponseStream() throws IOException
      Specified by:
      getResponseStream in interface org.geotools.http.HTTPResponse
      Throws:
      IOException
    • getResponseCharset

      public String getResponseCharset()
      Specified by:
      getResponseCharset in interface org.geotools.http.HTTPResponse