Class Http4ErrorHandlerParams

    • Constructor Summary

      Constructors 
      Constructor Description
      Http4ErrorHandlerParams​(org.apache.http.client.methods.CloseableHttpResponse response, java.net.URL url)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream getContent()
      Returns content of GET response
      int getStatusCode()
      Returns status code of GET request.
      java.net.URL getUrl()
      Returns original request URL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Http4ErrorHandlerParams

        public Http4ErrorHandlerParams​(@NotNull
                                       org.apache.http.client.methods.CloseableHttpResponse response,
                                       @NotNull
                                       java.net.URL url)
    • Method Detail

      • getContent

        @Nullable
        public java.io.InputStream getContent()
                                       throws java.io.IOException
        Returns content of GET response
        Specified by:
        getContent in interface GeneralHttpErrorHandlerParams
        Returns:
        content of GET response or null
        Throws:
        java.io.IOException - if I/O error occurs