Class HttpResponseHandler

java.lang.Object
org.frankframework.http.HttpResponseHandler

public class HttpResponseHandler extends Object
  • Constructor Details

    • HttpResponseHandler

      public HttpResponseHandler(org.apache.http.HttpResponse resp) throws IOException
      Throws:
      IOException
  • Method Details

    • getStatusLine

      public org.apache.http.StatusLine getStatusLine()
    • getAllHeaders

      public org.apache.http.Header[] getAllHeaders()
    • getResponse

      public InputStream getResponse() throws IOException
      Returns an InputStream that will automatically close the HttpRequest when fully read
      Returns:
      an InputStream retrieved from HttpEntity.getContent() or NULL when no HttpEntity is present
      Throws:
      IOException
    • getResponseMessage

      public Message getResponseMessage()
    • getHeader

      public String getHeader(String header)
    • close

      public void close() throws IOException
      Consumes the HttpEntity and will release the connection.
      Throws:
      IOException
    • getHeaderFields

      public Map<String,List<String>> getHeaderFields()
    • getMimeType

      @Nullable public org.springframework.util.MimeType getMimeType()
    • isMultipart

      public boolean isMultipart()