Package | Description |
---|---|
javax.servlet.sip |
The javax.servlet.sip package is the API for the SIP Servlets developed under JSR 359, this v2.0 version updates v1.1 developed under JSR 289.
|
javax.servlet.sip.ar |
The
javax.servlet.sip.ar package contains Application Router interfaces |
Modifier and Type | Method and Description |
---|---|
SipServletRequest |
SipServletResponse.createAck()
Returns an ACK request object corresponding to this response.
|
SipServletRequest |
SipServletRequest.createCancel()
Returns a CANCEL request object.
|
SipServletRequest |
B2buaHelper.createCancel(SipSession session)
Creates a new CANCEL request to cancel the initial request sent on the other
leg.
|
SipServletRequest |
SipServletResponse.createPrack()
Creates a PRACK request object corresponding to this response.
|
SipServletRequest |
SipFactory.createRequest(SipApplicationSession appSession,
String method,
Address from,
Address to)
Returns a new request object with the specified request method, From,
and To headers.
|
SipServletRequest |
SipFactory.createRequest(SipApplicationSession appSession,
String method,
String from,
String to)
Returns a new request object with the specified request method, From,
and To headers.
|
SipServletRequest |
SipFactory.createRequest(SipApplicationSession appSession,
String method,
URI from,
URI to)
Returns a new request object with the specified request method, From,
and To headers.
|
SipServletRequest |
B2buaHelper.createRequest(SipServletRequest origRequest)
Creates a new request object belonging to a new SipSession.
|
SipServletRequest |
SipFactory.createRequest(SipServletRequest origRequest,
boolean sameCallId)
Deprecated.
usage of this method is deprecated. Setting the sameCallId
flag to "true" actually breaks the provisions of [RFC 3261] where the
Call-ID value is to be unique accross dialogs.
Instead use a more general method defined on the B2buaHelper
B2buaHelper.createRequest(SipServletRequest) |
SipServletRequest |
B2buaHelper.createRequest(SipServletRequest origRequest,
boolean linked,
Map<String,List<String>> headerMap)
Creates a new request object belonging to a new SipSession.
|
SipServletRequest |
B2buaHelper.createRequest(SipSession session,
SipServletRequest origRequest,
Map<String,List<String>> headerMap)
Creates a new subsequent request based on the specified original
request.
|
SipServletRequest |
SipSession.createRequest(String method)
Returns a new request object.
|
SipServletRequest |
ForkingContext.createRequest(String method)
Creates a new request with a new derived session on this
ForkingContext . |
SipServletRequest |
SipSession.getActiveInvite(UAMode mode)
This method returns the active invite request, if any on the session.
|
SipServletRequest |
SipSession.getActiveRequest(String requestId)
This method allows the application to access an active request using its requestId.
|
SipServletRequest |
B2buaHelper.getLinkedSipServletRequest(SipServletRequest req)
If a new request is created based on an existing one with the
link argument true using
B2buaHelper.createRequest(SipServletRequest, boolean, java.util.Map)
or using B2buaHelper.createRequest(SipSession, SipServletRequest, java.util.Map)
the new request gets implicitly linked with the original request. |
SipServletRequest |
Proxy.getOriginalRequest()
Returns the request received from the upstream caller.
|
SipServletRequest |
SipServletResponse.getRequest()
Returns the request associated with this response.
|
SipServletRequest |
ProxyBranch.getRequest()
Returns the request associated with this branch.
|
SipServletRequest |
SipErrorEvent.getRequest()
Returns the request object associated with this
SipErrorEvent . |
SipServletRequest |
InviteBranch.getRequest()
Return the
SipServletRequest of the InviteBranch |
Modifier and Type | Method and Description |
---|---|
Collection<SipServletRequest> |
SipSession.getActiveRequests(UAMode mode)
This method returns an immutable collection of currently active requests.
|
Modifier and Type | Method and Description |
---|---|
SipServletRequest |
B2buaHelper.createRequest(SipServletRequest origRequest)
Creates a new request object belonging to a new SipSession.
|
SipServletRequest |
SipFactory.createRequest(SipServletRequest origRequest,
boolean sameCallId)
Deprecated.
usage of this method is deprecated. Setting the sameCallId
flag to "true" actually breaks the provisions of [RFC 3261] where the
Call-ID value is to be unique accross dialogs.
Instead use a more general method defined on the B2buaHelper
B2buaHelper.createRequest(SipServletRequest) |
SipServletRequest |
B2buaHelper.createRequest(SipServletRequest origRequest,
boolean linked,
Map<String,List<String>> headerMap)
Creates a new request object belonging to a new SipSession.
|
SipServletRequest |
B2buaHelper.createRequest(SipSession session,
SipServletRequest origRequest,
Map<String,List<String>> headerMap)
Creates a new subsequent request based on the specified original
request.
|
protected void |
SipServlet.doAck(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
ACK requests.
|
protected void |
SipServlet.doBye(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
BYE requests.
|
protected void |
SipServlet.doCancel(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
CANCEL requests.
|
protected void |
SipServlet.doInfo(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
INFO requests.
|
protected void |
SipServlet.doInvite(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
INVITE requests.
|
protected void |
SipServlet.doMessage(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
MESSAGE requests.
|
protected void |
SipServlet.doNotify(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
NOTIFY requests.
|
protected void |
SipServlet.doOptions(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
OPTIONS requests.
|
protected void |
SipServlet.doPrack(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
PRACK requests.
|
protected void |
SipServlet.doPublish(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
PUBLISH requests.
|
protected void |
SipServlet.doRefer(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
REFER requests.
|
protected void |
SipServlet.doRegister(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
REGISTER requests.
|
protected void |
SipServlet.doRequest(SipServletRequest req)
Invoked to handle incoming requests.
|
protected void |
SipServlet.doSubscribe(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
SUBSCRIBE requests.
|
protected void |
SipServlet.doUpdate(SipServletRequest req)
Invoked by the server (via the service method) to handle incoming
UPDATE requests.
|
SipServletRequest |
B2buaHelper.getLinkedSipServletRequest(SipServletRequest req)
If a new request is created based on an existing one with the
link argument true using
B2buaHelper.createRequest(SipServletRequest, boolean, java.util.Map)
or using B2buaHelper.createRequest(SipSession, SipServletRequest, java.util.Map)
the new request gets implicitly linked with the original request. |
void |
AutomaticProcessingListener.incomingRequest(SipServletRequest request)
This method is invoked when the container receives a
SIP request.
|
void |
AutomaticProcessingListener.outgoingRequest(SipServletRequest request)
This method is invoked before the container sends a
SIP request.
|
void |
SipServletRequest.setRoutingDirective(SipApplicationRoutingDirective directive,
SipServletRequest origRequest)
Sets the application routing directive for an outgoing request.
|
Constructor and Description |
---|
SipErrorEvent(SipServletRequest request,
SipServletResponse response)
Constructs a new
SipErrorEvent . |
Modifier and Type | Method and Description |
---|---|
SipApplicationRouterInfo |
SipApplicationRouter.getNextApplication(SipServletRequest initialRequest,
SipApplicationRoutingRegion region,
SipApplicationRoutingDirective directive,
SipTargetedRequestInfo targetedRequestInfo,
Serializable stateInfo)
This method is called by the container when a servlet sends or proxies
an initial SipServletRequest.
|
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.