ReadRequest Method
Reads the AS2 request from the HTTP session.
Syntax
public fun readRequest(request: javax.servlet.http.HttpServletRequest?)
Remarks
ReadRequest reads the AS2 request from the specified HttpServletRequest. The component will fetch the request stream from the HTTP session. The headers will be read into RequestHeaders. Finally, the component will parse the headers and populate the following properties:
- AS2From
- AS2To
- AS2VersionIncoming
- MessageId
- MDNTo
- ReceiptDeliveryOption
- RequestedSignatureProtocol
- RequestedMICAlgorithms
ParseRequest may be used to scan the entire message.