Class HttpRequestSender
java.lang.Object
org.kopi.ebics.client.HttpRequestSender
A simple HTTP request sender and receiver. The send returns a HTTP code that
should be analyzed before proceeding ebics request response parse.
-
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestSender(EbicsSession session) Constructs a newHttpRequestSenderwith a given ebics session. -
Method Summary
Modifier and TypeMethodDescriptionReturns the content factory of the response bodyfinal intsend(ContentFactory request) Sends the request contained in theContentFactory.
-
Constructor Details
-
HttpRequestSender
Constructs a newHttpRequestSenderwith a given ebics session.- Parameters:
session- the ebics session
-
-
Method Details
-
send
Sends the request contained in theContentFactory. TheContentFactorywill deliver the request as anInputStream.- Parameters:
request- the ebics request- Returns:
- the HTTP return code
- Throws:
IOException
-
getResponseBody
Returns the content factory of the response body- Returns:
- the content factory of the response.
-