Class MfClientHttpRequestFactoryImpl.Response

java.lang.Object
org.mapfish.print.http.MfClientHttpRequestFactoryImpl.Response
All Implemented Interfaces:
Closeable, AutoCloseable, org.springframework.http.client.ClientHttpResponse, org.springframework.http.HttpInputMessage, org.springframework.http.HttpMessage
Enclosing class:
MfClientHttpRequestFactoryImpl

public static class MfClientHttpRequestFactoryImpl.Response extends Object implements org.springframework.http.client.ClientHttpResponse
  • Method Details

    • getStatusCode

      public org.springframework.http.HttpStatusCode getStatusCode() throws IOException
      Specified by:
      getStatusCode in interface org.springframework.http.client.ClientHttpResponse
      Throws:
      IOException
    • getStatusText

      @Nonnull public String getStatusText()
      Specified by:
      getStatusText in interface org.springframework.http.client.ClientHttpResponse
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.springframework.http.client.ClientHttpResponse
      Specified by:
      close in interface Closeable
    • getBody

      @Nonnull public InputStream getBody() throws IOException
      Specified by:
      getBody in interface org.springframework.http.HttpInputMessage
      Throws:
      IOException
    • getHeaders

      @Nonnull public org.springframework.http.HttpHeaders getHeaders()
      Specified by:
      getHeaders in interface org.springframework.http.HttpMessage