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.annotation |
The javax.servlet.sip.annotation package contains SIP Servlet annotation definitions
|
Modifier and Type | Method and Description |
---|---|
SipServletResponse |
SipServletRequest.createResponse(int statuscode)
Creates a response for this request with the specifies status code.
|
SipServletResponse |
SipServletRequest.createResponse(int statusCode,
String reasonPhrase)
Creates a response for this request with the specifies status code
and reason phrase.
|
SipServletResponse |
InviteBranch.createResponse(int statusCode,
String reasonPhrase)
This method allows a provisional or final response to be created for the branch
at a UAS.
|
SipServletResponse |
B2buaHelper.createResponseToOriginalRequest(SipSession session,
int status,
String reasonPhrase)
The request that results in creation of a SipSession is termed as the
original request, a response to this original request can be created by
the application even if the request was committed and application does
not have a reference to this Request.
|
SipServletResponse |
SipServletRequest.getAcknowledgedResponse()
This method should only be called on an ACK or PRACK message at a UAS or UAC (not a proxy).
|
SipServletResponse |
SipServletRequest.getFinalResponse()
This method will retrieve the final response that corresponds to the request or null
if there is no such response.
|
SipServletResponse |
InviteBranch.getFinalResponse()
This method will retrieve the final response that corresponds to the branch
or null if there is no such response.
|
SipServletResponse |
ProxyBranch.getResponse()
Returns the last response received on this branch.
|
SipServletResponse |
SipErrorEvent.getResponse()
Returns the response object associated with this
SipErrorEvent . |
SipServletResponse |
SipSession.getUnacknowledgedProvisionalResponse(String provisionalResponseId)
This method returns a reliable provisional response using its id.
|
Modifier and Type | Method and Description |
---|---|
Collection<SipServletResponse> |
SipSession.getUnacknowledgedProvisionalResponses(UAMode mode)
This method returns an immutable collection of unacknowledged reliable provisional responses
for the session.
|
Modifier and Type | Method and Description |
---|---|
void |
SipServletRequest.addAuthHeader(SipServletResponse challengeResponse,
AuthInfo authInfo)
This method allows the addition of the appropriate authentication header(s)
to the request that was challenged with a challenge response.
|
void |
SipServletRequest.addAuthHeader(SipServletResponse challengeResponse,
String username,
String password)
This method allows the addition of the appropriate authentication header(s)
to the request that was challenged with a challenge response without needing the
creation and/or maintenance of the
AuthInfo object. |
protected void |
SipServlet.doBranchResponse(SipServletResponse resp)
Invoked by the server to handle intermediate final responses only if this
Servlet behaves as a proxy.
|
protected void |
SipServlet.doErrorResponse(SipServletResponse resp)
Invoked by the server (via the doResponse method) to handle incoming
4xx - 6xx class responses.
|
protected void |
SipServlet.doProvisionalResponse(SipServletResponse resp)
Invoked by the server (via the doResponse method) to handle incoming
1xx class responses except 100.
|
protected void |
SipServlet.doRedirectResponse(SipServletResponse resp)
Invoked by the server to notify the servlet of incoming 3xx class
responses.
|
protected void |
SipServlet.doResponse(SipServletResponse resp)
Invoked to handle incoming responses.
|
protected void |
SipServlet.doSuccessResponse(SipServletResponse resp)
Invoked by the server (via the doResponse method) to handle incoming
2xx class responses.
|
void |
AutomaticProcessingListener.incomingResponse(SipServletResponse response)
This method is invoked when the container receives a
SIP response.
|
void |
AutomaticProcessingListener.outgoingResponse(SipServletResponse response)
This method is invoked before the container sends a
SIP response.
|
Constructor and Description |
---|
SipErrorEvent(SipServletRequest request,
SipServletResponse response)
Constructs a new
SipErrorEvent . |
Modifier and Type | Method and Description |
---|---|
boolean |
BranchResponse.Predicate.apply(SipServletResponse response) |
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.