Class MfClientHttpRequestFactoryImpl.Request

  • All Implemented Interfaces:
    ConfigurableRequest, org.springframework.http.client.ClientHttpRequest, org.springframework.http.HttpMessage, org.springframework.http.HttpOutputMessage, org.springframework.http.HttpRequest
    Enclosing class:
    MfClientHttpRequestFactoryImpl

    public static final class MfClientHttpRequestFactoryImpl.Request
    extends org.springframework.http.client.AbstractClientHttpRequest
    implements ConfigurableRequest
    A request that can be configured at a low level.

    It is an http components based request.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.mapfish.print.http.MfClientHttpRequestFactoryImpl.Response executeInternal​(org.springframework.http.HttpHeaders headers)  
      protected java.io.OutputStream getBodyInternal​(org.springframework.http.HttpHeaders headers)  
      org.apache.http.client.HttpClient getClient()  
      org.apache.http.protocol.HttpContext getContext()  
      org.springframework.http.HttpMethod getMethod()  
      java.lang.String getMethodValue()  
      org.apache.http.client.methods.HttpRequestBase getUnderlyingRequest()
      Obtain the request object.
      java.net.URI getURI()  
      void setConfiguration​(Configuration configuration)
      Set the current configuration object.
      • Methods inherited from class org.springframework.http.client.AbstractClientHttpRequest

        assertNotExecuted, execute, getBody, getHeaders
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.http.client.ClientHttpRequest

        execute
      • Methods inherited from interface org.springframework.http.HttpMessage

        getHeaders
      • Methods inherited from interface org.springframework.http.HttpOutputMessage

        getBody
    • Method Detail

      • getClient

        public org.apache.http.client.HttpClient getClient()
      • getContext

        public org.apache.http.protocol.HttpContext getContext()
      • getMethod

        public org.springframework.http.HttpMethod getMethod()
        Specified by:
        getMethod in interface org.springframework.http.HttpRequest
      • getMethodValue

        public java.lang.String getMethodValue()
        Specified by:
        getMethodValue in interface org.springframework.http.HttpRequest
      • getURI

        public java.net.URI getURI()
        Specified by:
        getURI in interface org.springframework.http.HttpRequest
      • getBodyInternal

        protected java.io.OutputStream getBodyInternal​(@Nonnull
                                                       org.springframework.http.HttpHeaders headers)
        Specified by:
        getBodyInternal in class org.springframework.http.client.AbstractClientHttpRequest
      • executeInternal

        protected org.mapfish.print.http.MfClientHttpRequestFactoryImpl.Response executeInternal​(@Nonnull
                                                                                                 org.springframework.http.HttpHeaders headers)
                                                                                          throws java.io.IOException
        Specified by:
        executeInternal in class org.springframework.http.client.AbstractClientHttpRequest
        Throws:
        java.io.IOException