ReadRequest Method
Reads the AS2 request from the HTTP session.
Syntax
public void readRequest(javax.servlet.http.HttpServletRequest request);
Remarks
ReadRequest reads the AS2 request from the specified HttpServletRequest. The class will fetch the request stream from the HTTP session. The headers will be read into RequestHeaders. Finally, the class 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.