SFRMRequest

public class SFRMRequest

The SFRMRequest class represents a wrapper of HTTP request wrapping the SFRMMessage inside.

Author:Twinsen Tsang

Constructors

SFRMRequest

SFRMRequest()

Creates a new instance of SFRM Request.

SFRMRequest

SFRMRequest(Object source)

Creates a new instance of SFRM Request.

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

Methods

getMessage

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