AS2Request

public class AS2Request

The AS2Request class represents a SOAP request. It is independent of which transport protocol it is using and contains the SOAP message of the original request.

Author:Hugo Y. K. Lam

Constructors

AS2Request

AS2Request()

Creates a new instance of AS2Request.

AS2Request

AS2Request(Object source)

Creates a new instance of AS2Request.

Parameters:
  • source – the source which initiated this request.

Methods

getMessage

public AS2Message getMessage()

Gets the SOAP message of this request.

Returns:the SOAP message of this request.

getSource

public Object getSource()

Gets the source which initiated this request.

Returns:the source which initiated this request.

setMessage

void setMessage(AS2Message message)

Sets the SOAP message of this request.

Parameters:
  • message – the SOAP message of this request.

setSource

void setSource(Object source)

Sets the source which initiated this request.

Parameters:
  • source – the source which initiated this request.