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 @Nullable org.apache.http.StatusLine getStatusLine()
    • getAllHeaders

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

      public @NonNull InputStream getResponse() throws IOException
      Throws:
      IOException
    • getResponseMessage

      public @Nullable Message getResponseMessage()
    • getHeader

      public @Nullable 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

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

      public boolean isMultipart()