|
Oracle Communications Service Broker SAL API Reference Reference Release 6.0 E26227-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SalRequest
Represents SAL request messages. When receiving an incoming SAL request the container creates a SalRequest and passes it to the handling SalApplication. For outgoing, locally initiated requests, applications call SalFactory.createRequest(SalApplicationSession, String, String, String) to obtain a SalRequest that can then be modified and sent.
| Method Summary | |
|---|---|
SalRequest |
createCancel()Returns a CANCEL request object. |
SalResponse |
createResponse(int statusCode)Creates a response for this request with the specifies status code. |
SalResponse |
createResponse(int statusCode, java.lang.String reasonPhrase)Creates a response for this request with the specifies status code and reason phrase. |
B2buaHelper |
getB2buaHelper()Returns the B2buaHelper associated with this request. |
Address |
getPoppedRoute()If a top route header had been removed by the container upon receiving this request, then this method can be used to retrieve it. |
URI |
getRequestURI()Returns the request URI of this request. |
boolean |
isInitial()Returns true if this is an initial request. |
void |
pushRoute(Address route)Adds a Route header field value to this request with Address argument. |
void |
pushRoute(SipURI route)Adds a Route header field value to this request. |
void |
send()Causes this request to be sent. |
void |
setRequestURI(URI reqUri)Sets the request URI of this request. |
| Methods inherited from interface com.convergin.common.sal.ext.api.SalMessage |
|---|
addAddressHeader, addHeader, getAddressHeader, getAddressHeaders, getApplicationSession, getApplicationSession, getContent, getContentType, getFrom, getHeader, getHeaderNames, getHeaders, getMethod, getSession, getSession, getTo, removeHeader, setAddressHeader, setContent, setContentType, setHeader |
| Method Detail |
|---|
Address getPoppedRoute()
void pushRoute(Address route)
route -URI getRequestURI()
void setRequestURI(URI reqUri)
send().reqUri - new request URI of this SalRequestvoid pushRoute(SipURI route)
route - the address that is added as a Route header value
void send()
throws java.io.IOException
java.io.IOExceptionboolean isInitial()
SalResponse createResponse(int statusCode)
statusCode - status code for the response
SalResponse createResponse(int statusCode,
java.lang.String reasonPhrase)
statusCode - status code for the responsereasonPhrase - reason phrase to appear in response lineSalRequest createCancel()
send() on it.B2buaHelper getB2buaHelper()
|
Oracle Communications Service Broker SAL API Reference Reference Release 6.0 E26227-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||