Package com.helger.as2lib.util.http
Interface IAS2HttpRequestDataProvider
- All Known Implementing Classes:
AS2HttpRequestDataProviderInputStream
public interface IAS2HttpRequestDataProvider
Provider interface to retrieve an AS2
InputStream
.- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptioncom.helger.commons.http.HttpHeaderMap
Get the input stream to read from.boolean
-
Method Details
-
getHttpInputStream
Get the input stream to read from. May not benull
.- Returns:
- Never
null
- Throws:
IOException
- In case of error
-
isChunkedEncodingAlreadyProcessed
boolean isChunkedEncodingAlreadyProcessed()- Returns:
true
if chunked encoding was already processed by an outside component (e.g. via Servlet), orfalse
if it needs to be processed internally.- Since:
- 5.0.3
-
getHttpRequestMethod
- Returns:
- The HTTP request method used. Usually this should be
POST
.
-
getHttpRequestUrl
- Returns:
- The HTTP request URL used. Something like
/as2
.
-
getHttpRequestVersion
- Returns:
- The HTTP request version used. Something like
HTTP/1.1
.
-
getHttpHeaderMap
- Returns:
- The provided HTTP header map. Mutable map is returned. Never
null
.
-