AS2Response

public class AS2Response

The AS2Response class represents a SOAP response. It is independent of which transport protocol it is using and contains the SOAP message of the target response.

Author:Hugo Y. K. Lam

Constructors

AS2Response

AS2Response()

Creates a new instance of AS2Response.

AS2Response

AS2Response(Object target)

Creates a new instance of AS2Response.

Parameters:
  • target – the target that this response should be committed to.

Methods

getMessage

public AS2Message getMessage()

Gets the SOAP message of this response.

Returns:the SOAP message of this response.

getTarget

public Object getTarget()

Gets the target that this response should be committed to.

Returns:the target that this response should be committed to.

setMessage

public void setMessage(AS2Message message)

Sets the SOAP message of this response.

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

setTarget

void setTarget(Object target)

Sets the target that this response should be committed to.

Parameters:
  • target – the target that this response should be committed to.