Package com.helger.as2lib.util.http
Interface IAS2HttpRequestDataProvider
-
- All Known Implementing Classes:
AS2HttpRequestDataProviderInputStream
public interface IAS2HttpRequestDataProvider
Provider interface to retrieve an AS2InputStream
.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.helger.commons.http.HttpHeaderMap
getHttpHeaderMap()
InputStream
getHttpInputStream()
Get the input stream to read from.String
getHttpRequestMethod()
String
getHttpRequestUrl()
String
getHttpRequestVersion()
-
-
-
Method Detail
-
getHttpInputStream
@Nonnull InputStream getHttpInputStream() throws IOException
Get the input stream to read from. May not benull
.- Returns:
- Never
null
- Throws:
IOException
- In case of error
-
getHttpRequestMethod
@Nullable String getHttpRequestMethod()
- Returns:
- The HTTP request method used. Usually this should be
POST
.
-
getHttpRequestUrl
@Nullable String getHttpRequestUrl()
- Returns:
- The HTTP request URL used. Something like
/as2
.
-
getHttpRequestVersion
@Nonnull String getHttpRequestVersion()
- Returns:
- The HTTP request version used. Something like
HTTP/1.1
.
-
getHttpHeaderMap
@Nonnull com.helger.commons.http.HttpHeaderMap getHttpHeaderMap()
- Returns:
- The provided HTTP header map. Mutable map is returned. Never
null
.
-
-