Package org.frankframework.http
Class HttpResponseHandler
java.lang.Object
org.frankframework.http.HttpResponseHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Consumes theHttpEntityand will release the connection.org.apache.http.Header[]org.springframework.util.MimeTypeReturns anInputStreamthat will automatically close the HttpRequest when fully readorg.apache.http.StatusLineboolean
-
Constructor Details
-
HttpResponseHandler
- Throws:
IOException
-
-
Method Details
-
getStatusLine
public org.apache.http.StatusLine getStatusLine() -
getAllHeaders
public org.apache.http.Header[] getAllHeaders() -
getResponse
Returns anInputStreamthat will automatically close the HttpRequest when fully read- Returns:
- an
InputStreamretrieved fromHttpEntity.getContent()or NULL when noHttpEntityis present - Throws:
IOException
-
getResponseMessage
-
getHeader
-
close
Consumes theHttpEntityand will release the connection.- Throws:
IOException
-
getHeaderFields
-
getMimeType
@Nullable public org.springframework.util.MimeType getMimeType() -
isMultipart
public boolean isMultipart()
-