Package | Description |
---|---|
android.gov.nist.javax.sip |
This is the root of the JAIN implementation of SIP.
|
android.gov.nist.javax.sip.clientauthutils |
This package contains a set of utilities for client side Authentication Challenge handling.
|
android.gov.nist.javax.sip.message |
Class definitions for SIP messages and message factory.
|
android.gov.nist.javax.sip.stack |
This package implements the main protocol abstractions that are defined by the SIP RFC 3261.
|
android.javax.sip |
This package contains the main interfaces that model the architecture
from both an application developer and a stack vendor view.
|
android.javax.sip.address |
This package contains interfaces
that represent the Addressing components of the SIP protocol.
|
android.javax.sip.message |
This package contains the interfaces representing SIP messages.
|
examples.android.simplecallsetup |
Modifier and Type | Method and Description |
---|---|
protected SIPClientTransaction |
SipProviderImpl.createClientTransaction(Request request,
Hop hop) |
ClientTransaction |
SipProviderImpl.getNewClientTransaction(Request request) |
ServerTransaction |
SipProviderImpl.getNewServerTransaction(Request request) |
void |
SipProviderImpl.sendRequest(Request request) |
Constructor and Description |
---|
RequestEventExt(Object source,
ServerTransaction serverTransaction,
Dialog dialog,
Request request) |
Modifier and Type | Method and Description |
---|---|
boolean |
DigestServerAuthenticationHelper.doAuthenticateHashedPassword(Request request,
String hashedPassword)
Authenticate the inbound request.
|
boolean |
DigestServerAuthenticationHelper.doAuthenticatePlainTextPassword(Request request,
String pass)
Authenticate the inbound request given plain text password.
|
void |
AuthenticationHelper.setAuthenticationHeaders(Request request)
Attach authentication headers to the given request.
|
void |
AuthenticationHelperImpl.setAuthenticationHeaders(Request request) |
Modifier and Type | Interface and Description |
---|---|
interface |
RequestExt
Extensions for the JAIN-SIP Request interface.
|
Modifier and Type | Method and Description |
---|---|
Request |
MessageFactoryImpl.createRequest(String requestString)
Create a request from a string.
|
Request |
MessageFactoryImpl.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 |
MessageFactoryImpl.createRequest(URI requestURI,
String method,
CallIdHeader callId,
CSeqHeader cSeq,
FromHeader from,
ToHeader to,
List via,
MaxForwardsHeader maxForwards,
byte[] content,
ContentTypeHeader contentType)
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 |
MessageFactoryImpl.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 |
MessageFactoryImpl.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.
|
Modifier and Type | Method and Description |
---|---|
Response |
MessageFactoryImpl.createResponse(int statusCode,
Request request)
Creates a new Response message of type specified by the statusCode
paramater, based on a specific Request message.
|
Response |
MessageFactoryImpl.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 |
MessageFactoryImpl.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.
|
Modifier and Type | Method and Description |
---|---|
Request |
SIPClientTransactionImpl.createAck() |
Request |
SIPClientTransaction.createAck() |
Request |
SIPDialog.createAck(long cseqno) |
Request |
SIPClientTransactionImpl.createCancel() |
Request |
SIPClientTransaction.createCancel() |
Request |
SIPDialog.createPrack(Response relResponse) |
Request |
SIPDialog.createRequest(String method) |
Request |
SIPTransaction.getRequest()
Get the original request but cast to a Request structure.
|
Request |
SIPTransactionImpl.getRequest() |
Modifier and Type | Method and Description |
---|---|
protected Hop |
DefaultRouter.createHop(SipURI sipUri,
Request request)
Utility method to create a hop from a SIP URI
|
Hop |
DefaultRouter.getNextHop(Request request)
Return addresses for default proxy to forward the request to.
|
ListIterator |
DefaultRouter.getNextHops(Request request) |
void |
SIPDialog.sendAck(Request request) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
RequestEvent(Object source,
ServerTransaction serverTransaction,
Dialog dialog,
Request request)
Constructs a RequestEvent encapsulating the Request that has been received
by the underlying SipProvider.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
Shootist.processBye(Request request,
ServerTransaction serverTransactionId) |
Copyright © 2016. All Rights Reserved.