|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Request | |
|---|---|
| javax.sip | This package contains the main interfaces that model the architecture from both an application developer and a stack vendor view. |
| javax.sip.address | This package contains interfaces that represent the Addressing components of the SIP protocol. |
| javax.sip.message | This package contains the interfaces representing SIP messages. |
| Uses of Request in javax.sip |
|---|
| Methods in javax.sip that return Request | |
|---|---|
Request |
ClientTransaction.createAck()
Deprecated. Since v1.2. As a transaction that received a 2xx response terminates immediately, it cannot be used for creating the corresponding ACK. If this transaction created a dialog, the Dialog.createAck(long) method
should be used. Otherwise the stack will automatically create and
send the ACK for non-2xx responses that need to be acknowledged.
That is the application should never need to use this method. |
Request |
Dialog.createAck(long cseq)
Creates an ACK request for an Invite that was responded with 2xx response. |
Request |
ClientTransaction.createCancel()
Creates a new Cancel message from the Request associated with this client transaction. |
Request |
Dialog.createPrack(Response relResponse)
Creates a new PRACK Request message based on a reliable provisional response received by this Dialog and the Dialog internal information. |
Request |
Dialog.createRequest(String method)
Creates a new Request message based on the dialog creating request. |
Request |
RequestEvent.getRequest()
Gets the Request message associated with this RequestEvent. |
Request |
Transaction.getRequest()
Returns the request that created this transaction. |
| Methods in javax.sip with parameters of type Request | |
|---|---|
ClientTransaction |
SipProvider.getNewClientTransaction(Request request)
Before an application can send a new request it must first request a new client transaction to handle that Request. |
ServerTransaction |
SipProvider.getNewServerTransaction(Request request)
An application has the responsibility of deciding to respond to a Request that does not match an existing server transaction. |
void |
Dialog.sendAck(Request ackRequest)
Sends ACK Request to the remote party of this dialog. |
void |
SipProvider.sendRequest(Request request)
Sends the Request statelessly, that is no transaction record is associated with this action. |
| Constructors in javax.sip with parameters of type Request | |
|---|---|
RequestEvent(Object source,
ServerTransaction serverTransaction,
Dialog dialog,
Request request)
Constructs a RequestEvent encapsulating the Request that has been received by the underlying SipProvider. |
|
| Uses of Request in javax.sip.address |
|---|
| Methods in javax.sip.address with parameters of type Request | |
|---|---|
Hop |
Router.getNextHop(Request request)
Gets the next Hop from this Router for the specified request, this method may return null if a default route is not defined. |
ListIterator |
Router.getNextHops(Request request)
Deprecated. Since v1.2. This method is replaced with Router.getNextHop(Request) method which returns the next
Hop for this request. |
| Uses of Request in javax.sip.message |
|---|
| Methods in javax.sip.message that return Request | |
|---|---|
Request |
MessageFactory.createRequest(String request)
Create a new SIP Request object based on a specific string value. |
Request |
MessageFactory.createRequest(URI requestURI,
String method,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards)
Creates a new Request message of type specified by the method paramater, containing the URI of the Request, the mandatory headers of the message. |
Request |
MessageFactory.createRequest(URI requestURI,
String method,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
byte[] content)
Creates a new Request message of type specified by the method paramater, containing the URI of the Request, the mandatory headers of the message with a body in the form of a byte array and body content type. |
Request |
MessageFactory.createRequest(URI requestURI,
String method,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
ContentTypeHeader contentType,
Object content)
Creates a new Request message of type specified by the method paramater, containing the URI of the Request, the mandatory headers of the message with a body in the form of a Java object and the body content type. |
| Methods in javax.sip.message with parameters of type Request | |
|---|---|
Response |
MessageFactory.createResponse(int statusCode,
Request request)
Creates a new Response message of type specified by the statusCode paramater, based on a specific Request message. |
Response |
MessageFactory.createResponse(int statusCode,
Request request,
ContentTypeHeader contentType,
byte[] content)
Creates a new Response message of type specified by the statusCode paramater, based on a specific Request with a new body in the form of a byte array and the body content type. |
Response |
MessageFactory.createResponse(int statusCode,
Request request,
ContentTypeHeader contentType,
Object content)
Creates a new Response message of type specified by the statusCode paramater, based on a specific Request with a new body in the form of a Java object and the body content type. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||