Package org.frankframework.http
Class HttpResponseHandler
java.lang.Object
org.frankframework.http.HttpResponseHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Consumes theHttpEntity
and will release the connection.org.apache.http.Header[]
org.springframework.util.MimeType
Returns anInputStream
that will automatically close the HttpRequest when fully readorg.apache.http.StatusLine
boolean
-
Constructor Details
-
HttpResponseHandler
- Throws:
IOException
-
-
Method Details
-
getStatusLine
public org.apache.http.StatusLine getStatusLine() -
getAllHeaders
public org.apache.http.Header[] getAllHeaders() -
getResponse
Returns anInputStream
that will automatically close the HttpRequest when fully read- Returns:
- an
InputStream
retrieved fromHttpEntity.getContent()
or NULL when noHttpEntity
is present - Throws:
IOException
-
getResponseMessage
-
getHeader
-
close
Consumes theHttpEntity
and will release the connection.- Throws:
IOException
-
getHeaderFields
-
getMimeType
@Nullable public org.springframework.util.MimeType getMimeType() -
isMultipart
public boolean isMultipart()
-