Interface IAS2HttpRequestDataProvider

All Known Implementing Classes:
AS2HttpRequestDataProviderInputStream

public interface IAS2HttpRequestDataProvider
Provider interface to retrieve an AS2 InputStream.
Author:
Philip Helger
  • Method Details

    • getHttpInputStream

      @Nonnull InputStream getHttpInputStream() throws IOException
      Get the input stream to read from. May not be null.
      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), or false if it needs to be processed internally.
      Since:
      5.0.3
    • 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.