| Package | Description |
|---|---|
| javax.servlet.sip |
| 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 |
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 |
ProxyBranch.getResponse()
Returns the last response received on this branch.
|
SipServletResponse |
SipErrorEvent.getResponse()
Returns the response object associated with this SipErrorEvent.
|
| 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.
|
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.
|
| Constructor and Description |
|---|
SipErrorEvent(SipServletRequest request,
SipServletResponse response)
Constructs a new SipErrorEvent.
|
Copyright © 2014. All Rights Reserved.