SFRMResponse

public class SFRMResponse

The SFRMResponse class represents a wrapper of HTTP response wrapping the SFRMMessage inside.

Author:Twinsen Tsang

Constructors

SFRMResponse

SFRMResponse()

Creates a new instance of AS2Response.

SFRMResponse

SFRMResponse(Object target)

Creates a new instance of AS2Response.

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

Methods

getMessage

public SFRMMessage 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(SFRMMessage 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.