diff --git a/build/jsr289-apidocs/javadocs/META-INF/MANIFEST.MF b/build/jsr289-apidocs/javadocs/META-INF/MANIFEST.MF deleted file mode 100644 index d25812bb59..0000000000 --- a/build/jsr289-apidocs/javadocs/META-INF/MANIFEST.MF +++ /dev/null @@ -1,4 +0,0 @@ -Manifest-Version: 1.0 -Ant-Version: Apache Ant 1.6.5 -Created-By: 1.5.0_14-b03 (Sun Microsystems Inc.) - diff --git a/build/jsr289-apidocs/javadocs/allclasses-frame.html b/build/jsr289-apidocs/javadocs/allclasses-frame.html deleted file mode 100644 index 189b6912b3..0000000000 --- a/build/jsr289-apidocs/javadocs/allclasses-frame.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -All Classes (SIP Servlet API 1.1) - - - - - - - - - - -All Classes -
- - - - - -
Address -
-AuthInfo -
-B2buaHelper -
-ConvergedHttpSession -
-Parameterable -
-Proxy -
-ProxyBranch -
-Rel100Exception -
-ServletParseException -
-ServletTimer -
-SipApplication -
-SipApplicationKey -
-SipApplicationRouter -
-SipApplicationRouterInfo -
-SipApplicationRouterProvider -
-SipApplicationRoutingDirective -
-SipApplicationRoutingRegion -
-SipApplicationRoutingRegionType -
-SipApplicationSession -
-SipApplicationSession.Protocol -
-SipApplicationSessionActivationListener -
-SipApplicationSessionAttributeListener -
-SipApplicationSessionBindingEvent -
-SipApplicationSessionBindingListener -
-SipApplicationSessionEvent -
-SipApplicationSessionListener -
-SipErrorEvent -
-SipErrorListener -
-SipFactory -
-SipListener -
-SipRouteModifier -
-SipServlet -
-SipServlet -
-SipServletContextEvent -
-SipServletListener -
-SipServletMessage -
-SipServletMessage.HeaderForm -
-SipServletRequest -
-SipServletResponse -
-SipSession -
-SipSession.State -
-SipSessionActivationListener -
-SipSessionAttributeListener -
-SipSessionBindingEvent -
-SipSessionBindingListener -
-SipSessionEvent -
-SipSessionListener -
-SipSessionsUtil -
-SipTargetedRequestInfo -
-SipTargetedRequestType -
-SipURI -
-TelURL -
-TimerListener -
-TimerService -
-TooManyHopsException -
-UAMode -
-URI -
-
- - - diff --git a/build/jsr289-apidocs/javadocs/allclasses-noframe.html b/build/jsr289-apidocs/javadocs/allclasses-noframe.html deleted file mode 100644 index e52aa5e154..0000000000 --- a/build/jsr289-apidocs/javadocs/allclasses-noframe.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -All Classes (SIP Servlet API 1.1) - - - - - - - - - - -All Classes -
- - - - - -
Address -
-AuthInfo -
-B2buaHelper -
-ConvergedHttpSession -
-Parameterable -
-Proxy -
-ProxyBranch -
-Rel100Exception -
-ServletParseException -
-ServletTimer -
-SipApplication -
-SipApplicationKey -
-SipApplicationRouter -
-SipApplicationRouterInfo -
-SipApplicationRouterProvider -
-SipApplicationRoutingDirective -
-SipApplicationRoutingRegion -
-SipApplicationRoutingRegionType -
-SipApplicationSession -
-SipApplicationSession.Protocol -
-SipApplicationSessionActivationListener -
-SipApplicationSessionAttributeListener -
-SipApplicationSessionBindingEvent -
-SipApplicationSessionBindingListener -
-SipApplicationSessionEvent -
-SipApplicationSessionListener -
-SipErrorEvent -
-SipErrorListener -
-SipFactory -
-SipListener -
-SipRouteModifier -
-SipServlet -
-SipServlet -
-SipServletContextEvent -
-SipServletListener -
-SipServletMessage -
-SipServletMessage.HeaderForm -
-SipServletRequest -
-SipServletResponse -
-SipSession -
-SipSession.State -
-SipSessionActivationListener -
-SipSessionAttributeListener -
-SipSessionBindingEvent -
-SipSessionBindingListener -
-SipSessionEvent -
-SipSessionListener -
-SipSessionsUtil -
-SipTargetedRequestInfo -
-SipTargetedRequestType -
-SipURI -
-TelURL -
-TimerListener -
-TimerService -
-TooManyHopsException -
-UAMode -
-URI -
-
- - - diff --git a/build/jsr289-apidocs/javadocs/constant-values.html b/build/jsr289-apidocs/javadocs/constant-values.html deleted file mode 100644 index 9fc0f31222..0000000000 --- a/build/jsr289-apidocs/javadocs/constant-values.html +++ /dev/null @@ -1,624 +0,0 @@ - - - - - - -Constant Field Values (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Constant Field Values

-
-
-Contents - - - - - - -
-javax.servlet.*
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
javax.servlet.sip.Rel100Exception
-public static final intNO_REQ_SUPPORT2
-public static final intNOT_100rel4
-public static final intNOT_1XX0
-public static final intNOT_INVITE1
-public static final intNOT_SUPPORTED3
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
javax.servlet.sip.SipServlet
-public static final java.lang.StringOUTBOUND_INTERFACES"javax.servlet.sip.outboundInterfaces"
-public static final java.lang.StringPRACK_SUPPORTED"javax.servlet.sip.100rel"
-public static final java.lang.StringSIP_FACTORY"javax.servlet.sip.SipFactory"
-public static final java.lang.StringSIP_SESSIONS_UTIL"javax.servlet.sip.SipSessionsUtil"
-public static final java.lang.StringSUPPORTED"javax.servlet.sip.supported"
-public static final java.lang.StringSUPPORTED_RFCs"javax.servlet.sip.supportedRfcs"
-public static final java.lang.StringTIMER_SERVICE"javax.servlet.sip.TimerService"
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
javax.servlet.sip.SipServletResponse
-public static final intSC_ACCEPTED202
-public static final intSC_ADDRESS_INCOMPLETE484
-public static final intSC_ALTERNATIVE_SERVICE380
-public static final intSC_AMBIGUOUS485
-public static final intSC_BAD_EVENT489
-public static final intSC_BAD_EXTENSION420
-public static final intSC_BAD_GATEWAY502
-public static final intSC_BAD_IDENTITY_INFO436
-public static final intSC_BAD_REQUEST400
-public static final intSC_BUSY_EVERYWHERE600
-public static final intSC_BUSY_HERE486
-public static final intSC_CALL_BEING_FORWARDED181
-public static final intSC_CALL_LEG_DONE481
-public static final intSC_CALL_QUEUED182
-public static final intSC_CONDITIONAL_REQUEST_FAILED412
-public static final intSC_DECLINE603
-public static final intSC_DOES_NOT_EXIT_ANYWHERE604
-public static final intSC_EXTENSION_REQUIRED421
-public static final intSC_FORBIDDEN403
-public static final intSC_GONE410
-public static final intSC_INTERVAL_TOO_BRIEF423
-public static final intSC_INVALID_IDENTITY_HEADER438
-public static final intSC_LOOP_DETECTED482
-public static final intSC_MESSAGE_TOO_LARGE513
-public static final intSC_METHOD_NOT_ALLOWED405
-public static final intSC_MOVED_PERMANENTLY301
-public static final intSC_MOVED_TEMPORARILY302
-public static final intSC_MULTIPLE_CHOICES300
-public static final intSC_NOT_ACCEPTABLE406
-public static final intSC_NOT_ACCEPTABLE_ANYWHERE606
-public static final intSC_NOT_ACCEPTABLE_HERE488
-public static final intSC_NOT_FOUND404
-public static final intSC_NOT_IMPLEMENTED501
-public static final intSC_OK200
-public static final intSC_PAYMENT_REQUIRED402
-public static final intSC_PRECONDITION_FAILURE580
-public static final intSC_PROVIDE_REFERER_IDENTITY429
-public static final intSC_PROXY_AUTHENTICATION_REQUIRED407
-public static final intSC_REQUEST_ENTITY_TOO_LARGE413
-public static final intSC_REQUEST_PENDING491
-public static final intSC_REQUEST_TERMINATED487
-public static final intSC_REQUEST_TIMEOUT408
-public static final intSC_REQUEST_URI_TOO_LONG414
-public static final intSC_RINGING180
-public static final intSC_SECURITY_AGREEMENT_REQUIRED494
-public static final intSC_SERVER_INTERNAL_ERROR500
-public static final intSC_SERVER_TIMEOUT504
-public static final intSC_SERVICE_UNAVAILABLE503
-public static final intSC_SESSION_INTERVAL_TOO_SMALL422
-public static final intSC_SESSION_PROGRESS183
-public static final intSC_TEMPORARLY_UNAVAILABLE480
-public static final intSC_TOO_MANY_HOPS483
-public static final intSC_TRYING100
-public static final intSC_UNAUTHORIZED401
-public static final intSC_UNDECIPHERABLE493
-public static final intSC_UNSUPPORTED_CERTIFICATE437
-public static final intSC_UNSUPPORTED_MEDIA_TYPE415
-public static final intSC_UNSUPPORTED_URI_SCHEME416
-public static final intSC_USE_IDENTITY_HEADER428
-public static final intSC_USE_PROXY305
-public static final intSC_VERSION_NOT_SUPPORTED505
- -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/deprecated-list.html b/build/jsr289-apidocs/javadocs/deprecated-list.html deleted file mode 100644 index 5520e634a4..0000000000 --- a/build/jsr289-apidocs/javadocs/deprecated-list.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - -Deprecated List (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Deprecated API

-
-
-Contents - - - - - - - - - -
-Deprecated Fields
javax.servlet.sip.SipServlet.PRACK_SUPPORTED -
-          in favor of using the "javax.servlet.sip.supported" attribute 
-  -

- - - - - - - - - - - - - - - - - - - - - - - -
-Deprecated Methods
javax.servlet.sip.SipFactory.createRequest(SipServletRequest, boolean) -
-          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) 
javax.servlet.sip.SipApplicationSession.encodeURI(URI) -
-          has potential to break application composition - instead of this use the SipApplicationKey mechanism - as described in section 15.11.2 in the SIP Servlet - specification document. 
javax.servlet.sip.Proxy.getSequentialSearchTimeout() -
-          use a more general purpose Proxy.getProxyTimeout() 
javax.servlet.sip.Proxy.getStateful() -
-          stateless proxy is no longer supported 
javax.servlet.sip.Proxy.setSequentialSearchTimeout(int) -
-          use a more general purpose Proxy.setProxyTimeout(int) 
javax.servlet.sip.Proxy.setStateful(boolean) -
-          stateless proxy is no longer supported 
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/help-doc.html b/build/jsr289-apidocs/javadocs/help-doc.html deleted file mode 100644 index 769681f5e1..0000000000 --- a/build/jsr289-apidocs/javadocs/help-doc.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -API Help (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Overview

-
- -

-The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

-

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

-
-

-Class/Interface

-
- -

-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
- -

-Annotation Type

-
- -

-Each annotation type has its own separate page with the following sections:

-
- -

-Enum

-
- -

-Each enum has its own separate page with the following sections:

-
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. -
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

-

-Constant Field Values

-The Constant Field Values page lists the static final fields and their values. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/index-all.html b/build/jsr289-apidocs/javadocs/index-all.html deleted file mode 100644 index 1f57db6f32..0000000000 --- a/build/jsr289-apidocs/javadocs/index-all.html +++ /dev/null @@ -1,2099 +0,0 @@ - - - - - - -Index (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -A B C D E G I J L N O P R S T U V
-

-A

-
-
addAcceptLanguage(Locale) - -Method in interface javax.servlet.sip.SipServletMessage -
Adds an acceptable Locale of this user agent. -
addAddressHeader(String, Address, boolean) - -Method in interface javax.servlet.sip.SipServletMessage -
Adds the specified Address as a new value of the - named header field. -
addAuthHeader(SipServletResponse, AuthInfo) - -Method in interface javax.servlet.sip.SipServletRequest -
This method allows the addition of the appropriate authentication header(s) - to the request that was challenged with a challenge response. -
addAuthHeader(SipServletResponse, String, String) - -Method in interface javax.servlet.sip.SipServletRequest -
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. -
addAuthInfo(int, String, String, String) - -Method in interface javax.servlet.sip.AuthInfo -
Helper method to add authentication info into the AuthInfo object for - a challenge response of a specific type (401/407) and realm. -
addHeader(String, String) - -Method in interface javax.servlet.sip.SipServletMessage -
Adds a header with the given name and value. -
addParameterableHeader(String, Parameterable, boolean) - -Method in interface javax.servlet.sip.SipServletMessage -
Adds the specified Parameterable as a new value of the - named header field. -
Address - Interface in javax.servlet.sip
Represents SIP addresses as found, for example, in From, To, and - Contact headers.
applicationDeployed(List<String>) - -Method in interface javax.servlet.sip.ar.SipApplicationRouter -
Container notifies application router that new applications are deployed. -
applicationUndeployed(List<String>) - -Method in interface javax.servlet.sip.ar.SipApplicationRouter -
Container notifies application router that some applications are - undeployed. -
attributeAdded(SipApplicationSessionBindingEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionAttributeListener -
Notification that an attribute has been added to an application session. -
attributeAdded(SipSessionBindingEvent) - -Method in interface javax.servlet.sip.SipSessionAttributeListener -
Notification that an attribute has been added to a session. -
attributeRemoved(SipApplicationSessionBindingEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionAttributeListener -
Notification that an attribute has been removed from an application session. -
attributeRemoved(SipSessionBindingEvent) - -Method in interface javax.servlet.sip.SipSessionAttributeListener -
Notification that an attribute has been removed from a session. -
attributeReplaced(SipApplicationSessionBindingEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionAttributeListener -
Notification that an attribute has been replaced in an application session. -
attributeReplaced(SipSessionBindingEvent) - -Method in interface javax.servlet.sip.SipSessionAttributeListener -
Notification that an attribute has been replaced in a session. -
AuthInfo - Interface in javax.servlet.sip
This interface allows applications to set the authentication information on servlet - initiated requests that are challenged by a Proxy or UAS.
-
-

-B

-
-
B2buaHelper - Interface in javax.servlet.sip
Helper class providing support for B2BUA applications.
-
-

-C

-
-
cancel() - -Method in interface javax.servlet.sip.Proxy -
Cancels this proxy transaction and any of its child branches if recursion - was enabled. -
cancel(String[], int[], String[]) - -Method in interface javax.servlet.sip.Proxy -
This overloaded method of Proxy.cancel() provides a way to specify the - reason for cancelling this Proxy by including the appropriate - Reason headers [RFC 3326]. -
cancel() - -Method in interface javax.servlet.sip.ProxyBranch -
Cancels this branch and all the child branches if recursion is enabled and - sends a CANCEL to the proxied INVITEs. -
cancel(String[], int[], String[]) - -Method in interface javax.servlet.sip.ProxyBranch -
This overloaded method of ProxyBranch.cancel() provides a way to specify the - reason for cancelling this branch by including the appropriate Reason headers [RFC 3326]. -
cancel() - -Method in interface javax.servlet.sip.ServletTimer -
Cancels this timer. -
clone() - -Method in interface javax.servlet.sip.Address -
Returns a clone of this Address. -
clone() - -Method in interface javax.servlet.sip.Parameterable -
Returns a clone of this Parameterable. -
clone() - -Method in interface javax.servlet.sip.URI -
Returns a clone of this URI. -
ConvergedHttpSession - Interface in javax.servlet.sip
The ConvergedHttpSession class provides access to HttpSession related - functionality which is only present in a converged HTTP/SIP container.
createAck() - -Method in interface javax.servlet.sip.SipServletResponse -
Returns an ACK request object corresponding to this response. -
createAddress(String) - -Method in interface javax.servlet.sip.SipFactory -
Returns a Address corresponding to the specified - string. -
createAddress(URI) - -Method in interface javax.servlet.sip.SipFactory -
Returns an Address with the specified URI and no - display name. -
createAddress(URI, String) - -Method in interface javax.servlet.sip.SipFactory -
Returns a new Address with the specified - URI and display name. -
createApplicationSession() - -Method in interface javax.servlet.sip.SipFactory -
Returns a new SipApplicationSession. -
createApplicationSessionByKey(String) - -Method in interface javax.servlet.sip.SipFactory -
Returns a new SipApplicationSession identified by the specified - SipApplicationKey. -
createAuthInfo() - -Method in interface javax.servlet.sip.SipFactory -
Creates a new AuthInfo object that can be used to provide authentication - information on servlet initiated requests. -
createCancel(SipSession) - -Method in interface javax.servlet.sip.B2buaHelper -
Creates a new CANCEL request to cancel the initial request sent on the other - leg. -
createCancel() - -Method in interface javax.servlet.sip.SipServletRequest -
Returns a CANCEL request object. -
createParameterable(String) - -Method in interface javax.servlet.sip.SipFactory -
Creates a new Parameterable parsed from the specified - string. -
createPrack() - -Method in interface javax.servlet.sip.SipServletResponse -
Creates a PRACK request object corresponding to this response. -
createProxyBranches(List<? extends URI>) - -Method in interface javax.servlet.sip.Proxy -
Returns the list of ProxyBranch objects given a set of targets. -
createRequest(SipServletRequest, boolean, Map<String, List<String>>) - -Method in interface javax.servlet.sip.B2buaHelper -
Creates a new request object belonging to a new SipSession. -
createRequest(SipServletRequest) - -Method in interface javax.servlet.sip.B2buaHelper -
Creates a new request object belonging to a new SipSession. -
createRequest(SipSession, SipServletRequest, Map<String, List<String>>) - -Method in interface javax.servlet.sip.B2buaHelper -
Creates a new subsequent request based on the specified original - request. -
createRequest(SipApplicationSession, String, Address, Address) - -Method in interface javax.servlet.sip.SipFactory -
Returns a new request object with the specified request method, From, - and To headers. -
createRequest(SipApplicationSession, String, URI, URI) - -Method in interface javax.servlet.sip.SipFactory -
Returns a new request object with the specified request method, From, - and To headers. -
createRequest(SipApplicationSession, String, String, String) - -Method in interface javax.servlet.sip.SipFactory -
Returns a new request object with the specified request method, From, - and To headers. -
createRequest(SipServletRequest, boolean) - -Method in interface javax.servlet.sip.SipFactory -
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) -
createRequest(String) - -Method in interface javax.servlet.sip.SipSession -
Returns a new request object. -
createResponse(int) - -Method in interface javax.servlet.sip.SipServletRequest -
Creates a response for this request with the specifies status code. -
createResponse(int, String) - -Method in interface javax.servlet.sip.SipServletRequest -
Creates a response for this request with the specifies status code - and reason phrase. -
createResponseToOriginalRequest(SipSession, int, String) - -Method in interface javax.servlet.sip.B2buaHelper -
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. -
createSipURI(String, String) - -Method in interface javax.servlet.sip.SipFactory -
Constructs a SipURI with the specified user and host - components. -
createTimer(SipApplicationSession, long, boolean, Serializable) - -Method in interface javax.servlet.sip.TimerService -
Creates a one-time ServletTimer and schedules it to - expire after the specified delay. -
createTimer(SipApplicationSession, long, long, boolean, boolean, Serializable) - -Method in interface javax.servlet.sip.TimerService -
Creates a repeating ServletTimer and schedules it to - expire after the specified delay and then again at approximately - regular intervals. -
createURI(String) - -Method in interface javax.servlet.sip.SipFactory -
Returns a URI object corresponding to the specified - string, which should represent an escaped SIP, SIPS, or tel URI. -
-
-

-D

-
-
destroy() - -Method in interface javax.servlet.sip.ar.SipApplicationRouter -
Container calls this method when it finishes using this application - router. -
doAck(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - ACK requests. -
doBranchResponse(SipServletResponse) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server to handle intermediate final responses only if this - Servlet behaves as a proxy. -
doBye(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - BYE requests. -
doCancel(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - CANCEL requests. -
doErrorResponse(SipServletResponse) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the doResponse method) to handle incoming - 4xx - 6xx class responses. -
doInfo(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - INFO requests. -
doInvite(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - INVITE requests. -
doMessage(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - MESSAGE requests. -
doNotify(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - NOTIFY requests. -
doOptions(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - OPTIONS requests. -
doPrack(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - PRACK requests. -
doProvisionalResponse(SipServletResponse) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the doResponse method) to handle incoming - 1xx class responses. -
doPublish(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - PUBLISH requests. -
doRedirectResponse(SipServletResponse) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server to notify the servlet of incoming 3xx class - responses. -
doRefer(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - REFER requests. -
doRegister(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - REGISTER requests. -
doRequest(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked to handle incoming requests. -
doResponse(SipServletResponse) - -Method in class javax.servlet.sip.SipServlet -
Invoked to handle incoming responses. -
doSubscribe(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - SUBSCRIBE requests. -
doSuccessResponse(SipServletResponse) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the doResponse method) to handle incoming - 2xx class responses. -
doUpdate(SipServletRequest) - -Method in class javax.servlet.sip.SipServlet -
Invoked by the server (via the service method) to handle incoming - UPDATE requests. -
-
-

-E

-
-
encodeURI(URI) - -Method in interface javax.servlet.sip.SipApplicationSession -
Deprecated. has potential to break application composition - instead of this use the SipApplicationKey mechanism - as described in section 15.11.2 in the SIP Servlet - specification document. -
encodeURL(String) - -Method in interface javax.servlet.sip.ConvergedHttpSession -
This method encodes the HTTP URL with the jsessionid. -
encodeURL(String, String) - -Method in interface javax.servlet.sip.ConvergedHttpSession -
Converts the given relative path to an absolute URL by - prepending the contextPath for the current ServletContext, the given - scheme ("http" or "https"), and the host:port, and then encoding the - resulting URL with the jsessionid. -
encodeURL(URL) - -Method in interface javax.servlet.sip.SipApplicationSession -
Encode specified URL to include the application session ID in a way - such that the parameter used to encode the application session ID - should be unique across implementations. -
equals(Object) - -Method in interface javax.servlet.sip.Address -
Compares the given Address with this one. -
equals(Object) - -Method in interface javax.servlet.sip.Parameterable -
Compares the given Parameterable with this one. -
equals(Object) - -Method in interface javax.servlet.sip.SipURI -
Compares the given SipURI with this SipURI. -
equals(Object) - -Method in interface javax.servlet.sip.TelURL -
Compares the given TelURL with this TelURL. -
equals(Object) - -Method in interface javax.servlet.sip.URI -
Compares the given URI with this URI. -
-
-

-G

-
-
getAcceptLanguage() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the preferred Locale that the UA originating - this message will accept content in, based on the Accept-Language - header. -
getAcceptLanguages() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns an Iterator over Locale objects - indicating, in decreasing order starting with the preferred locale, - the locales that are acceptable to the sending UA based on the - Accept-Language header. -
getAddressHeader(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the value of the specified header as a - Address object. -
getAddressHeaders(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns a ListIterator over all Address - header field values for the specified header. -
getAddToPath() - -Method in interface javax.servlet.sip.Proxy -
Returns true if subsequent invocations of proxyTo(URI) or startProxy() will add a Path header - to the proxied request, false otherwise. -
getAddToPath() - -Method in interface javax.servlet.sip.ProxyBranch -
Returns true if subsequent invocations of - startProxy() will add a Path header - to the proxied request, false otherwise. -
getApplicationName() - -Method in class javax.servlet.sip.ar.SipTargetedRequestInfo -
  -
getApplicationName() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns the name of the SIP application this SipApplicationSession is - associated with. -
getApplicationSession() - -Method in interface javax.servlet.sip.ConvergedHttpSession -
Returns the parent SipApplicationSession if it exists, if none exists - then a new one is created and returned after associating it with the - converged http session. -
getApplicationSession() - -Method in interface javax.servlet.sip.ServletTimer -
Returns the application session associated with this - ServletTimer. -
getApplicationSession() - -Method in class javax.servlet.sip.SipApplicationSessionBindingEvent -
Returns the application session to or from which the object is bound or unbound. -
getApplicationSession() - -Method in class javax.servlet.sip.SipApplicationSessionEvent -
Returns the expired session object. -
getApplicationSession() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the application session to which this message belongs. -
getApplicationSession(boolean) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the app session to which this message belongs. -
getApplicationSession() - -Method in interface javax.servlet.sip.SipSession -
Returns the application session with which this SipSession - is associated. -
getApplicationSessionById(String) - -Method in interface javax.servlet.sip.SipSessionsUtil -
Returns the SipApplicationSession for a given applicationSessionId. -
getApplicationSessionByKey(String, boolean) - -Method in interface javax.servlet.sip.SipSessionsUtil -
Returns the SipApplicationSession for a given session applicationSessionKey. -
getAttribute(String) - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns the object bound with the specified name in this session, - or null if no object is bound under the name. -
getAttribute(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the value of the named attribute as an Object, or null if - no attribute of the given name exists. -
getAttribute(String) - -Method in interface javax.servlet.sip.SipSession -
Returns the object bound with the specified name in this session, - or null if no object is bound under the name. -
getAttributeNames() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns an Iterator over the String - objects containing the names of all the objects bound to this session. -
getAttributeNames() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns an Enumeration containing the names of the - attributes available to this message object. -
getAttributeNames() - -Method in interface javax.servlet.sip.SipSession -
Returns an Enumeration over the String - objects containing the names of all the objects bound to this session. -
getB2buaHelper() - -Method in interface javax.servlet.sip.SipServletRequest -
Returns the B2buaHelper associated with this request. -
getCallId() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the value of the Call-ID header in this - SipServletMessage. -
getCallId() - -Method in interface javax.servlet.sip.SipSession -
Returns the Call-ID for this SipSession. -
getChallengeRealms() - -Method in interface javax.servlet.sip.SipServletResponse -
Returns an Iterator over all the realms associated with this - challenge response. -
getCharacterEncoding() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the name of the charset used for the MIME body sent in - this message. -
getContent() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the content as a Java object. -
getContentLanguage() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the locale of this message. -
getContentLength() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the length in number of bytes of the content part of this - message. -
getContentType() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the value of the Content-Type header field. -
getCorrespondingSipSession(SipSession, String) - -Method in interface javax.servlet.sip.SipSessionsUtil -
Returns related SipSession. -
getCreationTime() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns the time when this session was created, measured in - milliseconds since midnight January 1, 1970 GMT. -
getCreationTime() - -Method in interface javax.servlet.sip.SipSession -
Returns the time when this session was created, measured in - milliseconds since midnight January 1, 1970 GMT. -
getDisplayName() - -Method in interface javax.servlet.sip.Address -
Returns the display name of this Address. -
getExpirationTime() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns the time in future when this SipApplicationSession will expire. -
getExpires() - -Method in interface javax.servlet.sip.Address -
Returns the value of the "expires" parameter as delta-seconds. -
getExpires() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the value of the Expires header. -
getFrom() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the value of the From header. -
getHeader(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the value of the specified header as a - String. -
getHeader(String) - -Method in interface javax.servlet.sip.SipURI -
Returns the value of the specified header. -
getHeaderForm() - -Method in interface javax.servlet.sip.SipServletMessage -
  -
getHeaderNames() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns an Iterator over all the header names this - message contains. -
getHeaderNames() - -Method in interface javax.servlet.sip.SipURI -
Returns an Iterator over the names of all headers - present in this SipURI. -
getHeaders(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns all the values of the specified header as a - ListIterator over a number of String objects. -
getHost() - -Method in interface javax.servlet.sip.SipURI -
Returns the host part of this SipURI. -
getId() - -Method in interface javax.servlet.sip.ServletTimer -
Returns a string containing the unique identifier assigned to - this timer task. -
getId() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns a string containing the unique identifier assigned to - this session. -
getId() - -Method in interface javax.servlet.sip.SipSession -
Returns a string containing the unique identifier assigned to - this session. -
getInfo() - -Method in interface javax.servlet.sip.ServletTimer -
Get the information associated with the timer at the time of - creation. -
getInitialPoppedRoute() - -Method in interface javax.servlet.sip.SipServletRequest -
If a top route header had been removed by the container upon - initially receiving this request, then this method can be used to - retrieve it. -
getInitialRemoteAddr() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the IP address of the upstream/downstream hop from which - this message was initially received by the container.
- Unlike getRemoteAddr(), this method - returns the same value regardless of which application invokes it - in the same application composition chain of a specific application router. -
getInitialRemotePort() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the port number of the upstream/downstream hop from which - this message initially received by the container. -
getInitialTransport() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the name of the protocol with which this message was initially - received by the container, - e.g. -
getInputStream() - -Method in interface javax.servlet.sip.SipServletRequest -
Always returns null. -
getInvalidateWhenReady() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns true if the container will notify the application when this - SipApplicationSession is in the ready-to-invalidate state. -
getInvalidateWhenReady() - -Method in interface javax.servlet.sip.SipSession -
Returns true if the container will notify the application when this - SipSession is in the ready-to-invalidate state. -
getLabel() - -Method in class javax.servlet.sip.ar.SipApplicationRoutingRegion -
Each routing region has a String label. -
getLastAccessedTime() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns the last time an event occurred on this application session. -
getLastAccessedTime() - -Method in interface javax.servlet.sip.SipSession -
Returns the last time the client sent a request associated with this - session, as the number of milliseconds since midnight January 1, - 1970 GMT. -
getLinkedSession(SipSession) - -Method in interface javax.servlet.sip.B2buaHelper -
Returns the other SipSession that is linked to the specified SipSession, - or null if none. -
getLinkedSipServletRequest(SipServletRequest) - -Method in interface javax.servlet.sip.B2buaHelper -
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. -
getLocalAddr() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the IP address of the interface this message was received on. -
getLocalParty() - -Method in interface javax.servlet.sip.SipSession -
Returns the Address identifying the local party. -
getLocalPort() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the local port this message was received on. -
getLrParam() - -Method in interface javax.servlet.sip.SipURI -
Returns true if the "lr" flag parameter is set, and false - otherwise. -
getMAddrParam() - -Method in interface javax.servlet.sip.SipURI -
Returns the value of the "maddr" parameter, or null if this - is not set. -
getMaxForwards() - -Method in interface javax.servlet.sip.SipServletRequest -
Returns the value of the Max-Forwards header. -
getMessage() - -Method in exception javax.servlet.sip.Rel100Exception -
Returns message phrase suitable for the reason integer code. -
getMethod() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the SIP method of this message. -
getMethodParam() - -Method in interface javax.servlet.sip.SipURI -
Returns the value of the "method" parameter, or null if this - is not set. -
getName() - -Method in class javax.servlet.sip.SipApplicationSessionBindingEvent -
Returns the name with which the object is bound to or unbound from - the application session. -
getName() - -Method in class javax.servlet.sip.SipSessionBindingEvent -
Returns the name with which the object is bound to or unbound from - the session. -
getNextApplication(SipServletRequest, SipApplicationRoutingRegion, SipApplicationRoutingDirective, SipTargetedRequestInfo, Serializable) - -Method in interface javax.servlet.sip.ar.SipApplicationRouter -
This method is called by the container when a servlet sends or proxies - an initial SipServletRequest. -
getNextApplicationName() - -Method in class javax.servlet.sip.ar.SipApplicationRouterInfo -
  -
getNoCancel() - -Method in interface javax.servlet.sip.Proxy -
Returns true if the proxy will not cancel outstanding - branches upon receiving the first 2xx INVITE response as in RFC 3841 -
getOriginalRequest() - -Method in interface javax.servlet.sip.Proxy -
Returns the request received from the upstream caller. -
getOutputStream() - -Method in interface javax.servlet.sip.SipServletResponse -
Always returns null. -
getParallel() - -Method in interface javax.servlet.sip.Proxy -
Returns true if this proxy object is set to proxy in parallel, or - false if it is set to proxy sequentially. -
getParameter(String) - -Method in interface javax.servlet.sip.Parameterable -
Returns the value of the named parameter, or null if it is not - set. -
getParameter(String) - -Method in interface javax.servlet.sip.URI -
Returns the value of the named parameter, or null if it is not - set. -
getParameterableHeader(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the value of the specified header field as a - Parameterable object. -
getParameterableHeaders(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns a ListIterator over all Parameterable - header field values for the specified header name. -
getParameterNames() - -Method in interface javax.servlet.sip.Parameterable -
Returns an Iterator of the names of all parameters - contained in this object. -
getParameterNames() - -Method in interface javax.servlet.sip.URI -
Returns an Iterator over the names of all parameters - present in this URI. -
getParameters() - -Method in interface javax.servlet.sip.Parameterable -
Returns a Collection view of the parameter name-value mappings - contained in this Parameterable. -
getPathURI() - -Method in interface javax.servlet.sip.Proxy -
Returns a SipURI that the application can use to - add parameters to the Path header. -
getPathURI() - -Method in interface javax.servlet.sip.ProxyBranch -
Returns a SipURI that the application can use to - add parameters to the Path header. -
getPendingMessages(SipSession, UAMode) - -Method in interface javax.servlet.sip.B2buaHelper -
For the specified SipSession, returns a List of all uncommitted messages - in the order of increasing CSeq number for the given mode of the session. -
getPhoneContext() - -Method in interface javax.servlet.sip.TelURL -
Returns the phone context of this TelURL for local numbers or - null if the phone number is global -
getPhoneNumber() - -Method in interface javax.servlet.sip.TelURL -
Returns the phone number of this TelURL. -
getPoppedRoute() - -Method in interface javax.servlet.sip.SipServletRequest -
If a top route header had been removed by the container upon receiving - this request, then this method can be used to retrieve it. -
getPort() - -Method in interface javax.servlet.sip.SipURI -
Returns the port number of this SipURI, - or -1 if this is not set. -
getProtocol() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the name and version of the protocol of this message. -
getProxy() - -Method in interface javax.servlet.sip.ProxyBranch -
  -
getProxy() - -Method in interface javax.servlet.sip.SipServletRequest -
Returns the Proxy object associated with this request. -
getProxy(boolean) - -Method in interface javax.servlet.sip.SipServletRequest -
Returns the Proxy object associated with this request. -
getProxy() - -Method in interface javax.servlet.sip.SipServletResponse -
Returns the Proxy object associated with the - transaction of this SIP response object. -
getProxyBranch(URI) - -Method in interface javax.servlet.sip.Proxy -
Any branch has a primary URI associated with it, using which it was - created. -
getProxyBranch() - -Method in interface javax.servlet.sip.SipServletResponse -
Retruns the ProxyBranch object associated with the transaction - of this SIP response object. -
getProxyBranches() - -Method in interface javax.servlet.sip.Proxy -
More than one branches are associated with a proxy when Proxy.proxyTo(List) or Proxy.createProxyBranches(List) - is used. -
getProxyBranchTimeout() - -Method in interface javax.servlet.sip.ProxyBranch -
Returns the current value of the search timeout associated - with this ProxyBranch object. -
getProxyTimeout() - -Method in interface javax.servlet.sip.Proxy -
The current value of the overall proxy timeout value. -
getQ() - -Method in interface javax.servlet.sip.Address -
Returns the value of the "q" parameter of this Address. -
getRawContent() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns message content as a byte array. -
getReader() - -Method in interface javax.servlet.sip.SipServletRequest -
Always returns null. -
getReason() - -Method in exception javax.servlet.sip.Rel100Exception -
Returns an integer code indicating the specific reason why this - exception was thrown. -
getReasonPhrase() - -Method in interface javax.servlet.sip.SipServletResponse -
Returns the reason phrase for this response object. -
getRecordRoute() - -Method in interface javax.servlet.sip.Proxy -
Returns true if subsequent invocations of proxyTo(URI) - will add a Record-Route header to the proxied request, false otherwise. -
getRecordRoute() - -Method in interface javax.servlet.sip.ProxyBranch -
Returns true if subsequent invocations of proxyTo(URI) - will add a Record-Route header to the proxied request, false otherwise. -
getRecordRouteURI() - -Method in interface javax.servlet.sip.Proxy -
Returns a SipURI that the application can use to - add parameters to the Record-Route header. -
getRecordRouteURI() - -Method in interface javax.servlet.sip.ProxyBranch -
Returns a SipURI that the application can use to - add parameters to the Record-Route header. -
getRecurse() - -Method in interface javax.servlet.sip.Proxy -
Returns true if this proxy object is set to recurse, or false otherwise. -
getRecurse() - -Method in interface javax.servlet.sip.ProxyBranch -
Returns true if this proxy branch object is set to recurse, or false otherwise. -
getRecursedProxyBranches() - -Method in interface javax.servlet.sip.ProxyBranch -
Receipt of a 3xx class redirect response on a branch can result in recursed branches - if the proxy or the branch has recursion enabled. -
getRegion() - -Method in interface javax.servlet.sip.SipServletRequest -
This method allows the application to obtain the region it was - invoked in for this SipServletRequest. -
getRegion() - -Method in interface javax.servlet.sip.SipSession -
This method allows the application to obtain the region it was - invoked in for this SipSession. -
getRemoteAddr() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the IP address of the next upstream/downstream hop from which - this message was received. -
getRemoteParty() - -Method in interface javax.servlet.sip.SipSession -
Returns the Address identifying the remote party. -
getRemotePort() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the port number of the next upstream/downstream hop from which - this message was received. -
getRemoteUser() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the login of the user sending this message, if the - user has been authenticated, or null if the user has not been - authenticated. -
getRequest() - -Method in interface javax.servlet.sip.ProxyBranch -
Returns the request associated with this branch. -
getRequest() - -Method in class javax.servlet.sip.SipErrorEvent -
Returns the request object associated with this - SipErrorEvent. -
getRequest() - -Method in interface javax.servlet.sip.SipServletResponse -
Returns the request associated with this response. -
getRequestURI() - -Method in interface javax.servlet.sip.SipServletRequest -
Returns the request URI of this request. -
getResponse() - -Method in interface javax.servlet.sip.ProxyBranch -
Returns the last response received on this branch. -
getResponse() - -Method in class javax.servlet.sip.SipErrorEvent -
Returns the response object associated with this - SipErrorEvent. -
getRouteModifier() - -Method in class javax.servlet.sip.ar.SipApplicationRouterInfo -
  -
getRoutes() - -Method in class javax.servlet.sip.ar.SipApplicationRouterInfo -
An array of SIP routes of the same type (internal or external). -
getRoutingDirective() - -Method in interface javax.servlet.sip.SipServletRequest -
Returns the SipApplicationRoutingDirective associated with - this request. -
getRoutingRegion() - -Method in class javax.servlet.sip.ar.SipApplicationRouterInfo -
  -
getScheme() - -Method in interface javax.servlet.sip.URI -
Returns the scheme of this URI, - for example "sip", "sips" or "tel". -
getSequentialSearchTimeout() - -Method in interface javax.servlet.sip.Proxy -
Deprecated. use a more general purpose Proxy.getProxyTimeout() -
getServletContext() - -Method in interface javax.servlet.sip.SipSession -
Returns the ServletContext to which this session belongs. -
getSession(String, SipApplicationSession.Protocol) - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns the session object with the specified id associated with the - specified protocol belonging to this application session, or null if not - found. -
getSession() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the SipSession to which this message belongs. -
getSession(boolean) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the SipSession to which this message belongs. -
getSession() - -Method in class javax.servlet.sip.SipSessionBindingEvent -
Returns the session to or from which the object is bound or unbound. -
getSession() - -Method in class javax.servlet.sip.SipSessionEvent -
Returns the session that changed. -
getSessions() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns an Iterator over all valid "protocol" sessions - associated with this application session. -
getSessions(String) - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns an Iterator over all valid "protocol" session objects - associated with the specified protocol associated with this application - session. -
getSipApplicationRouter() - -Method in class javax.servlet.sip.ar.spi.SipApplicationRouterProvider -
Retrieve an instance of the application router created by - this provider -
getSipServlet() - -Method in class javax.servlet.sip.SipServletContextEvent -
Returns the servlet associated with the event - SipServletContextEvent. -
getSipSession(String) - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns the SipSession with the specified id belonging - to this application session, or null if not found. -
getState() - -Method in interface javax.servlet.sip.SipSession -
Returns the current SIP dialog state, which is one of INITIAL, EARLY, - CONFIRMED, or TERMINATED. -
getStateful() - -Method in interface javax.servlet.sip.Proxy -
Deprecated. stateless proxy is no longer supported -
getStateInfo() - -Method in class javax.servlet.sip.ar.SipApplicationRouterInfo -
  -
getStatus() - -Method in interface javax.servlet.sip.SipServletResponse -
Returns the status code of this response object. -
getSubscriberURI() - -Method in class javax.servlet.sip.ar.SipApplicationRouterInfo -
  -
getSubscriberURI() - -Method in interface javax.servlet.sip.SipServletRequest -
Returns the URI of the subscriber for which this application - is invoked to serve. -
getSubscriberURI() - -Method in interface javax.servlet.sip.SipSession -
Returns the URI of the subscriber for which this application - is invoked to serve. -
getSupervised() - -Method in interface javax.servlet.sip.Proxy -
Returns true if the controlling servlet will be invoked on incoming - responses for this proxying operation, and false otherwise. -
getTimer(String) - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns the active timer identified by a specific id that is associated - with this application session. -
getTimeRemaining() - -Method in interface javax.servlet.sip.ServletTimer -
Get the number of milliseconds that will elapse before the next scheduled - timer expiration. -
getTimers() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns all active timers associated with this application session. -
getTo() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the value of the To header. -
getTransport() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns the name of the protocol with which this message was received, - e.g. -
getTransportParam() - -Method in interface javax.servlet.sip.SipURI -
Returns the value of the "transport" parameter, or null if this - is not set. -
getTTLParam() - -Method in interface javax.servlet.sip.SipURI -
Returns the value of the "ttl" parameter, or -1 if this - is not set. -
getType() - -Method in class javax.servlet.sip.ar.SipApplicationRoutingRegion -
Each routing region is either ORIGINATING, TERMINATING, or NEUTRAL type. -
getType() - -Method in class javax.servlet.sip.ar.SipTargetedRequestInfo -
  -
getURI() - -Method in interface javax.servlet.sip.Address -
Returns the URI component of this Address. -
getUser() - -Method in interface javax.servlet.sip.SipURI -
Returns the user part of this SipURI. -
getUserParam() - -Method in interface javax.servlet.sip.SipURI -
Returns the value of the "user" parameter, or null if this - is not set. -
getUserPassword() - -Method in interface javax.servlet.sip.SipURI -
Returns the password of this SipURI, - or null if this is not set. -
getUserPrincipal() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns a java.security.Principal object containing - the name of the authenticated user agent sending this message. -
getValue() - -Method in interface javax.servlet.sip.Parameterable -
Returns the field value as a string. -
getWriter() - -Method in interface javax.servlet.sip.SipServletResponse -
Always returns null. -
-
-

-I

-
-
init() - -Method in interface javax.servlet.sip.ar.SipApplicationRouter -
Initializes the SipApplicationRouter. -
init(Properties) - -Method in interface javax.servlet.sip.ar.SipApplicationRouter -
Initializes the SipApplicationRouter and passes in initialization - properties. -
invalidate() - -Method in interface javax.servlet.sip.SipApplicationSession -
Invalidates this application session and unbinds any objects bound to - it. -
invalidate() - -Method in interface javax.servlet.sip.SipSession -
Invalidates this session and unbinds any objects bound to it. -
isBranchResponse() - -Method in interface javax.servlet.sip.SipServletResponse -
Returns true if this is an intermediate final response that arrived on a - ProxyBranch. -
isCommitted() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns true if this message is committed, that is, if one - of the following conditions is true: - - This message is an incoming request for which a final response - has already been generated - This message is an outgoing request which has already been sent - This message is an incoming non-reliable provisional response received - by a servlet acting as a UAC - This message is an incoming reliable provisional response for which PRACK - has already been generated. -
isGlobal() - -Method in interface javax.servlet.sip.TelURL -
Returns true if this TelURL is global, and false - otherwise. -
isInitial() - -Method in interface javax.servlet.sip.SipServletRequest -
Returns true if this is an initial request. -
isReadyToInvalidate() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns true if this application session is in a ready-to-invalidate state. -
isReadyToInvalidate() - -Method in interface javax.servlet.sip.SipSession -
Returns true if this session is in a ready-to-invalidate state. -
isSecure() - -Method in interface javax.servlet.sip.SipServletMessage -
Returns a boolean indicating whether this message was received over - a secure channel, such as TLS. -
isSecure() - -Method in interface javax.servlet.sip.SipURI -
Returns true if this SipURI is secure, that is, - if this it represents a sips URI. -
isSipURI() - -Method in interface javax.servlet.sip.URI -
Returns true if the scheme is "sip" or "sips", false otherwise. -
isStarted() - -Method in interface javax.servlet.sip.ProxyBranch -
The branch can be created using Proxy.createProxyBranches(java.util.List) and may be - started at a later time by using Proxy.startProxy(). -
isUserInRole(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Returns a boolean indicating whether the authenticated user is - included in the specified logical "role". -
isValid() - -Method in interface javax.servlet.sip.SipApplicationSession -
Returns if this SipApplicationSession is valid, false otherwise. -
isValid() - -Method in interface javax.servlet.sip.SipSession -
Returns true if this SipSession is valid, false otherwise. -
isWildcard() - -Method in interface javax.servlet.sip.Address -
Returns true if this Address represents the "wildcard" - contact address. -
-
-

-J

-
-
javax.servlet.sip - package javax.servlet.sip
The javax.servlet.sip package is the API for the SIP Servlets developed under JSR 289, this v1.1 version obsoletes v1.0.
javax.servlet.sip.annotation - package javax.servlet.sip.annotation
The javax.servlet.sip.annotation package contains SIP Servlet annotation definitions
javax.servlet.sip.ar - package javax.servlet.sip.ar
The javax.servlet.sip.ar package contains Application Router interfaces
javax.servlet.sip.ar.spi - package javax.servlet.sip.ar.spi
The javax.servlet.sip.ar.spi package contains application router service -provider interfaces.
-
-

-L

-
-
linkSipSessions(SipSession, SipSession) - -Method in interface javax.servlet.sip.B2buaHelper -
Links the specified sessions, such that there is a 1-1 mapping - between them. -
log(String) - -Method in class javax.servlet.sip.SipServlet -
Writes the specified message to a servlet log file. -
log(String, Throwable) - -Method in class javax.servlet.sip.SipServlet -
Writes an explanatory message and a stack trace for a given - Throwable exception to the servlet log file. -
-
-

-N

-
-
NEUTRAL_REGION - -Static variable in class javax.servlet.sip.ar.SipApplicationRoutingRegion -
The NEUTRAL region contains applications that do not service a specific - subscriber. -
NO_REQ_SUPPORT - -Static variable in exception javax.servlet.sip.Rel100Exception -
Reason code indicating that the UAC didn't indicate support for - the reliable responses extension in the request. -
noAckReceived(SipErrorEvent) - -Method in interface javax.servlet.sip.SipErrorListener -
Invoked by the servlet container to notify an application that - no ACK was received for an INVITE transaction for which a final - response has been sent upstream. -
noPrackReceived(SipErrorEvent) - -Method in interface javax.servlet.sip.SipErrorListener -
Invoked by the servlet container for applications acting as a UAS - when no PRACK was received for a previously sent reliable provisional - response. -
NOT_100rel - -Static variable in exception javax.servlet.sip.Rel100Exception -
Reason code indicating that SipServletResponse.createPrack() - was invoked on a provisional response that is not reliable. -
NOT_1XX - -Static variable in exception javax.servlet.sip.Rel100Exception -
Reason code indicating that SipServletResponse.sendReliably() or - SipServletResponse.createPrack() was invoked on a final or a 100 response. -
NOT_INVITE - -Static variable in exception javax.servlet.sip.Rel100Exception -
Reason code indicating that SipServletResponse.sendReliably() or - SipServletResponse.createPrack() was invoked for a response to a - non-INVITE request. -
NOT_SUPPORTED - -Static variable in exception javax.servlet.sip.Rel100Exception -
Reason code indicating that the container does not support - reliable provisional response. -
-
-

-O

-
-
ORIGINATING_REGION - -Static variable in class javax.servlet.sip.ar.SipApplicationRoutingRegion -
The ORIGINATING region contains applications that service the caller. -
OUTBOUND_INTERFACES - -Static variable in class javax.servlet.sip.SipServlet -
The string "javax.servlet.sip.outboundInterfaces". -
-
-

-P

-
-
Parameterable - Interface in javax.servlet.sip
The Parameterable interface is used to indicate a SIP header - field value with optional parameters.
PRACK_SUPPORTED - -Static variable in class javax.servlet.sip.SipServlet -
Deprecated. in favor of using the "javax.servlet.sip.supported" attribute -
Proxy - Interface in javax.servlet.sip
Represents the operation of proxying a SIP request.
ProxyBranch - Interface in javax.servlet.sip
A ProxyBranch represents a branch which the Proxy sends out the - request on.
proxyTo(URI) - -Method in interface javax.servlet.sip.Proxy -
Proxies a SIP request to the specified destination. -
proxyTo(List<? extends URI>) - -Method in interface javax.servlet.sip.Proxy -
Proxies a SIP request to the specified set of destinations. -
pushPath(Address) - -Method in interface javax.servlet.sip.SipServletRequest -
Adds a Path header field value to this request. -
pushRoute(SipURI) - -Method in interface javax.servlet.sip.SipServletRequest -
Adds a Route header field value to this request. -
pushRoute(Address) - -Method in interface javax.servlet.sip.SipServletRequest -
Adds a Route header field value to this request with Address argument. -
-
-

-R

-
-
Rel100Exception - Exception in javax.servlet.sip
Indicates that a provisional response cannot be sent reliably or PRACK was - attempted to be created on a non reliable provisional response.
Rel100Exception(int) - -Constructor for exception javax.servlet.sip.Rel100Exception -
Constructs a new Rel100Exception with the specified - error reason. -
removeAttribute(String) - -Method in interface javax.servlet.sip.SipApplicationSession -
Removes the object bound with the specified name from this session. -
removeAttribute(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Removes the named attribute from this message. -
removeAttribute(String) - -Method in interface javax.servlet.sip.SipSession -
Removes the object bound with the specified name from this session. -
removeHeader(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Removes the specified header. -
removeHeader(String) - -Method in interface javax.servlet.sip.SipURI -
Removes the named header from this SipURI. -
removeParameter(String) - -Method in interface javax.servlet.sip.Parameterable -
Removes the named parameter from this object. -
removeParameter(String) - -Method in interface javax.servlet.sip.URI -
Removes the named parameter from this URL. -
-
-

-S

-
-
SC_ACCEPTED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (202) indicating that the request has been accepted for - processing, but the processing has not been completed. -
SC_ADDRESS_INCOMPLETE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (484) indicating that the server received a request - with a To (Section 6.37) address or Request-URI that was - incomplete. -
SC_ALTERNATIVE_SERVICE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (380) indicating alternative service. -
SC_AMBIGUOUS - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (485) indicating that the callee address provided - in the request was ambiguous. -
SC_BAD_EVENT - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (489) indicating that the server did - not understand the event package specified in a "Event" header field. -
SC_BAD_EXTENSION - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (420) indicating that the server did not understand - the protocol extension specified in a Require (Section 6.30) - header field. -
SC_BAD_GATEWAY - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (502) indicating that the server, while acting as - a gateway or proxy, received an invalid response from the - downstream server it accessed in attempting to fulfill the - request. -
SC_BAD_IDENTITY_INFO - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (436) indicating that the Identity-Info header - contains a URI that cannot be dereferenced by the verifier - (either the URI scheme is unsupported by the verifier, or - the resource designated by the URI is otherwise unavailable). -
SC_BAD_REQUEST - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (400) indicating Bad Request. -
SC_BUSY_EVERYWHERE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (600) indicating that the callee's end system was - contacted successfully but the callee is busy and does not - wish to take the call at this time. -
SC_BUSY_HERE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (486) indicating that the callee's end system was - contacted successfully but the callee is curently not willing - or able to take additional call. -
SC_CALL_BEING_FORWARDED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (181) indicating the call is being forwarded. -
SC_CALL_LEG_DONE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (481) indicating Call Leg/Transaction does not exist. -
SC_CALL_QUEUED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (182) indicating the call is queued. -
SC_CONDITIONAL_REQUEST_FAILED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (412) indicating that the precondition given for the - request has failed. -
SC_DECLINE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (603) indicating that the callee's machine was - successfully contacted but the user explicily does not wish - to or cannot participate. -
SC_DOES_NOT_EXIT_ANYWHERE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (604) indicating that the server has authoritative - information that the user indicated in the To request field - does not exist anywhere. -
SC_EXTENSION_REQUIRED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (421) indicating that the UAS needs a particular - extension to process the request, but this extension is not - listed in a Supported header field in the request. -
SC_FORBIDDEN - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (403) indicating that the caller is forbidden to make - such requests. -
SC_GONE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (410) indicating that the requested resource is no - longer available at the server an no forwarding address is known. -
SC_INTERVAL_TOO_BRIEF - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (423) indicating that the server is rejecting the - request because the expiration time of the resource refreshed - by the request is too short. -
SC_INVALID_IDENTITY_HEADER - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (438) indicating that the verifier receives a - message with an Identity signature that does not correspond - to the digest-string calculated by the verifier. -
SC_LOOP_DETECTED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (482) indicating that the server received a request - with a Via (Section 6.40) path containing itself. -
SC_MESSAGE_TOO_LARGE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (513) indicating that the server was unable to process - the request since the message length exceeded its capabilities. -
SC_METHOD_NOT_ALLOWED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (405) indicating that the method specified in the - Request-Line is not allowed for the address identified byt the - Request-URI. -
SC_MOVED_PERMANENTLY - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (301) indicating that the callee has moved permanantly. -
SC_MOVED_TEMPORARILY - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (302) indicating that the callee has moved temporarily. -
SC_MULTIPLE_CHOICES - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (300) indicating Multiple Choices. -
SC_NOT_ACCEPTABLE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (406) indicating the the resource identified by the - request is only capable of generating response entities which - have content characteristics not acceptable according to the - accept headers sent in the request. -
SC_NOT_ACCEPTABLE_ANYWHERE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (606) indicating that the user's agent was contacted - successfully but some aspects of the session description such as - the requested media, bandwidth, or addressing style were not - acceptable. -
SC_NOT_ACCEPTABLE_HERE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (488) indicating that the response has the same - meaning as 606 (Not Acceptable), but only applies to the - specific resource addressed by the Request-URI and the request - may succeed elsewhere. -
SC_NOT_FOUND - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (404) indicating that the server had definitive - information that the user does not exist at the domain - specified in the Request-URI. -
SC_NOT_IMPLEMENTED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (501) indicating that the server does not support - the functionality required to fulfill the request. -
SC_OK - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (200) indicating the request succeeded normally. -
SC_PAYMENT_REQUIRED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (402) indicating that the caller needs to make a payment. -
SC_PRECONDITION_FAILURE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (580) indicating failure to meet certain preconditions. -
SC_PROVIDE_REFERER_IDENTITY - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (429) indicating that the referee must provide a - valid Referred-By token. -
SC_PROXY_AUTHENTICATION_REQUIRED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (407) indicating that the client MUST first - authenticate itself with the proxy. -
SC_REQUEST_ENTITY_TOO_LARGE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (413) indicating that the server si refusing to process - a request becaus the request entity is larger than the server is - willing or able to process. -
SC_REQUEST_PENDING - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (491) indicating that the request was received by - a UAS that had a pending request within the same dialog. -
SC_REQUEST_TERMINATED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (487) indicating that the request was terminated by - a BYE or CANCEL request. -
SC_REQUEST_TIMEOUT - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (408) indicating that the server could not produce - a response, e.g., a user location, within the time indicated in - the Expires request-header field. -
SC_REQUEST_URI_TOO_LONG - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (414) indicating that the server if refusing to - service the request because the Request-URI is longer than the - server is willing to interpret. -
SC_RINGING - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (180) indicating the server has located the callee, - and callee user agent is Ringing the callee. -
SC_SECURITY_AGREEMENT_REQUIRED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (494) indicating that the client must initiate a - security mechanism as defined in RFC 3329. -
SC_SERVER_INTERNAL_ERROR - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (500) indicating that the server encountered an - unexpected condition that prevented it from fulfilling the - request. -
SC_SERVER_TIMEOUT - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (504) indicating that the server did not receive - a timely response from an external server it accessed in - attempting to process the request. -
SC_SERVICE_UNAVAILABLE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (503) indicating that the server is currently - unable to handle the request due to a temporary overloading - or maintenance of the server. -
SC_SESSION_INTERVAL_TOO_SMALL - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (422) indicating that a request contained a - Session-Expires header field with a duration below the - minimum timer for the server. -
SC_SESSION_PROGRESS - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (183) carries miscellaneous call progress information. -
SC_TEMPORARLY_UNAVAILABLE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (480) indicating that the callee's end system was - contacted successfully but the callee is currently unavailable - (e.g., not logged in or logged in such a manner as to preclude - communication with the callee). -
SC_TOO_MANY_HOPS - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (483) indicating that the server received a request - that contains more Via entries (hops) (Section 6.40) than allowed - by the Max-Forwards (Section 6.23) header field. -
SC_TRYING - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (100) indicating the server is trying - to locate the callee. -
SC_UNAUTHORIZED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (401) indicating that the caller is unauthorized to - make this request. -
SC_UNDECIPHERABLE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (493) indicating that the request was received by - a UAS that contained an encrypted MIME body for which the recipient - does not possess or will not provide an appropriate decryption key. -
SC_UNSUPPORTED_CERTIFICATE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (437) indicating that the verifier cannot validate - the certificate referenced by the URI of the Identity-Info header, - because, for example, the certificate is self-signed, or signed - by a root certificate authority for whom the verifier does not - possess a root certificate. -
SC_UNSUPPORTED_MEDIA_TYPE - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (415) indicating that the server is refusing to - service the request because the message body of the request is - in a format not supported by the requested resource for the - requested method. -
SC_UNSUPPORTED_URI_SCHEME - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (416) indicating that the server cannot process the - request because the scheme of the URI in the Request-URI is unknown - to the server. -
SC_USE_IDENTITY_HEADER - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (428) indicating that the request should - be re-sent with an Identity header. -
SC_USE_PROXY - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (305) indicating that he call can be better - handled by the specified proxy server. -
SC_VERSION_NOT_SUPPORTED - -Static variable in interface javax.servlet.sip.SipServletResponse -
Status code (505) indicating that the server does not support, - the SIP protocol version that was used in the request message. -
scheduledExecutionTime() - -Method in interface javax.servlet.sip.ServletTimer -
Returns the scheduled expiration time of the most recent actual - expiration of this timer. -
send() - -Method in interface javax.servlet.sip.SipServletMessage -
Sends this SipServletMessage. -
send() - -Method in interface javax.servlet.sip.SipServletRequest -
Causes this request to be sent. -
send() - -Method in interface javax.servlet.sip.SipServletResponse -
Causes this response to be sent. -
sendReliably() - -Method in interface javax.servlet.sip.SipServletResponse -
Requests that this response be sent reliably using the 100rel - extension defined in RFC 3262. -
service(ServletRequest, ServletResponse) - -Method in class javax.servlet.sip.SipServlet -
Invoked to handle incoming SIP messages: requests or responses. -
servletInitialized(SipServletContextEvent) - -Method in interface javax.servlet.sip.SipServletListener -
Notification that the servlet was succesfully initialized -
ServletParseException - Exception in javax.servlet.sip
Thrown by the container when an application attempts to parse - a malformed header or addressing structure.
ServletParseException() - -Constructor for exception javax.servlet.sip.ServletParseException -
Constructs a new parse exception, without any message. -
ServletParseException(String) - -Constructor for exception javax.servlet.sip.ServletParseException -
Constructs a new parse exception with the specified message. -
ServletParseException(String, Throwable) - -Constructor for exception javax.servlet.sip.ServletParseException -
Constructs a new parse exception with the specified detail message and - cause. -
ServletParseException(Throwable) - -Constructor for exception javax.servlet.sip.ServletParseException -
Constructs a new parse exception with the specified cause and a detail - message of (cause==null ? null : cause.toString()) (which - typically contains the class and detail message of cause). -
ServletTimer - Interface in javax.servlet.sip
Created by the TimerService for servlet applications - wishing to schedule future tasks.
sessionCreated(SipApplicationSessionEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionListener -
Notification that a session was created. -
sessionCreated(SipSessionEvent) - -Method in interface javax.servlet.sip.SipSessionListener -
Notification that a SipSession was created. -
sessionDestroyed(SipApplicationSessionEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionListener -
Notification that a session was invalidated. -
sessionDestroyed(SipSessionEvent) - -Method in interface javax.servlet.sip.SipSessionListener -
Notification that a SipSession was destroyed. -
sessionDidActivate(SipApplicationSessionEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionActivationListener -
Notification that the application session has just been activated. -
sessionDidActivate(SipSessionEvent) - -Method in interface javax.servlet.sip.SipSessionActivationListener -
Notification that the session has just been activated. -
sessionExpired(SipApplicationSessionEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionListener -
Notification that an application session has expired. -
sessionReadyToInvalidate(SipApplicationSessionEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionListener -
Notification that a SipApplicationSession is in the - ready-to-invalidate state. -
sessionReadyToInvalidate(SipSessionEvent) - -Method in interface javax.servlet.sip.SipSessionListener -
Notification that a SipSession is in the ready-to-invalidate - state. -
sessionWillPassivate(SipApplicationSessionEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionActivationListener -
Notification that the application session is about to be passivated. -
sessionWillPassivate(SipSessionEvent) - -Method in interface javax.servlet.sip.SipSessionActivationListener -
Notification that the session is about to be passivated. -
setAcceptLanguage(Locale) - -Method in interface javax.servlet.sip.SipServletMessage -
Sets the preferred Locale that this user agent will - accept content, reason phrases, warnings, etc. -
setAddressHeader(String, Address) - -Method in interface javax.servlet.sip.SipServletMessage -
Sets the header with the specified name to have the value - specified by the address argument. -
setAddToPath(boolean) - -Method in interface javax.servlet.sip.Proxy -
Specifies whether branches initiated in this proxy operation should - include a Path header for the REGISTER request for this servlet - container or not. -
setAddToPath(boolean) - -Method in interface javax.servlet.sip.ProxyBranch -
Specifies whether this branch should - include a Path header for the REGISTER request for this servlet - container or not. -
setAttribute(String, Object) - -Method in interface javax.servlet.sip.SipApplicationSession -
Binds an object to this session, using the name specified. -
setAttribute(String, Object) - -Method in interface javax.servlet.sip.SipServletMessage -
Stores an attribute in this message. -
setAttribute(String, Object) - -Method in interface javax.servlet.sip.SipSession -
Binds an object to this session, using the name specified. -
setCharacterEncoding(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Overrides the name of the character encoding that will be used to - convert the body of this message from bytes to characters or vice - versa. -
setContent(Object, String) - -Method in interface javax.servlet.sip.SipServletMessage -
Sets the content of this message to the specified Object. -
setContentLanguage(Locale) - -Method in interface javax.servlet.sip.SipServletMessage -
Sets the locale of this message, setting the headers (Content-Language - and the Content-Type's charset) as appropriate. -
setContentLength(int) - -Method in interface javax.servlet.sip.SipServletMessage -
Sets the value of the Content-Length header. -
setContentType(String) - -Method in interface javax.servlet.sip.SipServletMessage -
Sets the content type of the response being sent to the client. -
setDisplayName(String) - -Method in interface javax.servlet.sip.Address -
Sets the display name of this Address. -
setExpires(int) - -Method in interface javax.servlet.sip.Address -
Sets the value of the "expires" parameter. -
setExpires(int) - -Method in interface javax.servlet.sip.SipApplicationSession -
Sets the time of expiry for this application session. -
setExpires(int) - -Method in interface javax.servlet.sip.SipServletMessage -
Sets the value of the Expires header in this message. -
setHandler(String) - -Method in interface javax.servlet.sip.SipSession -
Sets the handler for this SipSession. -
setHeader(String, String) - -Method in interface javax.servlet.sip.SipServletMessage -
Sets a header with the given name and value. -
setHeader(String, String) - -Method in interface javax.servlet.sip.SipURI -
Sets the value of the specified header in this SipURI. -
setHeaderForm(SipServletMessage.HeaderForm) - -Method in interface javax.servlet.sip.SipServletMessage -
Indicates which of the compact or long form should the headers in this - message have. -
setHost(String) - -Method in interface javax.servlet.sip.SipURI -
Sets the host part of this SipURI. -
setInvalidateWhenReady(boolean) - -Method in interface javax.servlet.sip.SipApplicationSession -
Specifies whether the container should notify the application when the - SipApplicationSession is in the ready-to-invalidate state as defined - above. -
setInvalidateWhenReady(boolean) - -Method in interface javax.servlet.sip.SipSession -
Specifies whether the container should notify the application when the - SipSession is in the ready-to-invalidate state as defined above. -
setLrParam(boolean) - -Method in interface javax.servlet.sip.SipURI -
Sets or removes the "lr" parameter depending on the value of the flag. -
setMAddrParam(String) - -Method in interface javax.servlet.sip.SipURI -
Sets the value of the "maddr" parameter. -
setMaxForwards(int) - -Method in interface javax.servlet.sip.SipServletRequest -
Sets the value of the Max-Forwards header. -
setMethodParam(String) - -Method in interface javax.servlet.sip.SipURI -
Sets the value of the "method" parameter. -
setNoCancel(boolean) - -Method in interface javax.servlet.sip.Proxy -
Specifies whether the proxy should, or should not cancel outstanding - branches upon receiving the first 2xx INVITE response as defined - in RFC 3841. -
setOutboundInterface(InetSocketAddress) - -Method in interface javax.servlet.sip.Proxy -
In multi-homed environment this method can be used to select - the outbound interface and port number to use for proxy branches. -
setOutboundInterface(InetAddress) - -Method in interface javax.servlet.sip.Proxy -
In multi-homed environment this method can be used to select - the outbound interface to use when sending requests for proxy branches. -
setOutboundInterface(InetSocketAddress) - -Method in interface javax.servlet.sip.ProxyBranch -
In multi-homed environment this method can be used to select - the outbound interface and source port number when forwarding requests - for this proxy branch. -
setOutboundInterface(InetAddress) - -Method in interface javax.servlet.sip.ProxyBranch -
In multi-homed environment this method can be used to select - the outbound interface to use when sending requests for this - proxy branch. -
setOutboundInterface(InetSocketAddress) - -Method in interface javax.servlet.sip.SipSession -
In multi-homed environment this method can be used to select - the outbound interface and source port number to use when sending - requests for this SipSession. -
setOutboundInterface(InetAddress) - -Method in interface javax.servlet.sip.SipSession -
In multi-homed environment this method can be used to select - the outbound interface to use when sending requests for this SipSession. -
setParallel(boolean) - -Method in interface javax.servlet.sip.Proxy -
Specifies whether to proxy in parallel or sequentially. -
setParameter(String, String) - -Method in interface javax.servlet.sip.Parameterable -
Sets the value of the named parameter. -
setParameter(String, String) - -Method in interface javax.servlet.sip.URI -
Sets the value of the named parameter. -
setParameterableHeader(String, Parameterable) - -Method in interface javax.servlet.sip.SipServletMessage -
Sets the header with the specified name to have the value - specified by the address argument. -
setPhoneNumber(String) - -Method in interface javax.servlet.sip.TelURL -
Sets the (global) phone number of this TelURL. -
setPhoneNumber(String, String) - -Method in interface javax.servlet.sip.TelURL -
Sets the (local) phone number of this TelURL. -
setPort(int) - -Method in interface javax.servlet.sip.SipURI -
Sets the port number of this SipURI. -
setProxyBranchTimeout(int) - -Method in interface javax.servlet.sip.ProxyBranch -
Sets the search timeout value for this - ProxyBranch object. -
setProxyTimeout(int) - -Method in interface javax.servlet.sip.Proxy -
Sets the overall proxy timeout. -
setQ(float) - -Method in interface javax.servlet.sip.Address -
Sets this Addresss qvalue. -
setRecordRoute(boolean) - -Method in interface javax.servlet.sip.Proxy -
Specifies whether branches initiated in this proxy operation should - include a Record-Route header for this servlet engine or not. -
setRecordRoute(boolean) - -Method in interface javax.servlet.sip.ProxyBranch -
Specifies whether this branch should - include a Record-Route header for this servlet engine or not. -
setRecurse(boolean) - -Method in interface javax.servlet.sip.Proxy -
Specifies whether the servlet engine will automatically recurse or not. -
setRecurse(boolean) - -Method in interface javax.servlet.sip.ProxyBranch -
Specifies whether the servlet engine will automatically recurse or not. -
setRequestURI(URI) - -Method in interface javax.servlet.sip.SipServletRequest -
Sets the request URI of this request. -
setRoutingDirective(SipApplicationRoutingDirective, SipServletRequest) - -Method in interface javax.servlet.sip.SipServletRequest -
Sets the application routing directive for an outgoing request. -
setSecure(boolean) - -Method in interface javax.servlet.sip.SipURI -
Sets the scheme of this URI to sip or sips - depending on whether the argument is true or not. -
setSequentialSearchTimeout(int) - -Method in interface javax.servlet.sip.Proxy -
Deprecated. use a more general purpose Proxy.setProxyTimeout(int) -
setStateful(boolean) - -Method in interface javax.servlet.sip.Proxy -
Deprecated. stateless proxy is no longer supported -
setStatus(int) - -Method in interface javax.servlet.sip.SipServletResponse -
Sets the status code of this response object. -
setStatus(int, String) - -Method in interface javax.servlet.sip.SipServletResponse -
Sets the status code and reason phrase of this response object. -
setSupervised(boolean) - -Method in interface javax.servlet.sip.Proxy -
Specifies whether the controlling servlet is to be invoked for - incoming responses relating to this proxying. -
setTransportParam(String) - -Method in interface javax.servlet.sip.SipURI -
Sets the value of the "transport" parameter. -
setTTLParam(int) - -Method in interface javax.servlet.sip.SipURI -
Sets the value of the "ttl" parameter. -
setURI(URI) - -Method in interface javax.servlet.sip.Address -
Sets the URI of this Address. -
setUser(String) - -Method in interface javax.servlet.sip.SipURI -
Sets the user part of this SipURI. -
setUserParam(String) - -Method in interface javax.servlet.sip.SipURI -
Sets the value of the "user" parameter. -
setUserPassword(String) - -Method in interface javax.servlet.sip.SipURI -
Sets the password of this SipURI. -
setValue(String) - -Method in interface javax.servlet.sip.Parameterable -
Set the value of the field. -
SIP_FACTORY - -Static variable in class javax.servlet.sip.SipServlet -
The string "javax.servlet.sip.SipFactory". -
SIP_SESSIONS_UTIL - -Static variable in class javax.servlet.sip.SipServlet -
The string "javax.servlet.sip.SipSessionsUtil". -
SipApplication - Annotation Type in javax.servlet.sip.annotation
The @SipApplication annotation is used to create an application level - annotation for a collection of SipServlets
SipApplicationKey - Annotation Type in javax.servlet.sip.annotation
The @SipApplicationKey annotation is used when the application - wants to associate the incoming request (and SipSession) - with a certain SipApplicationSession.
SipApplicationRouter - Interface in javax.servlet.sip.ar
This interface class specifies the API between the container and the - application router.
SipApplicationRouterInfo - Class in javax.servlet.sip.ar
The SipApplicationRouterInfo class encapsulates the different pieces of - information that the application router returns to the container when the - container calls the SipApplicationRouter.getNextApplication() method.
SipApplicationRouterInfo(String, SipApplicationRoutingRegion, String, String[], SipRouteModifier, Serializable) - -Constructor for class javax.servlet.sip.ar.SipApplicationRouterInfo -
Creates a SipApplicationRouterInfo object containing the information necessary for the - conatiner to perform its routing decision. -
SipApplicationRouterProvider - Class in javax.servlet.sip.ar.spi
This class is used by the SIP Servlet container to load and instanciate the - application router.
SipApplicationRouterProvider() - -Constructor for class javax.servlet.sip.ar.spi.SipApplicationRouterProvider -
  -
SipApplicationRoutingDirective - Enum in javax.servlet.sip.ar
Routing directives that an application can select to qualify its actions in some cases.
SipApplicationRoutingRegion - Class in javax.servlet.sip.ar
A class that represents the application routing region.
SipApplicationRoutingRegion(String, SipApplicationRoutingRegionType) - -Constructor for class javax.servlet.sip.ar.SipApplicationRoutingRegion -
Deployer may define new routing region by constructing a new - SipApplicationRoutingRegion object. -
SipApplicationRoutingRegionType - Enum in javax.servlet.sip.ar
Routing regions used in the application selection process.
SipApplicationSession - Interface in javax.servlet.sip
Represents application instances.
SipApplicationSession.Protocol - Enum in javax.servlet.sip
Possible protocols to which sessions contained in the - SipApplicationSession belong to.
SipApplicationSessionActivationListener - Interface in javax.servlet.sip
Objects that are bound to a SipApplicationSession may listen to container events - notifying them when the application session to which they are bound will be passivated or - activated.
SipApplicationSessionAttributeListener - Interface in javax.servlet.sip
This listener interface can be implemented in order to get - notifications of changes to the attribute lists of application sessions.
SipApplicationSessionBindingEvent - Class in javax.servlet.sip
Events of this type are either sent to an object that implements - SipApplicationSessionBindingListener when it is bound or unbound from an - application session, or to a SipApplicationSessionAttributeListener that has been - configured in the deployment descriptor when any attribute is bound, - unbound or replaced in an application session.
SipApplicationSessionBindingEvent(SipApplicationSession, String) - -Constructor for class javax.servlet.sip.SipApplicationSessionBindingEvent -
Constructs an event that notifies an object that it has been bound - to or unbound from an application session. -
SipApplicationSessionBindingListener - Interface in javax.servlet.sip
Causes an object to be notified when it is bound to or unbound from - a SipApplicationSession.
SipApplicationSessionEvent - Class in javax.servlet.sip
This is the class representing event notifications for changes to - SipApplicationSessions within a SIP servlet application.
SipApplicationSessionEvent(SipApplicationSession) - -Constructor for class javax.servlet.sip.SipApplicationSessionEvent -
Creates a new SipApplicationSessionEvent object. -
SipApplicationSessionListener - Interface in javax.servlet.sip
Implementations of this interface can receive notifications about - invalidated and/or activated SipApplicationSession objects - in the SIP application they are part of.
SipErrorEvent - Class in javax.servlet.sip
Events of this type are sent to objects implementing the - SipErrorListener interface when an error occurs which - is related to the applications processing of a SIP transaction.
SipErrorEvent(SipServletRequest, SipServletResponse) - -Constructor for class javax.servlet.sip.SipErrorEvent -
Constructs a new SipErrorEvent. -
SipErrorListener - Interface in javax.servlet.sip
Causes applications to be notified of various error conditions - occurring during regular SIP transaction processing.
SipFactory - Interface in javax.servlet.sip
Factory interface for a variety of SIP Servlet API abstractions.
SipListener - Annotation Type in javax.servlet.sip.annotation
The @SipListener annotation allows the application - developer to specify a listener without declaring - it in the deployment descriptor of the application.
SipRouteModifier - Enum in javax.servlet.sip.ar
Route modifiers as returned by the Application Router, used to interpret the - routes returned from the router.
SipServlet - Annotation Type in javax.servlet.sip.annotation
The @SipServlet annotation allows for the SipServlet metadata - to be declared without having to create the deployment descriptor.
SipServlet - Class in javax.servlet.sip
Provides an abstract class to be subclassed to create a SIP servlet.
SipServlet() - -Constructor for class javax.servlet.sip.SipServlet -
  -
SipServletContextEvent - Class in javax.servlet.sip
SIP Servlet specific context event.
SipServletContextEvent(ServletContext, SipServlet) - -Constructor for class javax.servlet.sip.SipServletContextEvent -
Constructs a new SipServletContextEvent. -
SipServletListener - Interface in javax.servlet.sip
Containers are required to invoke init() on the servlets before - the servlets are ready for service.
SipServletMessage - Interface in javax.servlet.sip
Defines common aspects of SIP requests and responses.
SipServletMessage.HeaderForm - Enum in javax.servlet.sip
Type header forms.
SipServletRequest - Interface in javax.servlet.sip
Represents SIP request messages.
SipServletResponse - Interface in javax.servlet.sip
Represents SIP responses.
SipSession - Interface in javax.servlet.sip
Represents point-to-point SIP relationships.
SipSession.State - Enum in javax.servlet.sip
Possible SIP dialog states from SipSession FSM.
SipSessionActivationListener - Interface in javax.servlet.sip
Objects that are bound to a session may listen to container events - notifying them that sessions will be passivated and that session - will be activated.
SipSessionAttributeListener - Interface in javax.servlet.sip
This listener interface can be implemented in order to get - notifications of changes to the attribute lists of sessions - within this SIP servlet application.
SipSessionBindingEvent - Class in javax.servlet.sip
Events of this type are either sent to an object that implements - SipSessionBindingListener when it is bound or unbound from a - session, or to a SipSessionAttributeListener that has been - configured in the deployment descriptor when any attribute is bound, - unbound or replaced in a session.
SipSessionBindingEvent(SipSession, String) - -Constructor for class javax.servlet.sip.SipSessionBindingEvent -
Constructs an event that notifies an object that it has been bound - to or unbound from a session. -
SipSessionBindingListener - Interface in javax.servlet.sip
Causes an object to be notified when it is bound to or unbound from - a SipSession.
SipSessionEvent - Class in javax.servlet.sip
This is the class representing event notifications for changes to - SipSessions within a SIP servlet application.
SipSessionEvent(SipSession) - -Constructor for class javax.servlet.sip.SipSessionEvent -
Construct a session event from the given source. -
SipSessionListener - Interface in javax.servlet.sip
Implementations of this interface are notified of changes to the list - of active SipSessions in a SIP servlet application.
SipSessionsUtil - Interface in javax.servlet.sip
A utility class providing additional support for - converged HTTP/SIP applications and converged Java EE / SIP applications.
SipTargetedRequestInfo - Class in javax.servlet.sip.ar
The SipTargetedRequestInfo class encapsulates the information that the - container provides to the application router when the container calls the - SipApplicationRouter.getNextApplication() method and the initial request is a - targeted one.
SipTargetedRequestInfo(SipTargetedRequestType, String) - -Constructor for class javax.servlet.sip.ar.SipTargetedRequestInfo -
Creates a SipTargetedRequestInfo object containing information necessary - to help the application router make its application selection decision - when the request is targeted. -
SipTargetedRequestType - Enum in javax.servlet.sip.ar
Type of targeted request
SipURI - Interface in javax.servlet.sip
Represents sip and sips URIs.
startProxy() - -Method in interface javax.servlet.sip.Proxy -
Proxies a SIP request to the set of destinations previously specified - in Proxy.createProxyBranches(java.util.List). -
SUPPORTED - -Static variable in class javax.servlet.sip.SipServlet -
The string "javax.servlet.sip.supported". -
SUPPORTED_RFCs - -Static variable in class javax.servlet.sip.SipServlet -
The string "javax.servlet.sip.supportedRfcs". -
-
-

-T

-
-
TelURL - Interface in javax.servlet.sip
Represents tel URLs as defined by RFC 3966.
TERMINATING_REGION - -Static variable in class javax.servlet.sip.ar.SipApplicationRoutingRegion -
The TERMINATING region contains applications that service the callee. -
timeout(ServletTimer) - -Method in interface javax.servlet.sip.TimerListener -
Notifies the listener that the specified timer has expired. -
TIMER_SERVICE - -Static variable in class javax.servlet.sip.SipServlet -
The string "javax.servlet.sip.TimerService". -
TimerListener - Interface in javax.servlet.sip
Listener interface implemented by SIP servlet applications using timers.
TimerService - Interface in javax.servlet.sip
Allows SIP servlet applications to set timers in order to receive - notifications on timer expiration.
TooManyHopsException - Exception in javax.servlet.sip
Thrown when a SIP Servlet application attempts to obtain a - Proxy object for a request with a Max-Forwards - header with value 0.
TooManyHopsException() - -Constructor for exception javax.servlet.sip.TooManyHopsException -
Constructs a new TooManyHopsException exception, without any message. -
TooManyHopsException(String) - -Constructor for exception javax.servlet.sip.TooManyHopsException -
Constructs a new TooManyHopsException exception with the specified message. -
TooManyHopsException(String, Throwable) - -Constructor for exception javax.servlet.sip.TooManyHopsException -
Constructs a new TooManyHopsException exception with the specified detail message and - cause. -
TooManyHopsException(Throwable) - -Constructor for exception javax.servlet.sip.TooManyHopsException -
Constructs a new TooManyHopsException exception with the specified cause and a detail - message of (cause==null ? null : cause.toString()) (which - typically contains the class and detail message of cause). -
toString() - -Method in interface javax.servlet.sip.Address -
Returns the value of this address as a String. -
toString() - -Method in class javax.servlet.sip.ar.SipApplicationRoutingRegion -
  -
toString() - -Method in interface javax.servlet.sip.SipURI -
Returns the String representation of this - SipURI. -
toString() - -Method in interface javax.servlet.sip.TelURL -
Returns the String representation of this - TelURL. -
toString() - -Method in interface javax.servlet.sip.URI -
Returns the value of this URI as a String. -
-
-

-U

-
-
UAMode - Enum in javax.servlet.sip
User Agent modes, UAC (client) or UAS (server)
unlinkSipSessions(SipSession) - -Method in interface javax.servlet.sip.B2buaHelper -
If the specified SipSession is linked to another session, then unlinks - the two sessions from each other. -
URI - Interface in javax.servlet.sip
Base interface for any type of URI.
-
-

-V

-
-
valueBound(SipApplicationSessionBindingEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionBindingListener -
Notifies the object that it is being bound to an application session and - identifies the application session. -
valueBound(SipSessionBindingEvent) - -Method in interface javax.servlet.sip.SipSessionBindingListener -
Notifies the object that it is being bound to a session and - identifies the session. -
valueOf(String) - -Static method in enum javax.servlet.sip.ar.SipApplicationRoutingDirective -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum javax.servlet.sip.ar.SipApplicationRoutingRegionType -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum javax.servlet.sip.ar.SipRouteModifier -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum javax.servlet.sip.ar.SipTargetedRequestType -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum javax.servlet.sip.SipApplicationSession.Protocol -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum javax.servlet.sip.SipServletMessage.HeaderForm -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum javax.servlet.sip.SipSession.State -
Returns the enum constant of this type with the specified name. -
valueOf(String) - -Static method in enum javax.servlet.sip.UAMode -
Returns the enum constant of this type with the specified name. -
values() - -Static method in enum javax.servlet.sip.ar.SipApplicationRoutingDirective -
Returns an array containing the constants of this enum type, in -the order they're declared. -
values() - -Static method in enum javax.servlet.sip.ar.SipApplicationRoutingRegionType -
Returns an array containing the constants of this enum type, in -the order they're declared. -
values() - -Static method in enum javax.servlet.sip.ar.SipRouteModifier -
Returns an array containing the constants of this enum type, in -the order they're declared. -
values() - -Static method in enum javax.servlet.sip.ar.SipTargetedRequestType -
Returns an array containing the constants of this enum type, in -the order they're declared. -
values() - -Static method in enum javax.servlet.sip.SipApplicationSession.Protocol -
Returns an array containing the constants of this enum type, in -the order they're declared. -
values() - -Static method in enum javax.servlet.sip.SipServletMessage.HeaderForm -
Returns an array containing the constants of this enum type, in -the order they're declared. -
values() - -Static method in enum javax.servlet.sip.SipSession.State -
Returns an array containing the constants of this enum type, in -the order they're declared. -
values() - -Static method in enum javax.servlet.sip.UAMode -
Returns an array containing the constants of this enum type, in -the order they're declared. -
valueUnbound(SipApplicationSessionBindingEvent) - -Method in interface javax.servlet.sip.SipApplicationSessionBindingListener -
Notifies the object that it is being unbound from an application session and - identifies the application session. -
valueUnbound(SipSessionBindingEvent) - -Method in interface javax.servlet.sip.SipSessionBindingListener -
Notifies the object that it is being unbound from a session and - identifies the session. -
-
-A B C D E G I J L N O P R S T U V - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/index.html b/build/jsr289-apidocs/javadocs/index.html deleted file mode 100644 index 6d43f38125..0000000000 --- a/build/jsr289-apidocs/javadocs/index.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - -SIP Servlet API 1.1 - - - - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to<A HREF="overview-summary.html">Non-frame version.</A> - - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/Address.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/Address.html deleted file mode 100644 index 2b951d9a44..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/Address.html +++ /dev/null @@ -1,562 +0,0 @@ - - - - - - -Address (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface Address

-
-
All Superinterfaces:
java.lang.Cloneable, Parameterable
-
-
-
-
public interface Address
extends Parameterable
- - -

-Represents SIP addresses as found, for example, in From, To, and - Contact headers. Applications use addresses when sending requests - as a user agent client (UAC) and when redirecting an incoming - request. - -

Addresses appear in a number of SIP headers and generally adhere - to the grammar (constituent non-terminals are defined in the SIP - specification, RFC 3261): -

- (name-addr / addr-spec) *(SEMI generic-param)
- 
- that is to say, Addresses consist of a URI, an optional display name, - and a set of name-value parameters. - -

The Address interface is used to represent the value of - all headers defined to contain one or more addresses as defined above. - Apart from From, To, and Contact, this includes - Route, Record-Route, Reply-To, Alert-Info, Call-Info, Error-Info, - as well as extension headers like P-Asserted-Identity, - P-Preferred-Identity, and Path. - -

Address objects can be constructed using one of the - SipFactory.createAddress methods and can be obtained - from messages using SipServletMessage.getAddressHeader(java.lang.String) and - SipServletMessage.getAddressHeaders(java.lang.String). -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Objectclone() - -
-          Returns a clone of this Address.
- booleanequals(java.lang.Object o) - -
-          Compares the given Address with this one.
- java.lang.StringgetDisplayName() - -
-          Returns the display name of this Address.
- intgetExpires() - -
-          Returns the value of the "expires" parameter as delta-seconds.
- floatgetQ() - -
-          Returns the value of the "q" parameter of this Address.
- URIgetURI() - -
-          Returns the URI component of this Address.
- booleanisWildcard() - -
-          Returns true if this Address represents the "wildcard" - contact address.
- voidsetDisplayName(java.lang.String name) - -
-          Sets the display name of this Address.
- voidsetExpires(int seconds) - -
-          Sets the value of the "expires" parameter.
- voidsetQ(float q) - -
-          Sets this Addresss qvalue.
- voidsetURI(URI uri) - -
-          Sets the URI of this Address.
- java.lang.StringtoString() - -
-          Returns the value of this address as a String.
- - - - - - - -
Methods inherited from interface javax.servlet.sip.Parameterable
getParameter, getParameterNames, getParameters, getValue, removeParameter, setParameter, setValue
-  -

- - - - - - - - -
-Method Detail
- -

-getDisplayName

-
-java.lang.String getDisplayName()
-
-
Returns the display name of this Address. This is - typically a caller or callees real name and may be rendered by a - user agent, for example when alerting. -

-

-
-
-
- -
Returns:
display name of this Address, or null if - one doesn't exist
-
-
-
- -

-setDisplayName

-
-void setDisplayName(java.lang.String name)
-
-
Sets the display name of this Address. -

-

-
-
-
-
Parameters:
name - display name -
Throws: -
java.lang.IllegalStateException - if this Address is used - in a context where it cannot be modified
-
-
-
- -

-getURI

-
-URI getURI()
-
-
Returns the URI component of this Address. - This method will return null for wildcard addresses - (see isWildcard(). For non-wildcard addresses the result - will always be non-null. -

-

-
-
-
- -
Returns:
the URI of this Address
-
-
-
- -

-setURI

-
-void setURI(URI uri)
-
-
Sets the URI of this Address. -

-

-
-
-
-
Parameters:
uri - new URI of this Address -
Throws: -
java.lang.IllegalStateException - if this Address is used - in a context where it cannot be modified -
java.lang.NullPointerException - on null uri.
-
-
-
- -

-isWildcard

-
-boolean isWildcard()
-
-
Returns true if this Address represents the "wildcard" - contact address. This is the case if it represents a Contact header - whose string value is "*". Likewise, - SipFactory.createAddress("*") - always returns a wildcard Address instance. -

-

-
-
-
- -
Returns:
true if this Address represents the "wildcard" - contact address, and false otherwise
-
-
-
- -

-getQ

-
-float getQ()
-
-
Returns the value of the "q" parameter of this Address. - The "qvalue" indicates the relative preference amongst a set of - locations. "qvalue" values are decimal numbers from 0 to 1, with - higher values indicating higher preference. -

-

-
-
-
- -
Returns:
this Address' qvalue or -1.0 if this is not set
-
-
-
- -

-setQ

-
-void setQ(float q)
-
-
Sets this Addresss qvalue. -

-

-
-
-
-
Parameters:
q - new qvalue for this Address or -1 to remove - the qvalue -
Throws: -
java.lang.IllegalArgumentException - if the new qvalue isn't between - 0.0 and 1.0 (inclusive) and isn't -1.0.
-
-
-
- -

-getExpires

-
-int getExpires()
-
-
Returns the value of the "expires" parameter as delta-seconds. -

-

-
-
-
- -
Returns:
value of "expires" parameter measured in delta-seconds, - or -1 if the parameter does not exist
-
-
-
- -

-setExpires

-
-void setExpires(int seconds)
-
-
Sets the value of the "expires" parameter. -

-

-
-
-
-
Parameters:
seconds - new relative value of the "expires" parameter. - A negative value causes the "expires" parameter to be removed.
-
-
-
- -

-toString

-
-java.lang.String toString()
-
-
Returns the value of this address as a String. The - resulting string must be a valid value of a SIP From or To header. -

-

-
Overrides:
toString in class java.lang.Object
-
-
- -
Returns:
value of this Address as a String
-
-
-
- -

-clone

-
-java.lang.Object clone()
-
-
Returns a clone of this Address. The cloned - Address has identical display name, URI, and - parameters, except that it has no tag parameter. This - means the cloned address can be used as an argument to - SipFactory.createRequest. -

-

-
Specified by:
clone in interface Parameterable
-
-
- -
Returns:
a clone of this Address
-
-
-
- -

-equals

-
-boolean equals(java.lang.Object o)
-
-
Compares the given Address with this one. -

As Addresses consist of a URI, an optional display name, and an optional set - of name-value parameters, the following rules should be used for - comparing them: -

    -
  1. URI (SipURI, TelURL, etc.) within the Address should be compared based - on their respective equals() methods. -
  2. Address parameters should be compared in the same way as URI parameters - (as specified in RFC 3261 Section 19.1.4) with no restrictions for - well-known URI params. -
  3. display-names should be ignored in the comparison. -
-

-

-
Specified by:
equals in interface Parameterable
Overrides:
equals in class java.lang.Object
-
-
-
Parameters:
o - given Parameterable to be compared with this. -
Returns:
true if the two Addresses are equal.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/AuthInfo.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/AuthInfo.html deleted file mode 100644 index b706b38673..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/AuthInfo.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -AuthInfo (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface AuthInfo

-
-
-
public interface AuthInfo
- - -

-This interface allows applications to set the authentication information on servlet - initiated requests that are challenged by a Proxy or UAS. -

- -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidaddAuthInfo(int statusCode, - java.lang.String realm, - java.lang.String username, - java.lang.String password) - -
-          Helper method to add authentication info into the AuthInfo object for - a challenge response of a specific type (401/407) and realm.
-  -

- - - - - - - - -
-Method Detail
- -

-addAuthInfo

-
-void addAuthInfo(int statusCode,
-                 java.lang.String realm,
-                 java.lang.String username,
-                 java.lang.String password)
-
-
Helper method to add authentication info into the AuthInfo object for - a challenge response of a specific type (401/407) and realm. -

-

-
Parameters:
statusCode - Status code (401/407) of the challenge response
realm - Realm that was returned in the challenge response
username -
password -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/B2buaHelper.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/B2buaHelper.html deleted file mode 100644 index 659c3865d3..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/B2buaHelper.html +++ /dev/null @@ -1,607 +0,0 @@ - - - - - - -B2buaHelper (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface B2buaHelper

-
-
-
public interface B2buaHelper
- - -

-Helper class providing support for B2BUA applications. An instance of this - class can be retrieved from a SipServletRequest by invoking - the method SipServletRequest.getB2buaHelper(). -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- SipServletRequestcreateCancel(SipSession session) - -
-          Creates a new CANCEL request to cancel the initial request sent on the other - leg.
- SipServletRequestcreateRequest(SipServletRequest origRequest) - -
-          Creates a new request object belonging to a new SipSession.
- SipServletRequestcreateRequest(SipServletRequest origRequest, - boolean linked, - java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerMap) - -
-          Creates a new request object belonging to a new SipSession.
- SipServletRequestcreateRequest(SipSession session, - SipServletRequest origRequest, - java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerMap) - -
-          Creates a new subsequent request based on the specified original - request.
- SipServletResponsecreateResponseToOriginalRequest(SipSession session, - int status, - java.lang.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.
- SipSessiongetLinkedSession(SipSession session) - -
-          Returns the other SipSession that is linked to the specified SipSession, - or null if none.
- SipServletRequestgetLinkedSipServletRequest(SipServletRequest req) - -
-          If a new request is created based on an existing one with the - link argument true using createRequest(SipServletRequest, boolean, java.util.Map) - or using createRequest(SipSession, SipServletRequest, java.util.Map) - the new request gets implicitly linked with the original request.
- java.util.List<SipServletMessage>getPendingMessages(SipSession session, - UAMode mode) - -
-          For the specified SipSession, returns a List of all uncommitted messages - in the order of increasing CSeq number for the given mode of the session.
- voidlinkSipSessions(SipSession session1, - SipSession session2) - -
-          Links the specified sessions, such that there is a 1-1 mapping - between them.
- voidunlinkSipSessions(SipSession session) - -
-          If the specified SipSession is linked to another session, then unlinks - the two sessions from each other.
-  -

- - - - - - - - -
-Method Detail
- -

-getLinkedSession

-
-SipSession getLinkedSession(SipSession session)
-
-
Returns the other SipSession that is linked to the specified SipSession, - or null if none. The sessions get linked by either explicit call to - linkSipSessions(SipSession, SipSession) or - createRequest(SipServletRequest, boolean, java.util.Map) -

-

-
Parameters:
session - the SipSession from which to obtain the linked session -
Returns:
the linked SipSession, or null if none -
Throws: -
java.lang.IllegalArgumentException - if the session is invalid
-
-
-
- -

-getLinkedSipServletRequest

-
-SipServletRequest getLinkedSipServletRequest(SipServletRequest req)
-
-
If a new request is created based on an existing one with the - link argument true using createRequest(SipServletRequest, boolean, java.util.Map) - or using createRequest(SipSession, SipServletRequest, java.util.Map) - the new request gets implicitly linked with the original request. - This method is to be used to retrieve the linked request. There is no - explicit linking/unlinking like that of the session for requests. However unlinking - of sessions also result in unlinking of linked requests. -

-

-
Parameters:
req - other request -
Returns:
the linked request
-
-
-
- -

-linkSipSessions

-
-void linkSipSessions(SipSession session1,
-                     SipSession session2)
-
-
Links the specified sessions, such that there is a 1-1 mapping - between them. Each session can retrieved from the other by calling - getLinkedSession(javax.servlet.sip.SipSession). One SipSession at any given time can be - linked to only one other SipSession belonging to the same - SipApplicationSession. Calling linkSessions() with already - linked sessions to each other is a no-op and is to be silently ignored, while - calling linkSessions() with any of the session linked with - other sessions result in java.lang.IllegalArgumentException -

-

-
Parameters:
session1 - the first SipSession to link
session2 - the other SipSession to link -
Throws: -
java.lang.IllegalArgumentException - if either of the specified sessions - has been terminated or the sessions do not belong to the same - application session or one or both the sessions are already linked - with some other session(s) -
java.lang.NullPointerException - if any of the arguments is null
-
-
-
- -

-unlinkSipSessions

-
-void unlinkSipSessions(SipSession session)
-
-
If the specified SipSession is linked to another session, then unlinks - the two sessions from each other. This also implicitly unlinks the linkage - at the request level. -

-

-
Parameters:
session - the session to be unlinked -
Throws: -
java.lang.IllegalArgumentException - if the session is not currently linked - to another session or it has been terminated
-
-
-
- -

-getPendingMessages

-
-java.util.List<SipServletMessage> getPendingMessages(SipSession session,
-                                                     UAMode mode)
-
-
For the specified SipSession, returns a List of all uncommitted messages - in the order of increasing CSeq number for the given mode of the session. -

-

-
Parameters:
session - the SipSession to check for pending messages
mode - the mode for which the pending messages are required, one of UAC or UAS -
Returns:
the list of SipServletMessage objects representing - pending messages for the session, or the empty list if none -
Throws: -
java.lang.IllegalArgumentException - if the session is invalid
-
-
-
- -

-createResponseToOriginalRequest

-
-SipServletResponse createResponseToOriginalRequest(SipSession session,
-                                                   int status,
-                                                   java.lang.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. This is required because the B2BUA - application may require to send more than one successful response to a - request. For example when a downstream proxy forked and more than one - success responses are to be forwarded upstream. This can only be - required on initial requests, as only original requests shall need such - multiple responses. - -

The response thus generated must have a different To tag from the - other responses generated to the Request and must result in a different - SipSession. In this (and similar) cases the container clones the - original SipSession for the second and subsequentdialogs, as detailed - above. The cloned session object will contain the same application data - but its createRequest method will create requests belonging to that - second or subsequent dialog, that is, with a To tag specific to that - dialog. -

-

-
Parameters:
session - the SipSession for the original request
status - the status code for the response
reasonPhrase - the reason phrase for the response, or null to use - a default reason phrase -
Returns:
the resulting SipServletResponse -
Throws: -
java.lang.IllegalStateException - if a subsequent response is inconsistent - with an already sent response. For example, a 400 response - following a 200 OK response. -
java.lang.IllegalArgumentException - if the session is invalid
-
-
-
- -

-createRequest

-
-SipServletRequest createRequest(SipServletRequest origRequest,
-                                boolean linked,
-                                java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerMap)
-                                throws java.lang.IllegalArgumentException,
-                                       TooManyHopsException
-
-
Creates a new request object belonging to a new SipSession. The - new request is similar to the specified origRequest - in that the method and the majority of header fields are copied - from origRequest to the new request. - The headerMap parameter can contain From, To, Contact, Route headers and any - non system header. The header field map is then used to override the - headers in the newly created request. - The SipSession created for the new request also shares the same - SipApplicationSession - associated with the original request. - -

This method satisfies the following rules: -

- -

This method provides a convenient and efficient way of - constructing the second "leg" of a B2BUA application, giving the - additional flexibility of changing the headers including From, To, Contact - and Route. - -

This method will also perform loop detection. - If the value of the original request's Max-Forwards header field is 0, - then TooManyHopsException is thrown and a 483 (Too many hops) - response is sent for the original request. Otherwise, the value of the - new requests Max-Forwards header is set to that of the original request - minus one. -

It is used only for the initial request. Subsequent requests in either leg - must be created using SipSession.createRequest(java.lang.String) or createRequest(SipSession, SipServletRequest, java.util.Map) as usual. -

-

-
Parameters:
origRequest - request to be "copied"
linked - indicating if the resulting session should be linked with original or not
headerMap - a simple map containing header names and their - values to be overridden in the new request. The values can be a specified in a - java.util.List to accomodate for multi-valued headers -
Returns:
the "copied" request object -
Throws: -
java.lang.IllegalArgumentException - if the headerMap contains a system - header other than From, To, Contact and Route (see section 4.1.3 to see what part of Contact header is to be used) - or some other header not relevant for the context, or the origRequest and - its session is linked to some other request/session and the linked flag is true, - or if the origRequest is not initial -
java.lang.NullPointerException - if the original request is null -
TooManyHopsException - if the original request's Max-Forwards header value is 0
-
-
-
- -

-createRequest

-
-SipServletRequest createRequest(SipServletRequest origRequest)
-
-
Creates a new request object belonging to a new SipSession. The - new request is similar to the specified origRequest - in that the method and the majority of header fields are copied - from origRequest to the new request. The SipSession - created for the new request also shares the same SipApplicationSession - associated with the original request. - -

This method satisfies the following rules: -

- -

This method provides a convenient and efficient way of - constructing a new "leg" of a B2BUA application. It is used - only for the initial request. Subsequent requests in either leg - must be created using SipSession.createRequest(java.lang.String) or - createRequest(SipSession, SipServletRequest, java.util.Map) as usual. -

-

-
Parameters:
origRequest - request to be "copied" -
Returns:
the "copied" request object
-
-
-
- -

-createRequest

-
-SipServletRequest createRequest(SipSession session,
-                                SipServletRequest origRequest,
-                                java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerMap)
-                                throws java.lang.IllegalArgumentException
-
-
Creates a new subsequent request based on the specified original - request. This results in automatically linking the two SipSessions - (if they are not already linked) and the two SipServletRequests. - -

This method, though similar to the factory method of creating the - request for a B2BUA for initial requests, is to be used for subsequent - requests. - The semantics are similar to SipSession.createRequest(String) - except that here it copies non system headers from the original request - onto the new request, the system headers are created based on the session - that this request is created on. Further the Route headers are set as - based on the session route set. The method of the new request is same - as that of the origRequest. If Contact header is present in - the headerMap then relevant portions of the Contact header are to be used - in the request created, in accordance with section 4.1.3 of the specification. - If From and To headers are present in the headerMap then all parts of - those headers except the tag parameter are to be used in the request - created, in accordance with section 4.1.2 of the specification. -

-

-
Parameters:
session - the session on which this request is to be created
origRequest - the original request
headerMap - the header map used to override the headers in the new - subsequent request created. Also see - createRequest(SipServletRequest, boolean, java.util.Map) -
Returns:
the new subsequent request -
Throws: -
java.lang.IllegalArgumentException - if the header map contains a system - header other than Contact, From or To (see sections 4.1.2 and 4.1.3 of - specification document) or other header which does not makes sense in the context, - or in case when the session does not belong to the same - SipApplicationSession as the origRequest, or the original request or session is - already linked with some other request/session, - or if the origRequest is not initial -
java.lang.NullPointerException - if the original request or the session is null
-
-
-
- -

-createCancel

-
-SipServletRequest createCancel(SipSession session)
-
-
Creates a new CANCEL request to cancel the initial request sent on the other - leg. The CANCEL is created by the container using the initial request - stored in the session corresponding to the other leg. -

-

-
Parameters:
session - the session whose initial request is to be cancelled. -
Returns:
the new CANCEL request to be sent on the other leg -
Throws: -
java.lang.NullPointerException - if the session is null
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ConvergedHttpSession.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ConvergedHttpSession.html deleted file mode 100644 index 02d1c9a8d8..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ConvergedHttpSession.html +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - -ConvergedHttpSession (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface ConvergedHttpSession

-
-
All Superinterfaces:
javax.servlet.http.HttpSession
-
-
-
-
public interface ConvergedHttpSession
extends javax.servlet.http.HttpSession
- - -

-The ConvergedHttpSession class provides access to HttpSession related - functionality which is only present in a converged HTTP/SIP container. - In a converged container, an instance of HttpSession can be cast to - ConvergedHttpSession in order to access methods available available - only to converged applications. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringencodeURL(java.lang.String url) - -
-          This method encodes the HTTP URL with the jsessionid.
- java.lang.StringencodeURL(java.lang.String relativePath, - java.lang.String scheme) - -
-          Converts the given relative path to an absolute URL by - prepending the contextPath for the current ServletContext, the given - scheme ("http" or "https"), and the host:port, and then encoding the - resulting URL with the jsessionid.
- SipApplicationSessiongetApplicationSession() - -
-          Returns the parent SipApplicationSession if it exists, if none exists - then a new one is created and returned after associating it with the - converged http session.
- - - - - - - -
Methods inherited from interface javax.servlet.http.HttpSession
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isNew, putValue, removeAttribute, removeValue, setAttribute, setMaxInactiveInterval
-  -

- - - - - - - - -
-Method Detail
- -

-getApplicationSession

-
-SipApplicationSession getApplicationSession()
-
-
Returns the parent SipApplicationSession if it exists, if none exists - then a new one is created and returned after associating it with the - converged http session. -

-

-
-
-
- -
Returns:
the parent SipApplicationSession
-
-
-
- -

-encodeURL

-
-java.lang.String encodeURL(java.lang.String url)
-
-
This method encodes the HTTP URL with the jsessionid. - ";jsessionid=http-session-id". The URL parameter should - be an absolute URL. For example, http://server:7001/mywebapp/foo.jsp. Where - "/mywebapp" is the context path of the the current ServletContext, because - that is where the httpSession belongs to. -

-

-
-
-
-
Parameters:
url - the HTTP URL String to be encoded -
Returns:
encoded URL with jsessionid
-
-
-
- -

-encodeURL

-
-java.lang.String encodeURL(java.lang.String relativePath,
-                           java.lang.String scheme)
-
-
Converts the given relative path to an absolute URL by - prepending the contextPath for the current ServletContext, the given - scheme ("http" or "https"), and the host:port, and then encoding the - resulting URL with the jsessionid. -

- For example, this method converts: -

-   from: "/foo.jsp"
-   to: "http://server:8888/mywebapp/foo.jsp;jsessionid=http-session-id"
- 
Where, - - "/mywebapp" is the contextPath for the current ServletContext - server is the front end host defined for the web server. -

-

-
-
-
-
Parameters:
relativePath - relative to the current webapp
scheme - the scheme ("http" or "https") -
Returns:
encoded URL with jsessionid
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/Parameterable.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/Parameterable.html deleted file mode 100644 index f26345ae76..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/Parameterable.html +++ /dev/null @@ -1,464 +0,0 @@ - - - - - - -Parameterable (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface Parameterable

-
-
All Superinterfaces:
java.lang.Cloneable
-
-
-
All Known Subinterfaces:
Address
-
-
-
-
public interface Parameterable
extends java.lang.Cloneable
- - -

-The Parameterable interface is used to indicate a SIP header - field value with optional parameters. All of the Address header fields are - Parameterable, including Contact, From, To, Route, Record-Route, and - Reply-To. In addition, the header fields Accept, Accept-Encoding, - Alert-Info, Call-Info, Content-Disposition, Content-Type, Error-Info, - Retry-After and Via are also Parameterable. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.Objectclone() - -
-          Returns a clone of this Parameterable.
- booleanequals(java.lang.Object o) - -
-          Compares the given Parameterable with this one.
- java.lang.StringgetParameter(java.lang.String key) - -
-          Returns the value of the named parameter, or null if it is not - set.
- java.util.Iterator<java.lang.String>getParameterNames() - -
-          Returns an Iterator of the names of all parameters - contained in this object.
- java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>>getParameters() - -
-          Returns a Collection view of the parameter name-value mappings - contained in this Parameterable.
- java.lang.StringgetValue() - -
-          Returns the field value as a string.
- voidremoveParameter(java.lang.String name) - -
-          Removes the named parameter from this object.
- voidsetParameter(java.lang.String name, - java.lang.String value) - -
-          Sets the value of the named parameter.
- voidsetValue(java.lang.String value) - -
-          Set the value of the field.
-  -

- - - - - - - - -
-Method Detail
- -

-getValue

-
-java.lang.String getValue()
-
-
Returns the field value as a string. -

-

-
-
-
- -
Returns:
the field value, not including parameters
-
-
-
- -

-setValue

-
-void setValue(java.lang.String value)
-
-
Set the value of the field. -

-

-
-
-
-
Parameters:
value - the new header field value, not including parameters -
Throws: -
java.lang.IllegalStateException - if the header field cannot be modified for this object -
java.lang.NullPointerException - if the value parameter is null
-
-
-
- -

-getParameter

-
-java.lang.String getParameter(java.lang.String key)
-
-
Returns the value of the named parameter, or null if it is not - set. A zero-length String indicates a flag parameter. -

-

-
-
-
-
Parameters:
key - a String specifying the parameter name -
Returns:
value of the specified parameter -
Throws: -
java.lang.NullPointerException - if key is null
-
-
-
- -

-setParameter

-
-void setParameter(java.lang.String name,
-                  java.lang.String value)
-
-
Sets the value of the named parameter. If this object previously - contained a value for the given parameter name, then the old value is - replaced by the specified value. The setting of a flag parameter is - indicated by specifying a zero-length String for the parameter value. - Calling this method with null value is equivalent to calling removeParameter(String) -

-

-
-
-
-
Parameters:
name - parameter name
value - new parameter value -
Throws: -
java.lang.IllegalStateException - if parameters cannot be modified for this object -
java.lang.NullPointerException - if name parameter is null
-
-
-
- -

-removeParameter

-
-void removeParameter(java.lang.String name)
-
-
Removes the named parameter from this object. Nothing is done if - the object did not already contain the specific parameter. -

-

-
-
-
-
Parameters:
name - parameter name -
Throws: -
java.lang.IllegalStateException - if parameters cannot be modified for this object -
java.lang.NullPointerException - if name is null
-
-
-
- -

-getParameterNames

-
-java.util.Iterator<java.lang.String> getParameterNames()
-
-
Returns an Iterator of the names of all parameters - contained in this object. The order is the order of appearance of the - parameters in the Parameterable. -

-

-
-
-
- -
Returns:
an Iterator of String objects that - are the names of the parameters contained in this object
-
-
-
- -

-getParameters

-
-java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>> getParameters()
-
-
Returns a Collection view of the parameter name-value mappings - contained in this Parameterable. The order is the order of appearance of the - parameters in the Parameterable. -

-

-
-
-
- -
Returns:
a Set of Map.Entry objects that - are the parameters on this Parameterable.
-
-
-
- -

-clone

-
-java.lang.Object clone()
-
-
Returns a clone of this Parameterable. The cloned - Parameterable has identical field value and parameters. -

-

-
-
-
- -
Returns:
a clone of this Parameterable
-
-
-
- -

-equals

-
-boolean equals(java.lang.Object o)
-
-
Compares the given Parameterable with this one. - -

As Parameterables consist of a field-value and an optional set of - name-value parameters, the following rules should be used for - comparing them: -

    -
  1. If the field-value is in the name-addr or addr-spec format, it should - be compared using the Address.equals() comparison rules. If the field-value - is a sequence of tokens, String comparison should be used. -
  2. Parameters should be compared in the same way as URI parameters - (as specified in RFC 3261 Section 19.1.4) with no restrictions for - well-known URI params. -
-

-

-
Overrides:
equals in class java.lang.Object
-
-
-
Parameters:
o - given Parameterable to be compared with this. -
Returns:
true if the two Parameterable are deemed equal.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/Proxy.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/Proxy.html deleted file mode 100644 index cabd9defe6..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/Proxy.html +++ /dev/null @@ -1,1163 +0,0 @@ - - - - - - -Proxy (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface Proxy

-
-
-
public interface Proxy
- - -

-Represents the operation of proxying a SIP request. - -

A number of parameters control how proxying is carried out: -

-
addToPath: -
addToPath: Whether the application adds a Path header to the REGISTER request. The default is false. -
recurse: -
Whether to autmotically recurse or not. The default is true. - -
recordRoute: -
Whether to record-route or not. The default is false. - -
parallel: -
Whether to proxy in parallel or sequentially. The default is true. - -
stateful: -
Whether to remain transaction stateful for the duration of the - proxying operation. The default is true. - -
supervised: -
Whether the application will be invoked on incoming responses related to this proxying. - -
proxyTimeout: -
The timeout for the proxy in general. In case the proxy is a sequential proxy - then this value behaves like the sequential-search-timeout - which is deprecated since v1.1. In case the proxy is a parallel proxy then this timeout acts as - the timeout for the entire proxy i.e each of its parallel branches before it starts - to send out CANCELs waiting for final responses on all INVITE branches and sends the - best final response upstream. - -
sequentialSearchTimeout: -
The time the container waits for a final response before it CANCELs - the branch and proxies to the next destination in the target set. The usage of - this explicit sequential timeout setting is deprecated and replaced by a general - proxyTimeout parameter. -
- - The effect of the various parameters is explained further below. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcancel() - -
-          Cancels this proxy transaction and any of its child branches if recursion - was enabled.
- voidcancel(java.lang.String[] protocol, - int[] reasonCode, - java.lang.String[] reasonText) - -
-          This overloaded method of cancel() provides a way to specify the - reason for cancelling this Proxy by including the appropriate - Reason headers [RFC 3326].
- java.util.List<ProxyBranch>createProxyBranches(java.util.List<? extends URI> targets) - -
-          Returns the list of ProxyBranch objects given a set of targets.
- booleangetAddToPath() - -
-          Returns true if subsequent invocations of proxyTo(URI) or startProxy() will add a Path header - to the proxied request, false otherwise.
- booleangetNoCancel() - -
-          Returns true if the proxy will not cancel outstanding - branches upon receiving the first 2xx INVITE response as in RFC 3841
- SipServletRequestgetOriginalRequest() - -
-          Returns the request received from the upstream caller.
- booleangetParallel() - -
-          Returns true if this proxy object is set to proxy in parallel, or - false if it is set to proxy sequentially.
- SipURIgetPathURI() - -
-          Returns a SipURI that the application can use to - add parameters to the Path header.
- ProxyBranchgetProxyBranch(URI uri) - -
-          Any branch has a primary URI associated with it, using which it was - created.
- java.util.List<ProxyBranch>getProxyBranches() - -
-          More than one branches are associated with a proxy when proxyTo(List) or createProxyBranches(List) - is used.
- intgetProxyTimeout() - -
-          The current value of the overall proxy timeout value.
- booleangetRecordRoute() - -
-          Returns true if subsequent invocations of proxyTo(URI) - will add a Record-Route header to the proxied request, false otherwise.
- SipURIgetRecordRouteURI() - -
-          Returns a SipURI that the application can use to - add parameters to the Record-Route header.
- booleangetRecurse() - -
-          Returns true if this proxy object is set to recurse, or false otherwise.
- intgetSequentialSearchTimeout() - -
-          Deprecated. use a more general purpose getProxyTimeout()
- booleangetStateful() - -
-          Deprecated. stateless proxy is no longer supported
- booleangetSupervised() - -
-          Returns true if the controlling servlet will be invoked on incoming - responses for this proxying operation, and false otherwise.
- voidproxyTo(java.util.List<? extends URI> uris) - -
-          Proxies a SIP request to the specified set of destinations.
- voidproxyTo(URI uri) - -
-          Proxies a SIP request to the specified destination.
- voidsetAddToPath(boolean p) - -
-          Specifies whether branches initiated in this proxy operation should - include a Path header for the REGISTER request for this servlet - container or not.
- voidsetNoCancel(boolean noCancel) - -
-          Specifies whether the proxy should, or should not cancel outstanding - branches upon receiving the first 2xx INVITE response as defined - in RFC 3841.
- voidsetOutboundInterface(java.net.InetAddress address) - -
-          In multi-homed environment this method can be used to select - the outbound interface to use when sending requests for proxy branches.
- voidsetOutboundInterface(java.net.InetSocketAddress address) - -
-          In multi-homed environment this method can be used to select - the outbound interface and port number to use for proxy branches.
- voidsetParallel(boolean parallel) - -
-          Specifies whether to proxy in parallel or sequentially.
- voidsetProxyTimeout(int seconds) - -
-          Sets the overall proxy timeout.
- voidsetRecordRoute(boolean rr) - -
-          Specifies whether branches initiated in this proxy operation should - include a Record-Route header for this servlet engine or not.
- voidsetRecurse(boolean recurse) - -
-          Specifies whether the servlet engine will automatically recurse or not.
- voidsetSequentialSearchTimeout(int seconds) - -
-          Deprecated. use a more general purpose setProxyTimeout(int)
- voidsetStateful(boolean stateful) - -
-          Deprecated. stateless proxy is no longer supported
- voidsetSupervised(boolean supervised) - -
-          Specifies whether the controlling servlet is to be invoked for - incoming responses relating to this proxying.
- voidstartProxy() - -
-          Proxies a SIP request to the set of destinations previously specified - in createProxyBranches(java.util.List).
-  -

- - - - - - - - -
-Method Detail
- -

-getOriginalRequest

-
-SipServletRequest getOriginalRequest()
-
-
Returns the request received from the upstream caller. -

-

- -
Returns:
object representing the incoming request that was proxied
-
-
-
- -

-proxyTo

-
-void proxyTo(URI uri)
-
-
Proxies a SIP request to the specified destination. - -

Implementations are required to support SipURI - arguments and may support other types of URIs. -

-

-
Parameters:
uri - specifies the destination to proxy to -
Throws: -
java.lang.IllegalStateException - if the transaction has already completed -
java.lang.IllegalArgumentException - e.g. if the scheme of the specified - URI is not supported for proxying -
java.lang.NullPointerException - if the uri is null
-
-
-
- -

-proxyTo

-
-void proxyTo(java.util.List<? extends URI> uris)
-
-
Proxies a SIP request to the specified set of destinations. -

-

-
Parameters:
uris - a list of URI objects to proxy to -
Throws: -
java.lang.IllegalStateException - if the transaction has already completed -
java.lang.IllegalArgumentException - if any of the destination URIs - contains a scheme that is not supported for proxying -
java.lang.NullPointerException - if any of the URI in the List is null.
-
-
-
- -

-cancel

-
-void cancel()
-
-
Cancels this proxy transaction and any of its child branches if recursion - was enabled. -

-

- -
Throws: -
java.lang.IllegalStateException - if the transaction has completed
-
-
-
- -

-cancel

-
-void cancel(java.lang.String[] protocol,
-            int[] reasonCode,
-            java.lang.String[] reasonText)
-
-
This overloaded method of cancel() provides a way to specify the - reason for cancelling this Proxy by including the appropriate - Reason headers [RFC 3326]. -

-

-
Parameters:
protocol - describes the source of the 'cause' field in the Reason header field.
reasonCode - corresponds to the 'cause' field. For eg, if protocol is SIP, the reasonCode - would be the status code of the response which caused the cancel
reasonText - describes the reason for cancelling the Proxy.
Since:
-
1.1
-
-
-
-
- -

-getRecurse

-
-boolean getRecurse()
-
-
Returns true if this proxy object is set to recurse, or false otherwise. -

-

- -
Returns:
true if proxying is enabled, false otherwise
-
-
-
- -

-setRecurse

-
-void setRecurse(boolean recurse)
-
-
Specifies whether the servlet engine will automatically recurse or not. - If recursion is enabled the servlet engine will automatically attempt - to proxy to contact addresses received in redirect (3xx) responses. - If recursion is disabled and no better response is received, a redirect - response will be passed to the application and will be passed upstream - towards the client. -

-

-
Parameters:
recurse - if true enables recursion, otherwise disables it
-
-
-
- -

-getRecordRoute

-
-boolean getRecordRoute()
-
-
Returns true if subsequent invocations of proxyTo(URI) - will add a Record-Route header to the proxied request, false otherwise. -

-

- -
Returns:
value of the "recordroute" flag
-
-
-
- -

-setRecordRoute

-
-void setRecordRoute(boolean rr)
-
-
Specifies whether branches initiated in this proxy operation should - include a Record-Route header for this servlet engine or not. This shall - affect all the branches created after its invocation. - -

Record-routing is used to specify that this servlet engine must - stay on the signaling path of subsequent requests. -

-

-
Parameters:
rr - if true the engine will record-route, otherwise it won't -
Throws: -
java.lang.IllegalStateException - if the proxy has already been started
-
-
-
- -

-getParallel

-
-boolean getParallel()
-
-
Returns true if this proxy object is set to proxy in parallel, or - false if it is set to proxy sequentially. -

-

- -
Returns:
value of the "parallel" flag
-
-
-
- -

-setParallel

-
-void setParallel(boolean parallel)
-
-
Specifies whether to proxy in parallel or sequentially. -

-

-
Parameters:
parallel - if true the servlet engine will proxy to all - destinations in parallel, otherwise it will proxy to one at a time
-
-
-
- -

-getStateful

-
-boolean getStateful()
-
-
Deprecated. stateless proxy is no longer supported -

-

Returns true if this proxy operation is transaction stateful - (the default), or false if it is stateless. -

-

- -
Returns:
always returns true
-
-
-
- -

-setStateful

-
-void setStateful(boolean stateful)
-
-
Deprecated. stateless proxy is no longer supported -

-

Specifies whether the server should proxy statelessly or not, - that is whether it should maintain transaction state whilst the - proxying operation is in progress. - -

This proxy parameter is a hint only. Implementations may - choose to maintain transaction state regardless of the value of - this flag, but if so the application will not be invoked again - for this transaction. -

-

-
Parameters:
stateful - if true the proxy operation will be stateful
-
-
-
- -

-getSupervised

-
-boolean getSupervised()
-
-
Returns true if the controlling servlet will be invoked on incoming - responses for this proxying operation, and false otherwise. -

-

- -
Returns:
true if the application will be invoked for responses, - and false if not
-
-
-
- -

-setSupervised

-
-void setSupervised(boolean supervised)
-
-
Specifies whether the controlling servlet is to be invoked for - incoming responses relating to this proxying. -

-

-
Parameters:
supervised - if true, the servlet invoked to handle the request - originally received will be notified when the "best" response - is received.
-
-
-
- -

-getProxyTimeout

-
-int getProxyTimeout()
-
-
The current value of the overall proxy timeout value. - This is measured in seconds. -

-

- -
Returns:
current value of proxy timeout in seconds.
Since:
-
1.1
-
-
-
-
- -

-getSequentialSearchTimeout

-
-int getSequentialSearchTimeout()
-
-
Deprecated. use a more general purpose getProxyTimeout() -

-

Returns the current value of the sequential search timeout parameter. - This is measured in seconds. -

-

- -
Returns:
current value of the sequential search timeout parameter
-
-
-
- -

-setProxyTimeout

-
-void setProxyTimeout(int seconds)
-
-
Sets the overall proxy timeout. If this proxy is a sequential - proxy then the behavior is same as the erstwhile setSequentialSearchTimeout(int). - Further the value set through this method shall override any explicit - sequential value set through deprecated setSequentialSearchTimeout(int). - On the other hand if the proxy is parallel then this acts as the upper limit - for the entire proxy operation resulting in equivalent of invoking cancel() if the - the proxy did not complete during this time, which means that a final response was not - sent upstream. -

-

-
Parameters:
seconds - seconds waited for each branch in case proxy is sequential and - overall wait for parallel proxy. -
Throws: -
java.lang.IllegalArgumentException - if the container cannot set the value as requested because it is too high, too low or negative
Since:
-
1.1
-
-
-
-
- -

-setSequentialSearchTimeout

-
-void setSequentialSearchTimeout(int seconds)
-
-
Deprecated. use a more general purpose setProxyTimeout(int) -

-

Sets the sequential search timeout value for this - Proxy object. This is the amount of time the - container waits for a final response when proxying - sequentially. When the timer expires the container CANCELs the - current branch and proxies to the next element in the target - set. - -

The container is free to ignore this parameter. -

-

-
Parameters:
seconds - seconds waited for a final responses when proxying - sequentially
-
-
-
- -

-getRecordRouteURI

-
-SipURI getRecordRouteURI()
-
-
Returns a SipURI that the application can use to - add parameters to the Record-Route header. This is used by - record-routing proxy applications in order to push state to the - endpoints and have it returned in subsequent requests belonging - to the same dialog. - -

Parameters added through a URI returned by this method can - be retrieved from a subsequent request in the same dialog by - calling ServletRequest.getParameter(java.lang.String). - -

Note that the URI returned is good only for - specifying a set of parameters that the application can - retrieve when invoked to handle subsequent requests in the same - dialog. Other components of the URI are irrelevant and cannot - be trusted to reflect the actual values that the container will - be using when inserting a Record-Route header into proxied - request. - -

Applications must not set SIP URI parameters defined in RFC3261. - This includes transport, user, method, ttl, maddr, and lr. Other - components of the URI, e.g. host, port, and URI scheme must also not - by modified by the application. These Record-Route URI components will - be populated by the container and may or may not have valid values at - the time an application proxies a request. Any attempt to set these - parameters or URI contents will thrown an IllegalArgumentException. - - Record Route parameters thus added affect the branches created right after. - If there are branches that were created prior to this modification then they - MUST continue to have the Record-Route header as was when they were created. - This means that the ProxyBranch gets a cloned copy of the header. -

-

- -
Returns:
SIP URI whose parameters can be modified and then retrieved - by this application when processing subsequent requests in the - same SIP dialog -
Throws: -
java.lang.IllegalStateException - if record-routing is not enabled
-
-
-
- -

-createProxyBranches

-
-java.util.List<ProxyBranch> createProxyBranches(java.util.List<? extends URI> targets)
-
-
Returns the list of ProxyBranch objects given a set of targets. - - The resulting branches will not have associated client transactions - until startProxy() is invoked. - -

Implementations are required to support SipURI - arguments and may support other types of URIs. -

-

-
Parameters:
targets - a list of URI objects to proxy to -
Throws: -
java.lang.IllegalArgumentException - if any of the destination URIs - contains a scheme that is not supported for proxying
Since:
-
1.1
-
-
-
-
- -

-getProxyBranch

-
-ProxyBranch getProxyBranch(URI uri)
-
-
Any branch has a primary URI associated with it, using which it was - created. The ProxyBranch may have been created using createProxyBranches(List) - method, implicitly when proxyTo() is called or when any of the proxy branch recurses - as a result of a redirect response. A URI uniquely identifies a branch. -

-

-
Parameters:
uri - URI using which the ProxyBranch may have been created -
Returns:
ProxyBranch associated with the uri
Since:
-
1.1
-
-
-
-
- -

-getProxyBranches

-
-java.util.List<ProxyBranch> getProxyBranches()
-
-
More than one branches are associated with a proxy when proxyTo(List) or createProxyBranches(List) - is used. This method returns the top level branches thus created. If recursion is enabled on - proxy or on any of its branches then on receipt of a 3xx class response on that branch, the branch may recurse into sub-branches. This method - returns just the top level branches started. -

-

- -
Returns:
all the the top level branches associated with this proxy
Since:
-
1.1
-
-
-
-
- -

-startProxy

-
-void startProxy()
-
-
Proxies a SIP request to the set of destinations previously specified - in createProxyBranches(java.util.List). This method will actually start - the proxy branches and their associated client transactions. - - For example, -
-   List branches = proxy.createProxyBranches(targets);
-   proxy.startProxy();
- 
- is essentially equivalent to Proxy.proxyTo(targets), - with the former giving the application finer control over the - individual proxy branches through the ProxyBranch class. Since the - createProxyBranches(List) can be invoked multiple times before - the startProxy method the effect of startProxy is - to start all the branches added in the target set. -

-

- -
Throws: -
java.lang.IllegalStateException - if the branches have not yet been created - or the proxy is already completed (final response sent upstream).
Since:
-
1.1
-
-
-
-
- -

-setOutboundInterface

-
-void setOutboundInterface(java.net.InetSocketAddress address)
-
-
In multi-homed environment this method can be used to select - the outbound interface and port number to use for proxy branches. - The specified address must be the address of one of the configured - outbound interfaces. The set of SipURI objects which represent the - supported outbound interfaces can be obtained from the servlet context - attribute named javax.servlet.sip.outboundInterfaces. - -

The port is interpreted as an advice by the app to the container. - If the port of the socket address has a non-zero value, the container - will make a best-effort attempt to use it as the source port number - for UDP packets, or as a source port number for TCP connections it - originates. If the port is not available, the container will use - its default port allocation scheme. -

Invocation of this method also impacts the system headers - generated by the container for this Proxy, such as the - Record-Route header (getRecordRouteURI()), - the Via and the Contact header. - The IP address part of the socket address is used to construct - these system headers. -

-

-
Parameters:
address - the socket address representing the outbound interface to use when - forwarding requests with this proxy -
Throws: -
java.lang.IllegalArgumentException - if the address is not understood - by the container as one of its outbound interface -
java.lang.NullPointerException - on null address
Since:
-
1.1
-
-
-
-
- -

-setOutboundInterface

-
-void setOutboundInterface(java.net.InetAddress address)
-
-
In multi-homed environment this method can be used to select - the outbound interface to use when sending requests for proxy branches. - The specified address must be the address of one of the configured - outbound interfaces. The set of SipURI objects which represent the - supported outbound interfaces can be obtained from the servlet context - attribute named javax.servlet.sip.outboundInterfaces. -

Invocation of this method also impacts the system headers - generated by the container for the branches, such as the - Record-Route header (getRecordRouteURI()) and - the Via. The specified IP address is used to construct - these system headers. -

-

-
Parameters:
address - the address which represents the outbound interface -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session -
java.lang.IllegalArgumentException - if the address does not - represent one of the container's outbound interfaces -
java.lang.NullPointerException - on null address
Since:
-
1.1
-
-
-
-
- -

-getAddToPath

-
-boolean getAddToPath()
-
-
Returns true if subsequent invocations of proxyTo(URI) or startProxy() will add a Path header - to the proxied request, false otherwise. -

-

- -
Returns:
value of the "addToPath" flag
Since:
-
1.1
-
-
-
-
- -

-setAddToPath

-
-void setAddToPath(boolean p)
-
-
Specifies whether branches initiated in this proxy operation should - include a Path header for the REGISTER request for this servlet - container or not. The Path header field for the container should be - on top of any application pushed Path header fields (pushed using the - SipServletRequest.pushPath() API). - -

Path header is used to specify that this Proxy must - stay on the signaling path of subsequent requests sent to the - Registered UA from the Home Proxy in the network. As a best practice, - before calling this method a proxy should check if the UA has indicated - support for the Path extension by checking the Supported header field - value in the request being proxied. The detailed procedure of Path header - handling is defined in RFC 3327. -

-

-
Parameters:
p - if true the container will add Path header
Since:
-
1.1
-
-
-
-
- -

-getPathURI

-
-SipURI getPathURI()
-
-
Returns a SipURI that the application can use to - add parameters to the Path header. This may be used by - Path header adding proxy applications in order to push state to the - Registrar and have it returned in subsequent requests for the - registered UA. - -

Parameters added through a URI returned by this method can - be retrieved from a subsequent request in the same dialog by - calling ServletRequest.getParameter(java.lang.String). - -

Note that the URI returned is good only for - specifying a set of parameters that the application can - retrieve when invoked to handle subsequent requests - Other components of the URI are irrelevant and cannot - be trusted to reflect the actual values that the container will - be using when inserting a Path header into proxied - request. -

-

- -
Returns:
SIP URI whose parameters can be modified and then retrieved - by this application when processing subsequent requests for the - UA -
Throws: -
java.lang.IllegalStateException - if addToPath is not enabled
Since:
-
1.1
-
-
-
-
- -

-setNoCancel

-
-void setNoCancel(boolean noCancel)
-
-
Specifies whether the proxy should, or should not cancel outstanding - branches upon receiving the first 2xx INVITE response as defined - in RFC 3841. -

The default proxy behavior, as per RFC 3261 section 16.7 point 10, - is to cancel outstanding branches upon receiving the first 2xx response; - this method allows configuring the proxy to keep the branches and - forward all 2xx responses upstream. -

Default is false. -

-

-
Parameters:
noCancel - when true, the proxy will not cancel outstanding branches - upon receiving the first 2xx response
Since:
-
1.1
-
-
-
-
- -

-getNoCancel

-
-boolean getNoCancel()
-
-
Returns true if the proxy will not cancel outstanding - branches upon receiving the first 2xx INVITE response as in RFC 3841 -

-

- -
Returns:
true if the proxy will not cancel outstanding - branches upon receiving the first 2xx response, - false otherwise
Since:
-
1.1
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ProxyBranch.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ProxyBranch.html deleted file mode 100644 index 66ab0549fe..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ProxyBranch.html +++ /dev/null @@ -1,784 +0,0 @@ - - - - - - -ProxyBranch (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface ProxyBranch

-
-
-
public interface ProxyBranch
- - -

-A ProxyBranch represents a branch which the Proxy sends out the - request on. The ProxyBranch object models the branch as used in - RFC3261 while describing a stateful proxy. - - For example, -

-   public void doInvite(SipServletRequest req) {
-     ...
-     Proxy p = req.getProxy();
-     p.setRecordRoute(true);
-     List branches = p.createProxyBranches(getTargets(req));
-     branches.get(0).setProxyBranchTimeout(5);
-     branches.get(1).setProxyBranchTimeout(10);
-     p.startProxy();
-     ...
-   }
- 
-

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcancel() - -
-          Cancels this branch and all the child branches if recursion is enabled and - sends a CANCEL to the proxied INVITEs.
- voidcancel(java.lang.String[] protocol, - int[] reasonCode, - java.lang.String[] reasonText) - -
-          This overloaded method of cancel() provides a way to specify the - reason for cancelling this branch by including the appropriate Reason headers [RFC 3326].
- booleangetAddToPath() - -
-          Returns true if subsequent invocations of - startProxy() will add a Path header - to the proxied request, false otherwise.
- SipURIgetPathURI() - -
-          Returns a SipURI that the application can use to - add parameters to the Path header.
- ProxygetProxy() - -
-           
- intgetProxyBranchTimeout() - -
-          Returns the current value of the search timeout associated - with this ProxyBranch object.
- booleangetRecordRoute() - -
-          Returns true if subsequent invocations of proxyTo(URI) - will add a Record-Route header to the proxied request, false otherwise.
- SipURIgetRecordRouteURI() - -
-          Returns a SipURI that the application can use to - add parameters to the Record-Route header.
- booleangetRecurse() - -
-          Returns true if this proxy branch object is set to recurse, or false otherwise.
- java.util.List<ProxyBranch>getRecursedProxyBranches() - -
-          Receipt of a 3xx class redirect response on a branch can result in recursed branches - if the proxy or the branch has recursion enabled.
- SipServletRequestgetRequest() - -
-          Returns the request associated with this branch.
- SipServletResponsegetResponse() - -
-          Returns the last response received on this branch.
- booleanisStarted() - -
-          The branch can be created using Proxy.createProxyBranches(java.util.List) and may be - started at a later time by using Proxy.startProxy().
- voidsetAddToPath(boolean p) - -
-          Specifies whether this branch should - include a Path header for the REGISTER request for this servlet - container or not.
- voidsetOutboundInterface(java.net.InetAddress address) - -
-          In multi-homed environment this method can be used to select - the outbound interface to use when sending requests for this - proxy branch.
- voidsetOutboundInterface(java.net.InetSocketAddress address) - -
-          In multi-homed environment this method can be used to select - the outbound interface and source port number when forwarding requests - for this proxy branch.
- voidsetProxyBranchTimeout(int seconds) - -
-          Sets the search timeout value for this - ProxyBranch object.
- voidsetRecordRoute(boolean rr) - -
-          Specifies whether this branch should - include a Record-Route header for this servlet engine or not.
- voidsetRecurse(boolean recurse) - -
-          Specifies whether the servlet engine will automatically recurse or not.
-  -

- - - - - - - - -
-Method Detail
- -

-getRequest

-
-SipServletRequest getRequest()
-
-
Returns the request associated with this branch. -

-

- -
Returns:
object representing the request that is or to be proxied.
-
-
-
- -

-cancel

-
-void cancel()
-
-
Cancels this branch and all the child branches if recursion is enabled and - sends a CANCEL to the proxied INVITEs. - - The effect is similar to Proxy.cancel() except that it is - limited to this branch and its children only. -

-

- -
Throws: -
java.lang.IllegalStateException - if the transaction has already been completed and it has no - child branches
-
-
-
- -

-cancel

-
-void cancel(java.lang.String[] protocol,
-            int[] reasonCode,
-            java.lang.String[] reasonText)
-
-
This overloaded method of cancel() provides a way to specify the - reason for cancelling this branch by including the appropriate Reason headers [RFC 3326]. -

-

-
Parameters:
protocol - describes the source of the 'cause' field in the Reason header field.
reasonCode - corresponds to the 'cause' field. For eg, if protocol is SIP, the reasonCode - would be the status code of the response which caused the cancel
reasonText - describes the reason for cancelling the Proxy.
Since:
-
1.1
-
-
-
-
- -

-getProxyBranchTimeout

-
-int getProxyBranchTimeout()
-
-
Returns the current value of the search timeout associated - with this ProxyBranch object. If this value is - not explicitly set using the setProxyBranchTimeout(int) then - the value is inherited from the Proxy setting. -

-

- -
Returns:
the search timeout value in seconds
-
-
-
- -

-setProxyBranchTimeout

-
-void setProxyBranchTimeout(int seconds)
-
-
Sets the search timeout value for this - ProxyBranch object. - - This is the amount of time the container waits for a final response - when proxying on this branch. This method can be used to - override the default timeout the branch obtains from the Proxy.setProxyTimeout(int) - object. When the timer expires the container CANCELs this branch and - proxies to the next element in the target set in case the proxy is a sequential proxy. - In case the proxy is a parallel proxy then this can only set the timeout value of this - branch to a value lower than the value in the proxy Proxy.getProxyTimeout(). The - effect of expiry of this timeout in case of parallel proxy is just to cancel this - branch as if an explicit call to cancel() has been made. -

-

-
Parameters:
seconds - new search timeout in seconds -
Throws: -
java.lang.IllegalArgumentException - if this value cannot be set by the container. Either it is too high, too low, negative or - greater than the overall proxy timeout value in parallel case.
-
-
-
- -

-getRecurse

-
-boolean getRecurse()
-
-
Returns true if this proxy branch object is set to recurse, or false otherwise. -

-

- -
Returns:
true if recursing is enabled, false otherwise
-
-
-
- -

-setRecurse

-
-void setRecurse(boolean recurse)
-
-
Specifies whether the servlet engine will automatically recurse or not. - If recursion is enabled the servlet engine will automatically attempt - to proxy to contact addresses received in redirect (3xx) responses. - If recursion is disabled and no better response is received, a redirect - response will be passed to the application and will be passed upstream - towards the client. -

-

-
Parameters:
recurse - if true enables recursion, otherwise disables it
-
-
-
- -

-getRecordRoute

-
-boolean getRecordRoute()
-
-
Returns true if subsequent invocations of proxyTo(URI) - will add a Record-Route header to the proxied request, false otherwise. -

-

- -
Returns:
value of the "recordroute" flag
-
-
-
- -

-setRecordRoute

-
-void setRecordRoute(boolean rr)
-
-
Specifies whether this branch should - include a Record-Route header for this servlet engine or not. -

-

Record-routing is used to specify that this servlet engine must - stay on the signaling path of subsequent requests. -

-

-
Parameters:
rr - if true the engine will record-route, otherwise it won't -
Throws: -
java.lang.IllegalStateException - if the proxy has already been started
-
-
-
- -

-getAddToPath

-
-boolean getAddToPath()
-
-
Returns true if subsequent invocations of - startProxy() will add a Path header - to the proxied request, false otherwise. -

-

- -
Returns:
value of the "addToPath" flag
Since:
-
1.1
-
-
-
-
- -

-setAddToPath

-
-void setAddToPath(boolean p)
-
-
Specifies whether this branch should - include a Path header for the REGISTER request for this servlet - container or not. - -

Path header is used to specify that this Proxy must - stay on the signaling path of subsequent requests sent to the - Registered UA from the Home Proxy in the network. As a best practice, - before calling this method a proxy should check if the UA has indicated - support for the Path extension by checking the Supported header field - value in the request being proxied. The detailed procedure of Path header - handling is defined in RFC 3327. -

-

-
Parameters:
p - if true the container will add Path header
Since:
-
1.1
-
-
-
-
- -

-getRecordRouteURI

-
-SipURI getRecordRouteURI()
-
-
Returns a SipURI that the application can use to - add parameters to the Record-Route header. This is used by - record-routing proxy applications in order to push state to the - endpoints and have it returned in subsequent requests belonging - to the same dialog. - -

Parameters added through a URI returned by this method can - be retrieved from a subsequent request in the same dialog by - calling ServletRequest.getParameter(java.lang.String). - -

Note that the URI returned is good only for - specifying a set of parameters that the application can - retrieve when invoked to handle subsequent requests in the same - dialog. Other components of the URI are irrelevant and cannot - be trusted to reflect the actual values that the container will - be using when inserting a Record-Route header into proxied - request. -

-

- -
Returns:
SIP URI whose parameters can be modified and then retrieved - by this application when processing subsequent requests in the - same SIP dialog -
Throws: -
java.lang.IllegalStateException - if record-routing is not enabled
-
-
-
- -

-getPathURI

-
-SipURI getPathURI()
-
-
Returns a SipURI that the application can use to - add parameters to the Path header. This may be used by - Path header adding proxy applications in order to push state to the - Registrar and have it returned in subsequent requests for the - registered UA. - -

Parameters added through a URI returned by this method can - be retrieved from a subsequent request in the same dialog by - calling ServletRequest.getParameter(java.lang.String). - -

Note that the URI returned is good only for - specifying a set of parameters that the application can - retrieve when invoked to handle subsequent requests - Other components of the URI are irrelevant and cannot - be trusted to reflect the actual values that the container will - be using when inserting a Path header into proxied - request. -

-

- -
Returns:
SIP URI whose parameters can be modified and then retrieved - by this application when processing subsequent requests for the - UA -
Throws: -
java.lang.IllegalStateException - if addToPath is not enabled
Since:
-
1.1
-
-
-
-
- -

-setOutboundInterface

-
-void setOutboundInterface(java.net.InetSocketAddress address)
-
-
In multi-homed environment this method can be used to select - the outbound interface and source port number when forwarding requests - for this proxy branch. - The specified address must be the address of one of the configured - outbound interfaces. The set of SipURI objects which represent the - supported outbound interfaces can be obtained from the servlet context - attribute named javax.servlet.sip.outboundInterfaces. -

The port is interpreted as an advice by the app to the container. - If the port of the socket address has a non-zero value, the container - will make a best-effort attempt to use it as the source port number - for UDP packets, or as a source port number for TCP connections it - originates. If the port is not available, the container will use - its default port allocation scheme. -

Invocation of this method also impacts the system headers - generated by the container for this ProxyBranch, such as the - Record-Route header (getRecordRouteURI()), - the Via and the Contact header. - The IP address part of the socket address is used to construct - these system headers. -

-

-
Parameters:
address - the socket address representing the outbound interface to use when - forwarding requests with this proxy branch -
Throws: -
java.lang.IllegalArgumentException - if the address is not understood - by the container as one of its outbound interface -
java.lang.NullPointerException - on null address
Since:
-
1.1
-
-
-
-
- -

-setOutboundInterface

-
-void setOutboundInterface(java.net.InetAddress address)
-
-
In multi-homed environment this method can be used to select - the outbound interface to use when sending requests for this - proxy branch. - The specified address must be the address of one of the configured - outbound interfaces. The set of SipURI objects which represent the - supported outbound interfaces can be obtained from the servlet context - attribute named javax.servlet.sip.outboundInterfaces. -

Invocation of this method also impacts the system headers - generated by the container for the branch, such as the - Record-Route header (getRecordRouteURI()) - and the Via. The supplied IP address is used to construct - these system headers. -

-

-
Parameters:
address - the address which represents the outbound interface -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session -
java.lang.IllegalArgumentException - if the address does not - represent one of the container's outbound interfaces -
java.lang.NullPointerException - on null address
Since:
-
1.1
-
-
-
-
- -

-getResponse

-
-SipServletResponse getResponse()
-
-
Returns the last response received on this branch. -

-

- -
Returns:
the last SipServletResponse received, or null if - no response has been received so far.
-
-
-
- -

-isStarted

-
-boolean isStarted()
-
-
The branch can be created using Proxy.createProxyBranches(java.util.List) and may be - started at a later time by using Proxy.startProxy(). This method tells if the given - branch has been started yet or not. The branches created as a result of proxyTo - are always started on creation. -

-

- -
Returns:
whether the branch has been started or not
-
-
-
- -

-getRecursedProxyBranches

-
-java.util.List<ProxyBranch> getRecursedProxyBranches()
-
-
Receipt of a 3xx class redirect response on a branch can result in recursed branches - if the proxy or the branch has recursion enabled. This can result in several levels of - recursed branches in a tree like fashion. This method returns the top level branches - directly below this ProxyBranch -

-

- -
Returns:
the top level branches below this ProxyBranch
-
-
-
- -

-getProxy

-
-Proxy getProxy()
-
-
- -
Returns:
the associated proxy with this branch
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/Rel100Exception.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/Rel100Exception.html deleted file mode 100644 index 0d9623a623..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/Rel100Exception.html +++ /dev/null @@ -1,466 +0,0 @@ - - - - - - -Rel100Exception (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class Rel100Exception

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by javax.servlet.ServletException
-              extended by javax.servlet.sip.Rel100Exception
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class Rel100Exception
extends javax.servlet.ServletException
- - -

-Indicates that a provisional response cannot be sent reliably or PRACK was - attempted to be created on a non reliable provisional response. - -

This is thrown by the container when an application requested - that a provisional response be sent reliably (using the 100rel - extension defined in RFC 3262) but one or more of the conditions - for using 100rel is not satisfied: -

- This exception is also thrown when SipServletResponse.createPrack() is - called for non-reliable provisional response or a final response or if the - original request was not an INVITE. - -

The actual reason why SipServletResponse.sendReliably() or - SipServletResponse.createPrack() failed can be discovered through - getReason(). -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static intNO_REQ_SUPPORT - -
-          Reason code indicating that the UAC didn't indicate support for - the reliable responses extension in the request.
-static intNOT_100rel - -
-          Reason code indicating that SipServletResponse.createPrack() - was invoked on a provisional response that is not reliable.
-static intNOT_1XX - -
-          Reason code indicating that SipServletResponse.sendReliably() or - SipServletResponse.createPrack() was invoked on a final or a 100 response.
-static intNOT_INVITE - -
-          Reason code indicating that SipServletResponse.sendReliably() or - SipServletResponse.createPrack() was invoked for a response to a - non-INVITE request.
-static intNOT_SUPPORTED - -
-          Reason code indicating that the container does not support - reliable provisional response.
-  - - - - - - - - - - -
-Constructor Summary
Rel100Exception(int reason) - -
-          Constructs a new Rel100Exception with the specified - error reason.
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetMessage() - -
-          Returns message phrase suitable for the reason integer code.
- intgetReason() - -
-          Returns an integer code indicating the specific reason why this - exception was thrown.
- - - - - - - -
Methods inherited from class javax.servlet.ServletException
getRootCause
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-NOT_1XX

-
-public static final int NOT_1XX
-
-
Reason code indicating that SipServletResponse.sendReliably() or - SipServletResponse.createPrack() was invoked on a final or a 100 response. -

-

-
See Also:
Constant Field Values
-
-
- -

-NOT_INVITE

-
-public static final int NOT_INVITE
-
-
Reason code indicating that SipServletResponse.sendReliably() or - SipServletResponse.createPrack() was invoked for a response to a - non-INVITE request. -

-

-
See Also:
Constant Field Values
-
-
- -

-NO_REQ_SUPPORT

-
-public static final int NO_REQ_SUPPORT
-
-
Reason code indicating that the UAC didn't indicate support for - the reliable responses extension in the request. -

-

-
See Also:
Constant Field Values
-
-
- -

-NOT_SUPPORTED

-
-public static final int NOT_SUPPORTED
-
-
Reason code indicating that the container does not support - reliable provisional response. -

-

-
See Also:
Constant Field Values
-
-
- -

-NOT_100rel

-
-public static final int NOT_100rel
-
-
Reason code indicating that SipServletResponse.createPrack() - was invoked on a provisional response that is not reliable. -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-Rel100Exception

-
-public Rel100Exception(int reason)
-
-
Constructs a new Rel100Exception with the specified - error reason. -

-

-
Parameters:
reason - one of NOT_1XX, NOT_INVITE, - NO_REQ_SUPPORT, NOT_SUPPORTED, - NOT_100rel
-
- - - - - - - - -
-Method Detail
- -

-getReason

-
-public int getReason()
-
-
Returns an integer code indicating the specific reason why this - exception was thrown. -

-

- -
Returns:
one of NOT_1XX, NOT_INVITE, - NO_REQ_SUPPORT, NOT_SUPPORTED, - NOT_100rel
-
-
-
- -

-getMessage

-
-public java.lang.String getMessage()
-
-
Returns message phrase suitable for the reason integer code. -

-

-
Overrides:
getMessage in class java.lang.Throwable
-
-
- -
Returns:
descriptive message phrase
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ServletParseException.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ServletParseException.html deleted file mode 100644 index a396b344dd..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ServletParseException.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - -ServletParseException (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class ServletParseException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by javax.servlet.ServletException
-              extended by javax.servlet.sip.ServletParseException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class ServletParseException
extends javax.servlet.ServletException
- - -

-Thrown by the container when an application attempts to parse - a malformed header or addressing structure. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
ServletParseException() - -
-          Constructs a new parse exception, without any message.
ServletParseException(java.lang.String msg) - -
-          Constructs a new parse exception with the specified message.
ServletParseException(java.lang.String message, - java.lang.Throwable cause) - -
-          Constructs a new parse exception with the specified detail message and - cause.
ServletParseException(java.lang.Throwable cause) - -
-          Constructs a new parse exception with the specified cause and a detail - message of (cause==null ? null : cause.toString()) (which - typically contains the class and detail message of cause).
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class javax.servlet.ServletException
getRootCause
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ServletParseException

-
-public ServletParseException()
-
-
Constructs a new parse exception, without any message. -

-

-
- -

-ServletParseException

-
-public ServletParseException(java.lang.String msg)
-
-
Constructs a new parse exception with the specified message. -

-

-
Parameters:
msg - a String specifying the text of the - exception message
-
-
- -

-ServletParseException

-
-public ServletParseException(java.lang.String message,
-                             java.lang.Throwable cause)
-
-
Constructs a new parse exception with the specified detail message and - cause. - -

Note that the detail message associated with cause is - not automatically incorporated in this exception's detail - message. -

-

-
Parameters:
message - the detail message (which is saved for later retrieval - by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the - Throwable.getCause() method). (A null value - is permitted, and indicates that the cause is nonexistent or - unknown.)
Since:
-
1.1
-
-
-
- -

-ServletParseException

-
-public ServletParseException(java.lang.Throwable cause)
-
-
Constructs a new parse exception with the specified cause and a detail - message of (cause==null ? null : cause.toString()) (which - typically contains the class and detail message of cause). - This constructor is useful for exceptions that are little more than - wrappers for other throwables. -

-

-
Parameters:
cause - the cause (which is saved for later retrieval by the - Throwable.getCause() method). (A null value is - permitted, and indicates that the cause is nonexistent or - unknown.)
Since:
-
1.1
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ServletTimer.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ServletTimer.html deleted file mode 100644 index 483d382425..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ServletTimer.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - -ServletTimer (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface ServletTimer

-
-
-
public interface ServletTimer
- - -

-Created by the TimerService for servlet applications - wishing to schedule future tasks. -

- -

-

-
See Also:
TimerService, -TimerListener
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcancel() - -
-          Cancels this timer.
- SipApplicationSessiongetApplicationSession() - -
-          Returns the application session associated with this - ServletTimer.
- java.lang.StringgetId() - -
-          Returns a string containing the unique identifier assigned to - this timer task.
- java.io.SerializablegetInfo() - -
-          Get the information associated with the timer at the time of - creation.
- longgetTimeRemaining() - -
-          Get the number of milliseconds that will elapse before the next scheduled - timer expiration.
- longscheduledExecutionTime() - -
-          Returns the scheduled expiration time of the most recent actual - expiration of this timer.
-  -

- - - - - - - - -
-Method Detail
- -

-getId

-
-java.lang.String getId()
-
-
Returns a string containing the unique identifier assigned to - this timer task. The identifier is assigned by the servlet container - and is implementation dependent. -

-

- -
Returns:
a string specifying the identifier assigned to this session
Since:
-
1.1
-
-
-
-
- -

-getApplicationSession

-
-SipApplicationSession getApplicationSession()
-
-
Returns the application session associated with this - ServletTimer. -

-

- -
Returns:
application session associated with this - ServletTimer
-
-
-
- -

-getInfo

-
-java.io.Serializable getInfo()
-
-
Get the information associated with the timer at the time of - creation. -

-

- -
Returns:
the Serializable object that was passed in - at timer creation, or null if the info argument - passed in at timer creation was null.
-
-
-
- -

-scheduledExecutionTime

-
-long scheduledExecutionTime()
-
-
Returns the scheduled expiration time of the most recent actual - expiration of this timer. - -

This method is typically invoked from within - TimerListener.timerFired to determine whether the - timer callback was sufficiently timely to warrant performing the - scheduled activity: - -

-   public void run() {
-       if (System.currentTimeMillis() - scheduledExecutionTime() >=
-           MAX_TARDINESS)
-               return;  // Too late; skip this execution.
-       // Perform the task
-   }
- 
- -

This method is typically not used in conjunction with fixed-delay - execution repeating tasks, as their scheduled execution times are - allowed to drift over time, and so are not terribly significant. -

-

- -
Returns:
the time at which the most recent expiration of this timer - was scheduled to occur, in the format returned by - Date.getTime(). - The return value is undefined if the timer has yet to expire for - the first time.
-
-
-
- -

-cancel

-
-void cancel()
-
-
Cancels this timer. If the task has been scheduled for one-time - execution and has not yet expired, or has not yet been scheduled, it - will never run. If the task has been scheduled for repeated - execution, it will never expire again. - -

Note that calling this method on a repeating ServletTimer - from within the timerFired method of a - TimerListener absolutely guarantees that the timer - will not fire again (unless rescheduled). - -

This method may be called repeatedly; the second and subsequent - calls have no effect. -

-

-
-
-
-
- -

-getTimeRemaining

-
-long getTimeRemaining()
-
-
Get the number of milliseconds that will elapse before the next scheduled - timer expiration. For a one-time timer that has already expired - (i.e., current time > scheduled expiry time) this method will return the - time remaining as a negative value. -

-

- -
Returns:
the number of milliseconds that will elapse before the next - scheduled timer expiration.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSession.Protocol.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSession.Protocol.html deleted file mode 100644 index 4e1fff8556..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSession.Protocol.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - -SipApplicationSession.Protocol (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Enum SipApplicationSession.Protocol

-
-java.lang.Object
-  extended by java.lang.Enum<SipApplicationSession.Protocol>
-      extended by javax.servlet.sip.SipApplicationSession.Protocol
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SipApplicationSession.Protocol>
-
-
-
Enclosing interface:
SipApplicationSession
-
-
-
-
public static enum SipApplicationSession.Protocol
extends java.lang.Enum<SipApplicationSession.Protocol>
- - -

-Possible protocols to which sessions contained in the - SipApplicationSession belong to. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - -
-Enum Constant Summary
HTTP - -
-           
SIP - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static SipApplicationSession.ProtocolvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static SipApplicationSession.Protocol[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-SIP

-
-public static final SipApplicationSession.Protocol SIP
-
-
-
-
-
- -

-HTTP

-
-public static final SipApplicationSession.Protocol HTTP
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final SipApplicationSession.Protocol[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(SipApplicationSession.Protocol c : SipApplicationSession.Protocol.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static SipApplicationSession.Protocol valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSession.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSession.html deleted file mode 100644 index a7ee42b3a3..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSession.html +++ /dev/null @@ -1,959 +0,0 @@ - - - - - - -SipApplicationSession (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipApplicationSession

-
-
-
public interface SipApplicationSession
- - -

-Represents application instances. The SipApplicationSession - interface acts as a store for application data and provides access to - contained protocol sessions, e.g. SipSession and - HttpSession objects representing point-to-point signaling - relationships. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static classSipApplicationSession.Protocol - -
-          Possible protocols to which sessions contained in the - SipApplicationSession belong to.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidencodeURI(URI uri) - -
-          Deprecated. has potential to break application composition - instead of this use the SipApplicationKey mechanism - as described in section 15.11.2 in the SIP Servlet - specification document.
- java.net.URLencodeURL(java.net.URL url) - -
-          Encode specified URL to include the application session ID in a way - such that the parameter used to encode the application session ID - should be unique across implementations.
- java.lang.StringgetApplicationName() - -
-          Returns the name of the SIP application this SipApplicationSession is - associated with.
- java.lang.ObjectgetAttribute(java.lang.String name) - -
-          Returns the object bound with the specified name in this session, - or null if no object is bound under the name.
- java.util.Iterator<java.lang.String>getAttributeNames() - -
-          Returns an Iterator over the String - objects containing the names of all the objects bound to this session.
- longgetCreationTime() - -
-          Returns the time when this session was created, measured in - milliseconds since midnight January 1, 1970 GMT.
- longgetExpirationTime() - -
-          Returns the time in future when this SipApplicationSession will expire.
- java.lang.StringgetId() - -
-          Returns a string containing the unique identifier assigned to - this session.
- booleangetInvalidateWhenReady() - -
-          Returns true if the container will notify the application when this - SipApplicationSession is in the ready-to-invalidate state.
- longgetLastAccessedTime() - -
-          Returns the last time an event occurred on this application session.
- java.lang.ObjectgetSession(java.lang.String id, - SipApplicationSession.Protocol protocol) - -
-          Returns the session object with the specified id associated with the - specified protocol belonging to this application session, or null if not - found.
- java.util.Iterator<?>getSessions() - -
-          Returns an Iterator over all valid "protocol" sessions - associated with this application session.
- java.util.Iterator<?>getSessions(java.lang.String protocol) - -
-          Returns an Iterator over all valid "protocol" session objects - associated with the specified protocol associated with this application - session.
- SipSessiongetSipSession(java.lang.String id) - -
-          Returns the SipSession with the specified id belonging - to this application session, or null if not found.
- ServletTimergetTimer(java.lang.String id) - -
-          Returns the active timer identified by a specific id that is associated - with this application session.
- java.util.Collection<ServletTimer>getTimers() - -
-          Returns all active timers associated with this application session.
- voidinvalidate() - -
-          Invalidates this application session and unbinds any objects bound to - it.
- booleanisReadyToInvalidate() - -
-          Returns true if this application session is in a ready-to-invalidate state.
- booleanisValid() - -
-          Returns if this SipApplicationSession is valid, false otherwise.
- voidremoveAttribute(java.lang.String name) - -
-          Removes the object bound with the specified name from this session.
- voidsetAttribute(java.lang.String name, - java.lang.Object attribute) - -
-          Binds an object to this session, using the name specified.
- intsetExpires(int deltaMinutes) - -
-          Sets the time of expiry for this application session.
- voidsetInvalidateWhenReady(boolean invalidateWhenReady) - -
-          Specifies whether the container should notify the application when the - SipApplicationSession is in the ready-to-invalidate state as defined - above.
-  -

- - - - - - - - -
-Method Detail
- -

-getCreationTime

-
-long getCreationTime()
-
-
Returns the time when this session was created, measured in - milliseconds since midnight January 1, 1970 GMT. -

-

- -
Returns:
a long specifying when this session was created, - expressed in milliseconds since 1/1/1970 GMT -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
-
-
-
- -

-getLastAccessedTime

-
-long getLastAccessedTime()
-
-
Returns the last time an event occurred on this application session. - For SIP, incoming and outgoing requests and incoming responses are - considered events. The time is returned as the number of milliseconds - since midnight January 1, 1970 GMT. - -

Actions that applications take, such as getting or setting a - value associated with the session, do not affect the access time. -

-

- -
Returns:
a long representing the last time the client sent a - request associated with this session, expressed in - milliseconds since 1/1/1970 GMT
-
-
-
- -

-getExpirationTime

-
-long getExpirationTime()
-
-
Returns the time in future when this SipApplicationSession will expire. - This would be the time of session creation + the expiration time set in - milliseconds. For sessions that are set never to expire, this returns - 0. For sessions that have already - expired this returns Long.MIN_VALUE - - The time is returned as the number of milliseconds - since midnight January 1, 1970 GMT. -

-

- -
Returns:
a long representing the time in future when this session - will expire expressed in milliseconds since 1/1/1970 GMT. -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
Since:
-
1.1
-
-
-
-
- -

-getId

-
-java.lang.String getId()
-
-
Returns a string containing the unique identifier assigned to - this session. The identifier is assigned by the servlet container - and is implementation dependent. For applications with a method - with SipApplicationKey annotation the containers MUST incorporate the return - value from that into its Id generation, such that a certain key is - consistently associated with one and only one SipApplication instance. -

-

- -
Returns:
a String identifier for this application session
-
-
-
- -

-getApplicationName

-
-java.lang.String getApplicationName()
-
-
Returns the name of the SIP application this SipApplicationSession is - associated with. -

-

- -
Returns:
name of the SIP application, this SipApplicationSession is - associated with
-
-
-
- -

-setExpires

-
-int setExpires(int deltaMinutes)
-
-
Sets the time of expiry for this application session. - -

This allows servlets to programmatically extend the lifetime - of application sessions. This method may be invoked by an - application in the notification that the application session has - expired: SipApplicationSessionListener.sessionExpired. - If the server is willing to extend the session lifetime it returns - the actual number of minutes the session lifetime has been extended - with, and the listener will be invoked about session expiry again - at a later time. - -

This helps applications clean up resources in a reasonable - amount of time in situations where it depends on external events - to complete an application session. Being able to extend session - lifetime means the application is not forced to choose a very high - session lifetime to begin with. - -

It is entirely up to server policy whether to grant or deny the - applications request to extend session lifetime. - - Note that any attempt to extend the lifetime of an explicitly - invalidated application session, one for which setExpires(int) - has been invoked, will always fail. - -

In order to make the SipApplicationSession immortal i.e never - expire, setExpires should be called with 0 (or -ve number), - again it is upto the container to accept this or not. If the container - does accept setting the session to never expire then it returns - Integer.MAX_VALUE. -

-

-
Parameters:
deltaMinutes - the number of minutes that the lifetime of this - SipApplicationSession is extended with, if this param is - 0 (or negative) then the session never expires -
Returns:
actual number of minutes the lifetime of this session - has been extended with, or 0 if wasn't extended -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
-
-
-
- -

-invalidate

-
-void invalidate()
-
-
Invalidates this application session and unbinds any objects bound to - it. The invalidation will cause any timers associated with this - application session to be cancelled. -

-

- -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
-
-
-
- -

-isReadyToInvalidate

-
-boolean isReadyToInvalidate()
-
-
Returns true if this application session is in a ready-to-invalidate state. - A SipApplicationSession is in the ready-to-invalidate state - if the following conditions are met: -
    -
  1. All the contained SipSessions are in the ready-to-invalidate state. -
  2. None of the ServletTimers associated with the SipApplicationSession - are active. -
-

-

- -
Returns:
true if the application session is in ready-to-invalidate state, - false otherwise -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
Since:
-
1.1
-
See Also:
SipSession.isReadyToInvalidate()
-
-
-
- -

-setInvalidateWhenReady

-
-void setInvalidateWhenReady(boolean invalidateWhenReady)
-
-
Specifies whether the container should notify the application when the - SipApplicationSession is in the ready-to-invalidate state as defined - above. The container notifies the application using the - SipApplicationSessionListener.sessionReadyToInvalidate - callback. -

-

-
Parameters:
invalidateWhenReady - if true, the container will observe this - application session and notify the application when it is in the - ready-to-invalidate state. The application session is not observed if the - flag is false. - The default is true for v1.1 applications and false for v1.0 - applications. -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
Since:
-
1.1
-
See Also:
isReadyToInvalidate(), -SipApplicationSessionListener.sessionReadyToInvalidate(SipApplicationSessionEvent ev)
-
-
-
- -

-getInvalidateWhenReady

-
-boolean getInvalidateWhenReady()
-
-
Returns true if the container will notify the application when this - SipApplicationSession is in the ready-to-invalidate state. -

-

- -
Returns:
value of the invalidateWhenReady flag -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
Since:
-
1.1
-
See Also:
isReadyToInvalidate()
-
-
-
- -

-getSessions

-
-java.util.Iterator<?> getSessions()
-
-
Returns an Iterator over all valid "protocol" sessions - associated with this application session. This may include a mix - of different types of protocol sessions, e.g. SipSession - and javax.servlet.http.HttpSession objects. -

-

- -
Returns:
Iterator over set of valid protocol sessions belonging - to this application session -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
-
-
-
- -

-getSessions

-
-java.util.Iterator<?> getSessions(java.lang.String protocol)
-
-
Returns an Iterator over all valid "protocol" session objects - associated with the specified protocol associated with this application - session. If the specified protocol is not supported, an empty - Iterator is returned. - -

If "SIP" is specified the result will be an Iterator - over the set of valid SipSession objects belonging to this application - session. For "HTTP" the result will be a list of - javax.servlet.http.HttpSession objects. -

-

-
Parameters:
protocol - a string identifying the protocol name, e.g. "SIP" -
Returns:
Iterator over all valid protocol sessions of the - specified protocol -
Throws: -
java.lang.IllegalStateException - if this application session is not valid -
java.lang.NullPointerException - if the protocol is null -
java.lang.IllegalArgumentException - if the protocol is not understood by container.
-
-
-
- -

-getSipSession

-
-SipSession getSipSession(java.lang.String id)
-
-
Returns the SipSession with the specified id belonging - to this application session, or null if not found. -

-

-
Parameters:
id - the SipSession id -
Returns:
the corresponding SipSession, or null if none is found. -
Throws: -
java.lang.NullPointerException - on null id -
java.lang.IllegalStateException - if this application session is not valid
Since:
-
1.1
-
-
-
-
- -

-getSession

-
-java.lang.Object getSession(java.lang.String id,
-                            SipApplicationSession.Protocol protocol)
-
-
Returns the session object with the specified id associated with the - specified protocol belonging to this application session, or null if not - found. -

-

-
Parameters:
id - the session id
protocol - an Enum identifying the protocol -
Returns:
the corresponding session object or null if none is found. -
Throws: -
java.lang.NullPointerException - on null id or protocol -
java.lang.IllegalStateException - if this application session is not valid
Since:
-
1.1
-
-
-
-
- -

-encodeURI

-
-void encodeURI(URI uri)
-
-
Deprecated. has potential to break application composition - instead of this use the SipApplicationKey mechanism - as described in section 15.11.2 in the SIP Servlet - specification document. -

-

Encodes the ID of this SipApplicationSession into the - specified URI. The container must then be prepared to associate - this application session with an incoming request which was - triggered by activating the encoded URI. - -

In the case of SIP and SIPS URIs, the container may also rewrite - the host, port, and transport protocol components of the URI based - on its knowledge of local listen points. When doing so it should - take existing settings as a hint as to which listen point to select - when it has more than one. - -

This method allow applications to correlate events which would - otherwise be treated as being independent, that is, as belonging to - different application sessions. For example, an application might - send an instant message with an HTML body to someone. The - IM body may then contain a SIP URI pointing back to the SIP servlet - container and the - application session in which the IM was generated, thus ensuring - that an INVITE triggered by the IM recipient triggering that URI - is associated with this application session when received by the - container. - -

Containers are required to support rewriting of SIP and SIPS URIs. -

-

-
Parameters:
uri - the uri to be encoded -
Throws: -
java.lang.IllegalArgumentException - if the container doesn't know how - to rewrite the specified URI, for example, because it doesn't - know the specific scheme -
java.lang.IllegalStateException - if this application session is not valid
-
-
-
- -

-getAttribute

-
-java.lang.Object getAttribute(java.lang.String name)
-
-
Returns the object bound with the specified name in this session, - or null if no object is bound under the name. -

-

-
Parameters:
name - a string specifying the name of the object -
Returns:
the object with the specified name -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
-
-
-
- -

-getAttributeNames

-
-java.util.Iterator<java.lang.String> getAttributeNames()
-
-
Returns an Iterator over the String - objects containing the names of all the objects bound to this session. -

Note: This is a fail-fast iterator and can throw ConcurrentModificationException - if the underlying implementation does not allow modification after the - iterator is created. -

-

- -
Returns:
an Iterator over the String objects - specifying the names of all the objects bound to this session -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
-
-
-
- -

-setAttribute

-
-void setAttribute(java.lang.String name,
-                  java.lang.Object attribute)
-
-
Binds an object to this session, using the name specified. - If an object of the same name is already bound to the session, - the object is replaced. -

-

-
Parameters:
name - the name to which the object is bound; cannot be null
attribute - the object to be bound; cannot be null -
Throws: -
java.lang.IllegalStateException - if this application session is not valid -
java.lang.NullPointerException - if the name or attribute - is null.
-
-
-
- -

-removeAttribute

-
-void removeAttribute(java.lang.String name)
-
-
Removes the object bound with the specified name from this session. - If the session does not have an object bound with the specified name, - this method does nothing. -

-

-
Parameters:
name - the name of the object to remove from this session -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
-
-
-
- -

-getTimers

-
-java.util.Collection<ServletTimer> getTimers()
-
-
Returns all active timers associated with this application session. -

-

- -
Returns:
a Collection of ServletTimer - objects belonging to this application session -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
-
-
-
- -

-getTimer

-
-ServletTimer getTimer(java.lang.String id)
-
-
Returns the active timer identified by a specific id that is associated - with this application session. -

-

- -
Returns:
the ServletTimer object identified by the id belonging - to this application session -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
Since:
-
1.1
-
-
-
-
- -

-isValid

-
-boolean isValid()
-
-
Returns if this SipApplicationSession is valid, false otherwise. - - The SipSession can be invalidated by calling the method - SipSession.invalidate() on it or if its invalidateWhenReady flag - is true and it transitions to the ready-to-invalidate state. - Also the SipSession can be invalidated by the container when either the associated - SipApplicationSession times out or - invalidate() is invoked. -

-

- -
Returns:
boolean true if the session is valid, false otherwise.
Since:
-
1.1
-
-
-
-
- -

-encodeURL

-
-java.net.URL encodeURL(java.net.URL url)
-
-
Encode specified URL to include the application session ID in a way - such that the parameter used to encode the application session ID - should be unique across implementations. The recommended way is to - use the java package name of the implementation, like - com.acme.appsession. This mechanism can be used by the applications - to encode the HTTP URL with the application session Id. This URL can - then be sent out through some of out of band mechanism. When the HTTP - Request comes back to the converged container with this request, the - container must associate the new HttpSession with the encoded - Application Session. In case the HTTP request is not a new request - but a follow on request already associated with a HTTP Session then - the converged containers must use the HTTP session association - mechanism to route the request to the right HTTP Session. If that HTTP - Session was not associated with the encoded SipApplicationSession in the - request then that association MUST occur. This mechanism is - similar to how the (deprecated) encodeURI() operates for SIP. - - -

-

-
Parameters:
url - the URL to be encoded -
Returns:
the resulting URL containing the encoded app session id -
Throws: -
java.lang.IllegalStateException - if this application session is not valid
Since:
-
1.1
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionActivationListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionActivationListener.html deleted file mode 100644 index 73e7dda1cf..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionActivationListener.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - -SipApplicationSessionActivationListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipApplicationSessionActivationListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipApplicationSessionActivationListener
extends java.util.EventListener
- - -

-Objects that are bound to a SipApplicationSession may listen to container events - notifying them when the application session to which they are bound will be passivated or - activated. A container that migrates application sessions between VMs or persists them is - required to notify all attributes implementing this listener and that are bound to those - application sessions of the events. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- voidsessionDidActivate(SipApplicationSessionEvent se) - -
-          Notification that the application session has just been activated.
- voidsessionWillPassivate(SipApplicationSessionEvent se) - -
-          Notification that the application session is about to be passivated.
-  -

- - - - - - - - -
-Method Detail
- -

-sessionWillPassivate

-
-void sessionWillPassivate(SipApplicationSessionEvent se)
-
-
Notification that the application session is about to be passivated. -

-

-
-
-
-
Parameters:
se - event identifying the application session about to be persisted
Since:
-
1.1
-
-
-
-
- -

-sessionDidActivate

-
-void sessionDidActivate(SipApplicationSessionEvent se)
-
-
Notification that the application session has just been activated. -

-

-
-
-
-
Parameters:
se - event identifying the activated application session
Since:
-
1.1
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionAttributeListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionAttributeListener.html deleted file mode 100644 index 74173af817..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionAttributeListener.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - - -SipApplicationSessionAttributeListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipApplicationSessionAttributeListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipApplicationSessionAttributeListener
extends java.util.EventListener
- - -

-This listener interface can be implemented in order to get - notifications of changes to the attribute lists of application sessions. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidattributeAdded(SipApplicationSessionBindingEvent ev) - -
-          Notification that an attribute has been added to an application session.
- voidattributeRemoved(SipApplicationSessionBindingEvent ev) - -
-          Notification that an attribute has been removed from an application session.
- voidattributeReplaced(SipApplicationSessionBindingEvent ev) - -
-          Notification that an attribute has been replaced in an application session.
-  -

- - - - - - - - -
-Method Detail
- -

-attributeAdded

-
-void attributeAdded(SipApplicationSessionBindingEvent ev)
-
-
Notification that an attribute has been added to an application session. - Called after the attribute is added. -

-

-
-
-
-
Parameters:
ev - event identifying the affected SipApplicationSession
-
-
-
- -

-attributeRemoved

-
-void attributeRemoved(SipApplicationSessionBindingEvent ev)
-
-
Notification that an attribute has been removed from an application session. - Called after the attribute is removed. -

-

-
-
-
-
Parameters:
ev - event identifying the affected SipApplicationSession
-
-
-
- -

-attributeReplaced

-
-void attributeReplaced(SipApplicationSessionBindingEvent ev)
-
-
Notification that an attribute has been replaced in an application session. - Called after the attribute is replaced. -

-

-
-
-
-
Parameters:
ev - event identifying the affected SipApplicationSession
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionBindingEvent.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionBindingEvent.html deleted file mode 100644 index 9d5ca7c15d..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionBindingEvent.html +++ /dev/null @@ -1,335 +0,0 @@ - - - - - - -SipApplicationSessionBindingEvent (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class SipApplicationSessionBindingEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by javax.servlet.sip.SipApplicationSessionBindingEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class SipApplicationSessionBindingEvent
extends java.util.EventObject
- - -

-Events of this type are either sent to an object that implements - SipApplicationSessionBindingListener when it is bound or unbound from an - application session, or to a SipApplicationSessionAttributeListener that has been - configured in the deployment descriptor when any attribute is bound, - unbound or replaced in an application session. - -

The session binds the object by a call to - SipApplicationSession.setAttribute(String, Object) and unbinds the object by a call - to SipApplicationSession.removeAttribute(String). -

- -

-

-
Since:
-
1.1
-
See Also:
SipApplicationSession, -SipApplicationSessionBindingListener, -SipApplicationSessionAttributeListener, -Serialized Form
-
- -

- - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.util.EventObject
source
-  - - - - - - - - - - -
-Constructor Summary
SipApplicationSessionBindingEvent(SipApplicationSession session, - java.lang.String name) - -
-          Constructs an event that notifies an object that it has been bound - to or unbound from an application session.
-  - - - - - - - - - - - - - - - -
-Method Summary
- SipApplicationSessiongetApplicationSession() - -
-          Returns the application session to or from which the object is bound or unbound.
- java.lang.StringgetName() - -
-          Returns the name with which the object is bound to or unbound from - the application session.
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SipApplicationSessionBindingEvent

-
-public SipApplicationSessionBindingEvent(SipApplicationSession session,
-                                         java.lang.String name)
-
-
Constructs an event that notifies an object that it has been bound - to or unbound from an application session. To receive the event, the object must - implement SipApplicationSessionBindingListener. -

-

-
Parameters:
session - the application ession to which the object is bound or unbound
name - the name with which the object is bound or unbound
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-public java.lang.String getName()
-
-
Returns the name with which the object is bound to or unbound from - the application session. -

-

- -
Returns:
a string specifying the name with which the object is bound - to or unbound from the session
-
-
-
- -

-getApplicationSession

-
-public SipApplicationSession getApplicationSession()
-
-
Returns the application session to or from which the object is bound or unbound. -

-

- -
Returns:
the application session to which the object is bound or from which the - object is unbound
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionBindingListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionBindingListener.html deleted file mode 100644 index 1b9caa418e..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionBindingListener.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - -SipApplicationSessionBindingListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipApplicationSessionBindingListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipApplicationSessionBindingListener
extends java.util.EventListener
- - -

-Causes an object to be notified when it is bound to or unbound from - a SipApplicationSession. The object is notified by an SipApplicationSessionBindingEvent - object. This may be as a result of a servlet programmer explicitly - unbinding an attribute from an application session, due to an application session being invalidated, - or due to an application session timing out. -

- -

-

-
Since:
-
1.1
-
See Also:
SipApplicationSession, -SipApplicationSessionBindingEvent
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- voidvalueBound(SipApplicationSessionBindingEvent event) - -
-          Notifies the object that it is being bound to an application session and - identifies the application session.
- voidvalueUnbound(SipApplicationSessionBindingEvent event) - -
-          Notifies the object that it is being unbound from an application session and - identifies the application session.
-  -

- - - - - - - - -
-Method Detail
- -

-valueBound

-
-void valueBound(SipApplicationSessionBindingEvent event)
-
-
Notifies the object that it is being bound to an application session and - identifies the application session. -

-

-
-
-
-
Parameters:
event - the event that identifies the application session
-
-
-
- -

-valueUnbound

-
-void valueUnbound(SipApplicationSessionBindingEvent event)
-
-
Notifies the object that it is being unbound from an application session and - identifies the application session. -

-

-
-
-
-
Parameters:
event - the event that identifies the application session
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionEvent.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionEvent.html deleted file mode 100644 index e71f958d05..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionEvent.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -SipApplicationSessionEvent (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class SipApplicationSessionEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by javax.servlet.sip.SipApplicationSessionEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class SipApplicationSessionEvent
extends java.util.EventObject
- - -

-This is the class representing event notifications for changes to - SipApplicationSessions within a SIP servlet application. - - -

A SipApplicationSessionListener receiving this notification - may attempt to extend the lifetime of the application instance - corresponding to the expiring application session by invoking - SipApplicationSession.setExpires(int). -

- -

-

-
Since:
-
1.1
-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.util.EventObject
source
-  - - - - - - - - - - -
-Constructor Summary
SipApplicationSessionEvent(SipApplicationSession appSession) - -
-          Creates a new SipApplicationSessionEvent object.
-  - - - - - - - - - - - -
-Method Summary
- SipApplicationSessiongetApplicationSession() - -
-          Returns the expired session object.
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SipApplicationSessionEvent

-
-public SipApplicationSessionEvent(SipApplicationSession appSession)
-
-
Creates a new SipApplicationSessionEvent object. -

-

-
Parameters:
appSession - the expired application session
-
- - - - - - - - -
-Method Detail
- -

-getApplicationSession

-
-public SipApplicationSession getApplicationSession()
-
-
Returns the expired session object. -

-

- -
Returns:
the expired session object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionListener.html deleted file mode 100644 index d74f1ef2cf..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipApplicationSessionListener.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -SipApplicationSessionListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipApplicationSessionListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipApplicationSessionListener
extends java.util.EventListener
- - -

-Implementations of this interface can receive notifications about - invalidated and/or activated SipApplicationSession objects - in the SIP application they are part of. To receive notification events, - the implementation class must be configured in the deployment - descriptor for the servlet application. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidsessionCreated(SipApplicationSessionEvent ev) - -
-          Notification that a session was created.
- voidsessionDestroyed(SipApplicationSessionEvent ev) - -
-          Notification that a session was invalidated.
- voidsessionExpired(SipApplicationSessionEvent ev) - -
-          Notification that an application session has expired.
- voidsessionReadyToInvalidate(SipApplicationSessionEvent ev) - -
-          Notification that a SipApplicationSession is in the - ready-to-invalidate state.
-  -

- - - - - - - - -
-Method Detail
- -

-sessionCreated

-
-void sessionCreated(SipApplicationSessionEvent ev)
-
-
Notification that a session was created. -

-

-
-
-
-
Parameters:
ev - the notification event
-
-
-
- -

-sessionDestroyed

-
-void sessionDestroyed(SipApplicationSessionEvent ev)
-
-
Notification that a session was invalidated. Either it timed out - or it was explicitly invalidated. It is not possible to extend the - application sessions lifetime. -

-

-
-
-
-
Parameters:
ev - the notification event
-
-
-
- -

-sessionExpired

-
-void sessionExpired(SipApplicationSessionEvent ev)
-
-
Notification that an application session has expired. The - application may request an extension of the lifetime of the - application session by invoking - SipApplicationSession.setExpires(int). -

-

-
-
-
-
Parameters:
ev - the notification event
-
-
-
- -

-sessionReadyToInvalidate

-
-void sessionReadyToInvalidate(SipApplicationSessionEvent ev)
-
-
Notification that a SipApplicationSession is in the - ready-to-invalidate state. The container will invalidate this session - upon completion of this callback unless the listener implementation calls - SipApplicationSessionEvent.getApplicationSession().setInvalidateWhenReady(false) -

-

-
-
-
-
Parameters:
ev - the notification event
Since:
-
1.1
-
See Also:
SipApplicationSession.isReadyToInvalidate()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipErrorEvent.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipErrorEvent.html deleted file mode 100644 index 678b56c47b..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipErrorEvent.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - -SipErrorEvent (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class SipErrorEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by javax.servlet.sip.SipErrorEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class SipErrorEvent
extends java.util.EventObject
- - -

-Events of this type are sent to objects implementing the - SipErrorListener interface when an error occurs which - is related to the applications processing of a SIP transaction. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.util.EventObject
source
-  - - - - - - - - - - -
-Constructor Summary
SipErrorEvent(SipServletRequest request, - SipServletResponse response) - -
-          Constructs a new SipErrorEvent.
-  - - - - - - - - - - - - - - - -
-Method Summary
- SipServletRequestgetRequest() - -
-          Returns the request object associated with this - SipErrorEvent.
- SipServletResponsegetResponse() - -
-          Returns the response object associated with this - SipErrorEvent.
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SipErrorEvent

-
-public SipErrorEvent(SipServletRequest request,
-                     SipServletResponse response)
-
-
Constructs a new SipErrorEvent. -

-

-
Parameters:
request - the request the error relates to
response - the response the error relates to
-
- - - - - - - - -
-Method Detail
- -

-getRequest

-
-public SipServletRequest getRequest()
-
-
Returns the request object associated with this - SipErrorEvent. -

-

- -
Returns:
request object associated with this SipErrorEvent
-
-
-
- -

-getResponse

-
-public SipServletResponse getResponse()
-
-
Returns the response object associated with this - SipErrorEvent. -

-

- -
Returns:
response object associated with this SipErrorEvent
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipErrorListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipErrorListener.html deleted file mode 100644 index c134220ee2..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipErrorListener.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - -SipErrorListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipErrorListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipErrorListener
extends java.util.EventListener
- - -

-Causes applications to be notified of various error conditions - occurring during regular SIP transaction processing. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- voidnoAckReceived(SipErrorEvent ee) - -
-          Invoked by the servlet container to notify an application that - no ACK was received for an INVITE transaction for which a final - response has been sent upstream.
- voidnoPrackReceived(SipErrorEvent ee) - -
-          Invoked by the servlet container for applications acting as a UAS - when no PRACK was received for a previously sent reliable provisional - response.
-  -

- - - - - - - - -
-Method Detail
- -

-noAckReceived

-
-void noAckReceived(SipErrorEvent ee)
-
-
Invoked by the servlet container to notify an application that - no ACK was received for an INVITE transaction for which a final - response has been sent upstream. - -

This method is invoked for UAS applications only and not for - applications that proxied the INVITE. -

-

-
-
-
-
Parameters:
ee - the event that identifies the request
-
-
-
- -

-noPrackReceived

-
-void noPrackReceived(SipErrorEvent ee)
-
-
Invoked by the servlet container for applications acting as a UAS - when no PRACK was received for a previously sent reliable provisional - response. It is then up to the application to generate the 5xx - response reccommended by RFC 3262 for the INVITE transaction. - The original INVITE request as well as the unacknowledged reliable - response is available from the SipErrorEvent argument. -

-

-
-
-
-
Parameters:
ee - the event that identifies the original request and - the reliable provisional response
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipFactory.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipFactory.html deleted file mode 100644 index 501582167c..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipFactory.html +++ /dev/null @@ -1,689 +0,0 @@ - - - - - - -SipFactory (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipFactory

-
-
-
public interface SipFactory
- - -

-Factory interface for a variety of SIP Servlet API abstractions. - -

SIP servlet containers are requried to make a - SipFactory instance available to applications - through a ServletContext attribute with name - javax.servlet.sip.SipFactory. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- AddresscreateAddress(java.lang.String addr) - -
-          Returns a Address corresponding to the specified - string.
- AddresscreateAddress(URI uri) - -
-          Returns an Address with the specified URI and no - display name.
- AddresscreateAddress(URI uri, - java.lang.String displayName) - -
-          Returns a new Address with the specified - URI and display name.
- SipApplicationSessioncreateApplicationSession() - -
-          Returns a new SipApplicationSession.
- SipApplicationSessioncreateApplicationSessionByKey(java.lang.String sipApplicationKey) - -
-          Returns a new SipApplicationSession identified by the specified - SipApplicationKey.
- AuthInfocreateAuthInfo() - -
-          Creates a new AuthInfo object that can be used to provide authentication - information on servlet initiated requests.
- ParameterablecreateParameterable(java.lang.String s) - -
-          Creates a new Parameterable parsed from the specified - string.
- SipServletRequestcreateRequest(SipApplicationSession appSession, - java.lang.String method, - Address from, - Address to) - -
-          Returns a new request object with the specified request method, From, - and To headers.
- SipServletRequestcreateRequest(SipApplicationSession appSession, - java.lang.String method, - java.lang.String from, - java.lang.String to) - -
-          Returns a new request object with the specified request method, From, - and To headers.
- SipServletRequestcreateRequest(SipApplicationSession appSession, - java.lang.String method, - URI from, - URI to) - -
-          Returns a new request object with the specified request method, From, - and To headers.
- SipServletRequestcreateRequest(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)
- SipURIcreateSipURI(java.lang.String user, - java.lang.String host) - -
-          Constructs a SipURI with the specified user and host - components.
- URIcreateURI(java.lang.String uri) - -
-          Returns a URI object corresponding to the specified - string, which should represent an escaped SIP, SIPS, or tel URI.
-  -

- - - - - - - - -
-Method Detail
- -

-createURI

-
-URI createURI(java.lang.String uri)
-              throws ServletParseException
-
-
Returns a URI object corresponding to the specified - string, which should represent an escaped SIP, SIPS, or tel URI. - The URI may then be used as request URI in - SIP requests or as the URI component of Address objects. - -

Implementations must be able to represent URIs of any scheme. - This method returns a SipURI object if the specified - string is a sip or a sips URI, and a - TelURL object if it's a tel URL. - -

If the specified URI string contains any reserved characters, - then the container is responsible for escaping them, - in accordance with RFC2396. -

-

-
Parameters:
uri - the SIP, SIPS, or tel string to parse -
Returns:
a parsed URI object -
Throws: -
ServletParseException - if the URI scheme - is unknown or parsing failed
-
-
-
- -

-createSipURI

-
-SipURI createSipURI(java.lang.String user,
-                    java.lang.String host)
-
-
Constructs a SipURI with the specified user and host - components. The scheme will initially be sip but the - application may change it to sips by calling - setSecure(true) on the returned SipURI. - Likewise, the port number of the new URI is left unspecified but - may subsequently be set by calling setPort on the - returned SipURI. -

If the specified URI string contains any reserved characters, then - the container is responsible for escaping them, - in accordance with RFC2396. -

-

-
Parameters:
user - user part of the new SipURI
host - host part of the new SipURI -
Returns:
new insecure SipURI with the specified - user and host parts
-
-
-
- -

-createAddress

-
-Address createAddress(java.lang.String addr)
-                      throws ServletParseException
-
-
Returns a Address corresponding to the specified - string. The resulting object can be used, for example, as the - value of From or To headers of locally initiated SIP requests. - -

The special argument "*" results in a wildcard - Address being returned, that is, an Address - for which isWildcard returns true. Such addresses are - for use in Contact headers only. - -

The specified address string must be UTF-8 encoded. Furthermore, - if the URI component of the address string contains any reserved - characters then the container is responsible for escaping them - in accordance with RFC2396 as indicated - for createURI(String) -

-

-
Parameters:
addr - valid value of SIP From or To header -
Returns:
a parsed Address -
Throws: -
ServletParseException - if parsing failed
-
-
-
- -

-createAddress

-
-Address createAddress(URI uri)
-
-
Returns an Address with the specified URI and no - display name. -

-

-
Parameters:
uri - the URI of the returned Address -
Returns:
an Address whose URI - component is the argument
-
-
-
- -

-createAddress

-
-Address createAddress(URI uri,
-                      java.lang.String displayName)
-
-
Returns a new Address with the specified - URI and display name. -

-

-
Parameters:
uri - URI of the new Address
displayName - display name of the new Address
-
-
-
- -

-createParameterable

-
-Parameterable createParameterable(java.lang.String s)
-                                  throws ServletParseException
-
-
Creates a new Parameterable parsed from the specified - string. The string must be in the following format: -
- field-value *(;parameter-name[=parameter-value])
- 
- where the field-value may be in name-addr or addr-spec format as defined in - RFC 3261 or may be any sequence of tokens till the first semicolon. -

-

-
Parameters:
s - the header field string -
Returns:
a parsed Parameterable -
Throws: -
ServletParseException - if parsing failed
Since:
-
1.1
-
-
-
-
- -

-createRequest

-
-SipServletRequest createRequest(SipApplicationSession appSession,
-                                java.lang.String method,
-                                Address from,
-                                Address to)
-
-
Returns a new request object with the specified request method, From, - and To headers. The returned request object exists in a new - SipSession which belongs to the specified - SipApplicationSession. - -

This method is used by servlets acting as SIP clients in order to - send a request in a new call leg. The container is responsible for - assigning the request appropriate Call-ID and CSeq headers, as well as - Contact header if the method is not REGISTER. - -

This method makes a copy of the from and to arguments and - associates them with the new SipSession. Any component - of the from and to URIs not allowed in the context of SIP - From and To headers are removed from the copies [refer Table 1, Section 19.1.1, RFC3261]. - This includes, - headers and various parameters. Also, a "tag" parameter in either - of the copied from or to is also removed, as it is illegal in an - initial To header and the container will choose it's own tag for - the From header. The copied from and to addresses can be obtained - from the SipSession but must not be modified by applications. -

-

-
Parameters:
appSession - the application session to which the new - SipSession and SipServletRequest - belongs
method - the method of the new request, e.g. "INVITE"
from - value of the From header
to - value of the To header -
Returns:
the request object with method, request URI, - and From, To, Call-ID, CSeq, Route headers filled in. -
Throws: -
java.lang.IllegalArgumentException - if the method is "ACK" or "CANCEL", - or the specified SipApplicationSession is invalid.
-
-
-
- -

-createRequest

-
-SipServletRequest createRequest(SipApplicationSession appSession,
-                                java.lang.String method,
-                                URI from,
-                                URI to)
-
-
Returns a new request object with the specified request method, From, - and To headers. The returned request object exists in a new - SipSession which belongs to the specified - SipApplicationSession. - -

This method is used by servlets acting as SIP clients in order to - send a request in a new call leg. The container is responsible for - assigning the request appropriate Call-ID and CSeq headers, as well as - Contact header if the method is not REGISTER. - -

This method makes a copy of the from and to arguments and - associates them with the new SipSession. Any component - of the from and to URIs not allowed in the context of SIP - From and To headers are removed from the copies [refer Table 1, Section 19.1.1, RFC3261]. - This includes, - headers and various parameters. - The from and to addresses can subsequently be obtained from the - SipSession or the returned request object but must not be modified - by applications. -

-

-
Parameters:
appSession - the application session to which the new - SipSession and SipServletRequest - belongs
method - the method of the new request, e.g. "INVITE"
from - value of the From header
to - value of the To header -
Returns:
the request object with method, request URI, - and From, To, Call-ID, CSeq, Route headers filled in. -
Throws: -
java.lang.IllegalArgumentException - if the method is "ACK" or "CANCEL", - or the specified SipApplicationSession is invalid.
-
-
-
- -

-createRequest

-
-SipServletRequest createRequest(SipApplicationSession appSession,
-                                java.lang.String method,
-                                java.lang.String from,
-                                java.lang.String to)
-                                throws ServletParseException
-
-
Returns a new request object with the specified request method, From, - and To headers. The returned request object exists in a new - SipSession which belongs to the specified - SipApplicationSession. - -

This method is used by servlets acting as SIP clients in order to - send a request in a new call leg. The container is responsible for - assigning the request appropriate Call-ID and CSeq headers, as well as - Contact header if the method is not REGISTER. - -

This method is functionally equivalent to: -

- createRequest(method, f.createAddress(from), f.createAddress(to));
- 
- Note that this implies that if either of the from or to argument - is a SIP URI containing parameters, the URI must be enclosed in - angle brackets. Otherwise the address will be parsed as if the - parameter belongs to the address and not the URI. -

-

-
Parameters:
appSession - the application session to which the new - SipSession and SipServletRequest - belongs
method - the method of the new request, e.g. "INVITE"
from - value of the From header -- this must be a - valid Address
to - value of the To header -- this must be a - valid Address -
Returns:
the request object with method, request URI, - and From, To, Call-ID, CSeq, Route headers filled in. -
Throws: -
ServletParseException - if the URI scheme of - the from or to argument is unknown or if parsing failed -
java.lang.IllegalArgumentException - if the method is "ACK" or "CANCEL", - or the specified SipApplicationSession is invalid.
-
-
-
- -

-createRequest

-
-SipServletRequest 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) -

-

Creates a new request object belonging to a new SipSession. The - new request is similar to the specified origRequest - in that the method and the majority of header fields are copied - from origRequest to the new request. The SipSession - created for the new request also shares the same SipApplicationSession - associated with the original request. - -

This method satisfies the following rules: -

- -

This method provides a convenient and efficient way of - constructing the second "leg" of a B2BUA application. It is used - only for the initial request. Subsequent requests in either leg - must be created using SipSession.createRequest(java.lang.String) as usual. -

-

-
Parameters:
origRequest - request to be "copied"
sameCallId - whether or not to use same Call-ID for the new - dialog -
Returns:
the "copied" request object
-
-
-
- -

-createApplicationSession

-
-SipApplicationSession createApplicationSession()
-
-
Returns a new SipApplicationSession. This is useful, - for example, when an application is being initialized and wishes - to perform some signaling action. -

-

- -
Returns:
a new SipApplicationSession object
-
-
-
- -

-createApplicationSessionByKey

-
-SipApplicationSession createApplicationSessionByKey(java.lang.String sipApplicationKey)
-
-
Returns a new SipApplicationSession identified by the specified - SipApplicationKey. This is same as the one generated by the method annotated - with @SipApplicationKey annotation. - This allows a way to associate incoming requests to an - already existing SipApplicationSession. -

-

-
Parameters:
sipApplicationKey - id for the SipApplicationSession -
Returns:
a new SipApplicationSession object with the specified id
Since:
-
1.1
-
-
-
-
- -

-createAuthInfo

-
-AuthInfo createAuthInfo()
-
-
Creates a new AuthInfo object that can be used to provide authentication - information on servlet initiated requests. -

-

- -
Returns:
AuthInfo a new instance of AuthInfo
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServlet.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServlet.html deleted file mode 100644 index 48406b431b..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServlet.html +++ /dev/null @@ -1,1260 +0,0 @@ - - - - - - -SipServlet (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class SipServlet

-
-java.lang.Object
-  extended by javax.servlet.GenericServlet
-      extended by javax.servlet.sip.SipServlet
-
-
-
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
-
-
-
-
public abstract class SipServlet
extends javax.servlet.GenericServlet
- - -

-Provides an abstract class to be subclassed to create a SIP servlet. - -

This class receives incoming messages through the - service method. This method calls - doRequest or doResponse - for incoming requests and responses, respectively. These two methods - in turn dispatch on request method or status code to one of the - following methods: - -

- -

The default implementation of doAck, doCancel - and all the response handling methods are empty. All other request handling - methods reject the request with a 500 error response. - -

Subclasses of SipServlet will usually override one - or more of these methods. -

- -

-

-
See Also:
RFC 2976, The SIP INFO Method, -RFC 3262, Reliability of Provisional Responses in the Session Initiation Protocol (SIP), -RFC 3265, Session Initiation Protocol (SIP)-Specific Event Notification, -SIP Extensions for Instant Messaging, -Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static java.lang.StringOUTBOUND_INTERFACES - -
-          The string "javax.servlet.sip.outboundInterfaces".
-static java.lang.StringPRACK_SUPPORTED - -
-          Deprecated. in favor of using the "javax.servlet.sip.supported" attribute
-static java.lang.StringSIP_FACTORY - -
-          The string "javax.servlet.sip.SipFactory".
-static java.lang.StringSIP_SESSIONS_UTIL - -
-          The string "javax.servlet.sip.SipSessionsUtil".
-static java.lang.StringSUPPORTED - -
-          The string "javax.servlet.sip.supported".
-static java.lang.StringSUPPORTED_RFCs - -
-          The string "javax.servlet.sip.supportedRfcs".
-static java.lang.StringTIMER_SERVICE - -
-          The string "javax.servlet.sip.TimerService".
-  - - - - - - - - - - -
-Constructor Summary
SipServlet() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voiddoAck(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - ACK requests.
-protected  voiddoBranchResponse(SipServletResponse resp) - -
-          Invoked by the server to handle intermediate final responses only if this - Servlet behaves as a proxy.
-protected  voiddoBye(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - BYE requests.
-protected  voiddoCancel(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - CANCEL requests.
-protected  voiddoErrorResponse(SipServletResponse resp) - -
-          Invoked by the server (via the doResponse method) to handle incoming - 4xx - 6xx class responses.
-protected  voiddoInfo(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - INFO requests.
-protected  voiddoInvite(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - INVITE requests.
-protected  voiddoMessage(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - MESSAGE requests.
-protected  voiddoNotify(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - NOTIFY requests.
-protected  voiddoOptions(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - OPTIONS requests.
-protected  voiddoPrack(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - PRACK requests.
-protected  voiddoProvisionalResponse(SipServletResponse resp) - -
-          Invoked by the server (via the doResponse method) to handle incoming - 1xx class responses.
-protected  voiddoPublish(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - PUBLISH requests.
-protected  voiddoRedirectResponse(SipServletResponse resp) - -
-          Invoked by the server to notify the servlet of incoming 3xx class - responses.
-protected  voiddoRefer(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - REFER requests.
-protected  voiddoRegister(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - REGISTER requests.
-protected  voiddoRequest(SipServletRequest req) - -
-          Invoked to handle incoming requests.
-protected  voiddoResponse(SipServletResponse resp) - -
-          Invoked to handle incoming responses.
-protected  voiddoSubscribe(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - SUBSCRIBE requests.
-protected  voiddoSuccessResponse(SipServletResponse resp) - -
-          Invoked by the server (via the doResponse method) to handle incoming - 2xx class responses.
-protected  voiddoUpdate(SipServletRequest req) - -
-          Invoked by the server (via the service method) to handle incoming - UPDATE requests.
- voidlog(java.lang.String message) - -
-          Writes the specified message to a servlet log file.
- voidlog(java.lang.String message, - java.lang.Throwable t) - -
-          Writes an explanatory message and a stack trace for a given - Throwable exception to the servlet log file.
- voidservice(javax.servlet.ServletRequest req, - javax.servlet.ServletResponse resp) - -
-          Invoked to handle incoming SIP messages: requests or responses.
- - - - - - - -
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-SIP_FACTORY

-
-public static final java.lang.String SIP_FACTORY
-
-
The string "javax.servlet.sip.SipFactory". This is the name of - the ServletContext attribute whose value is an - instance of the SipFactory interface. -

-

-
See Also:
SipFactory, -Constant Field Values
-
-
- -

-TIMER_SERVICE

-
-public static final java.lang.String TIMER_SERVICE
-
-
The string "javax.servlet.sip.TimerService". This is the name of - the ServletContext attribute whose value is an - instance of the TimerService interface. -

-

-
See Also:
TimerService, -Constant Field Values
-
-
- -

-SUPPORTED

-
-public static final java.lang.String SUPPORTED
-
-
The string "javax.servlet.sip.supported". This is the name of - the ServletContext attribute whose value is a - List containing the names of SIP extensions supported - by the container. -

-

-
See Also:
Constant Field Values
-
-
- -

-SUPPORTED_RFCs

-
-public static final java.lang.String SUPPORTED_RFCs
-
-
The string "javax.servlet.sip.supportedRfcs". This is the name of - the ServletContext attribute whose value is a - List containing the RFC numbers represented as Strings - of SIP RFCs supported by the container. - - For e.g., if the container supports RFC 3261, RFC 3262 and RFC 3265, the - List associated with this attribute should contain the Strings "3261", - "3262" and "3265". -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-OUTBOUND_INTERFACES

-
-public static final java.lang.String OUTBOUND_INTERFACES
-
-
The string "javax.servlet.sip.outboundInterfaces". This is the name - of the ServletContext attribute whose value is a list - of SipURI objects which represent the available outbound - interfaces for sending SIP requests. On a multihomed machine, a specific - outbound interface can be selected for sending requests by calling the - the SipSession.setOutboundInterface(java.net.InetSocketAddress) or Proxy.setOutboundInterface(java.net.InetSocketAddress) - with an available interface address chosen from this list. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SIP_SESSIONS_UTIL

-
-public static final java.lang.String SIP_SESSIONS_UTIL
-
-
The string "javax.servlet.sip.SipSessionsUtil". This is the name of the - ServletContext attribute whose value is the @{link Sessions} - utility class providing support for converged SIP/HTTP applications. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-PRACK_SUPPORTED

-
-public static final java.lang.String PRACK_SUPPORTED
-
-
Deprecated. in favor of using the "javax.servlet.sip.supported" attribute
The string "javax.servlet.sip.100rel". This is the name of - the ServletContext attribute whose value suggests whether - the container supports the 100rel extension i.e. RFC 3262. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-SipServlet

-
-public SipServlet()
-
-
- - - - - - - - -
-Method Detail
- -

-service

-
-public void service(javax.servlet.ServletRequest req,
-                    javax.servlet.ServletResponse resp)
-             throws javax.servlet.ServletException,
-                    java.io.IOException
-
-
Invoked to handle incoming SIP messages: requests or responses. - Exactly one of the arguments is null: if the event is a request - the response argument is null, and vice versa, if the event is - a response the request argument is null. - -

This method dispatched to doRequest() or - doResponse() as appropriate. Servlets will not - usually need to override this method. -

-

-
Specified by:
service in interface javax.servlet.Servlet
Specified by:
service in class javax.servlet.GenericServlet
-
-
-
Parameters:
req - the request to handle, or null if the triggering event - was an incoming response
resp - incoming response or null if the triggering event was - an incoming request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doRequest

-
-protected void doRequest(SipServletRequest req)
-                  throws javax.servlet.ServletException,
-                         java.io.IOException
-
-
Invoked to handle incoming requests. This method dispatched requests - to one of the doXxx methods where Xxx is the SIP method used in the - request. Servlets will not usually need to override this method. -

-

-
Parameters:
req - represents the incoming SIP request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doInvite

-
-protected void doInvite(SipServletRequest req)
-                 throws javax.servlet.ServletException,
-                        java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - INVITE requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP INVITE request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doAck

-
-protected void doAck(SipServletRequest req)
-              throws javax.servlet.ServletException,
-                     java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - ACK requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP ACK request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doOptions

-
-protected void doOptions(SipServletRequest req)
-                  throws javax.servlet.ServletException,
-                         java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - OPTIONS requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP OPTIONS request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doBye

-
-protected void doBye(SipServletRequest req)
-              throws javax.servlet.ServletException,
-                     java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - BYE requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP BYE request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doCancel

-
-protected void doCancel(SipServletRequest req)
-                 throws javax.servlet.ServletException,
-                        java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - CANCEL requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP CANCEL request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doRegister

-
-protected void doRegister(SipServletRequest req)
-                   throws javax.servlet.ServletException,
-                          java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - REGISTER requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP REGISTER request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doSubscribe

-
-protected void doSubscribe(SipServletRequest req)
-                    throws javax.servlet.ServletException,
-                           java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - SUBSCRIBE requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP SUBSCRIBE request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doNotify

-
-protected void doNotify(SipServletRequest req)
-                 throws javax.servlet.ServletException,
-                        java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - NOTIFY requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP NOTIFY request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doMessage

-
-protected void doMessage(SipServletRequest req)
-                  throws javax.servlet.ServletException,
-                         java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - MESSAGE requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP MESSAGE request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doInfo

-
-protected void doInfo(SipServletRequest req)
-               throws javax.servlet.ServletException,
-                      java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - INFO requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP INFO request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doPrack

-
-protected void doPrack(SipServletRequest req)
-                throws javax.servlet.ServletException,
-                       java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - PRACK requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP PRACK request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doUpdate

-
-protected void doUpdate(SipServletRequest req)
-                 throws javax.servlet.ServletException,
-                        java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - UPDATE requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP UPDATE request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
Since:
-
1.1
-
-
-
-
- -

-doRefer

-
-protected void doRefer(SipServletRequest req)
-                throws javax.servlet.ServletException,
-                       java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - REFER requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP REFER request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
Since:
-
1.1
-
-
-
-
- -

-doPublish

-
-protected void doPublish(SipServletRequest req)
-                  throws javax.servlet.ServletException,
-                         java.io.IOException
-
-
Invoked by the server (via the service method) to handle incoming - PUBLISH requests. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
req - represents the incoming SIP PUBLISH request -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
Since:
-
1.1
-
-
-
-
- -

-doResponse

-
-protected void doResponse(SipServletResponse resp)
-                   throws javax.servlet.ServletException,
-                          java.io.IOException
-
-
Invoked to handle incoming responses. This method dispatches responses - to one of the doProvisionalResponse(), - doSuccessResponse(), - doBranchResponse(), - doRedirectResponse() or - doErrorResponse(). - -

Intermediate final responses received on a ProxyBranch are dispatched to - doBranchResponse(javax.servlet.sip.SipServletResponse). To handle such responses override the - doBranchResponse. - - Servlets will not usually need to override this method. -

-

-
Parameters:
resp - the response object -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
See Also:
SipServletResponse.isBranchResponse()
-
-
-
- -

-doProvisionalResponse

-
-protected void doProvisionalResponse(SipServletResponse resp)
-                              throws javax.servlet.ServletException,
-                                     java.io.IOException
-
-
Invoked by the server (via the doResponse method) to handle incoming - 1xx class responses. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
resp - the response object -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doSuccessResponse

-
-protected void doSuccessResponse(SipServletResponse resp)
-                          throws javax.servlet.ServletException,
-                                 java.io.IOException
-
-
Invoked by the server (via the doResponse method) to handle incoming - 2xx class responses. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
resp - the response object -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doRedirectResponse

-
-protected void doRedirectResponse(SipServletResponse resp)
-                           throws javax.servlet.ServletException,
-                                  java.io.IOException
-
-
Invoked by the server to notify the servlet of incoming 3xx class - responses. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
resp - the response object -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doErrorResponse

-
-protected void doErrorResponse(SipServletResponse resp)
-                        throws javax.servlet.ServletException,
-                               java.io.IOException
-
-
Invoked by the server (via the doResponse method) to handle incoming - 4xx - 6xx class responses. - -

The default implementation is empty and must be overridden by - subclasses to do something useful. -

-

-
Parameters:
resp - the response object -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-doBranchResponse

-
-protected void doBranchResponse(SipServletResponse resp)
-                         throws javax.servlet.ServletException,
-                                java.io.IOException
-
-
Invoked by the server to handle intermediate final responses only if this - Servlet behaves as a proxy. - -

The default implementation is empty and must be overridden by - subclasses to handle intermediate final responses received on a ProxyBranch. -

-

-
Parameters:
resp - the response object -
Throws: -
javax.servlet.ServletException - if an exception occurs that interferes - with the servlet's normal operation -
java.io.IOException - if an input or output exception occurs
-
-
-
- -

-log

-
-public void log(java.lang.String message)
-
-
Writes the specified message to a servlet log file. - See {link ServletContext#log(String)}. -

-

-
Overrides:
log in class javax.servlet.GenericServlet
-
-
-
Parameters:
message - a String specifying the message to be - written to the log file
-
-
-
- -

-log

-
-public void log(java.lang.String message,
-                java.lang.Throwable t)
-
-
Writes an explanatory message and a stack trace for a given - Throwable exception to the servlet log file. See - ServletContext.log(String, Throwable). -

-

-
Overrides:
log in class javax.servlet.GenericServlet
-
-
-
Parameters:
message - a String that describes the error - or exception
t - the java.lang.Throwable error or exception
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletContextEvent.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletContextEvent.html deleted file mode 100644 index 033754e0b6..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletContextEvent.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - -SipServletContextEvent (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class SipServletContextEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by javax.servlet.ServletContextEvent
-          extended by javax.servlet.sip.SipServletContextEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class SipServletContextEvent
extends javax.servlet.ServletContextEvent
- - -

-SIP Servlet specific context event. -

- -

-

-
Since:
-
1.1
-
See Also:
SipServletListener, -Serialized Form
-
- -

- - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.util.EventObject
source
-  - - - - - - - - - - -
-Constructor Summary
SipServletContextEvent(javax.servlet.ServletContext context, - SipServlet servlet) - -
-          Constructs a new SipServletContextEvent.
-  - - - - - - - - - - - -
-Method Summary
- SipServletgetSipServlet() - -
-          Returns the servlet associated with the event - SipServletContextEvent.
- - - - - - - -
Methods inherited from class javax.servlet.ServletContextEvent
getServletContext
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SipServletContextEvent

-
-public SipServletContextEvent(javax.servlet.ServletContext context,
-                              SipServlet servlet)
-
-
Constructs a new SipServletContextEvent. -

-

-
Parameters:
context - the ServletContext
servlet - the servlet, initialization of which triggered this event
-
- - - - - - - - -
-Method Detail
- -

-getSipServlet

-
-public SipServlet getSipServlet()
-
-
Returns the servlet associated with the event - SipServletContextEvent. -

-

- -
Returns:
request object associated with this SipErrorEvent
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletListener.html deleted file mode 100644 index 70941a5cc7..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletListener.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - -SipServletListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipServletListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipServletListener
extends java.util.EventListener
- - -

-Containers are required to invoke init() on the servlets before - the servlets are ready for service. The servlet can only be used - after succesful initialization. Since SIP is a peer-to-peer protocol - and some servlets may act as UACs, the container is required to - let the servlet know when it is succesfully initialized by invoking - SipServletListener. -

- -

-

-
Since:
-
1.1
-
See Also:
SipServletContextEvent
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidservletInitialized(SipServletContextEvent ce) - -
-          Notification that the servlet was succesfully initialized
-  -

- - - - - - - - -
-Method Detail
- -

-servletInitialized

-
-void servletInitialized(SipServletContextEvent ce)
-
-
Notification that the servlet was succesfully initialized -

-

-
-
-
-
Parameters:
ce - event identifying the initialized servlet and associated context
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletMessage.HeaderForm.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletMessage.HeaderForm.html deleted file mode 100644 index 5e82877852..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletMessage.HeaderForm.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - -SipServletMessage.HeaderForm (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Enum SipServletMessage.HeaderForm

-
-java.lang.Object
-  extended by java.lang.Enum<SipServletMessage.HeaderForm>
-      extended by javax.servlet.sip.SipServletMessage.HeaderForm
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SipServletMessage.HeaderForm>
-
-
-
Enclosing interface:
SipServletMessage
-
-
-
-
public static enum SipServletMessage.HeaderForm
extends java.lang.Enum<SipServletMessage.HeaderForm>
- - -

-Type header forms. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - -
-Enum Constant Summary
COMPACT - -
-           
DEFAULT - -
-          Default container form, also if this is set the indvidual headers can be set in different forms.
LONG - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static SipServletMessage.HeaderFormvalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static SipServletMessage.HeaderForm[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-COMPACT

-
-public static final SipServletMessage.HeaderForm COMPACT
-
-
-
-
-
- -

-LONG

-
-public static final SipServletMessage.HeaderForm LONG
-
-
-
-
-
- -

-DEFAULT

-
-public static final SipServletMessage.HeaderForm DEFAULT
-
-
Default container form, also if this is set the indvidual headers can be set in different forms. -

-

-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final SipServletMessage.HeaderForm[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(SipServletMessage.HeaderForm c : SipServletMessage.HeaderForm.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static SipServletMessage.HeaderForm valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletMessage.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletMessage.html deleted file mode 100644 index 1aa42ac5cd..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletMessage.html +++ /dev/null @@ -1,2359 +0,0 @@ - - - - - - -SipServletMessage (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipServletMessage

-
-
All Superinterfaces:
java.lang.Cloneable
-
-
-
All Known Subinterfaces:
SipServletRequest, SipServletResponse
-
-
-
-
public interface SipServletMessage
extends java.lang.Cloneable
- - -

-Defines common aspects of SIP requests and responses. - -

The Servlet API is defined with an implicit assumption that servlets - receives requests from clients, inspects various aspects of the - corresponding ServletRequest object, and generates a - response by setting various attributes of a ServletResponse - object. This model fits HTTP well, because HTTP servlets always execute - origin servers; they execute only to process incoming requests - and never initiates HTTP requests of their own. - -

SIP services, on the other hand, does need to be able to initiate - requests of their own. This implies that SIP request and response classes - are more symmetric, that is, requests must be writable as well as - readable, and likewise, responses must be readable as well as writable. - -

The SipServletMessage interface defines a number of - methods which are common to SipServletRequest and - SipServletResponse, for example setters and getters for - message headers and content. - -

System Headers

- - Applications must not add, delete, or modify so-called "system" - headers. These are header fields that the servlet container manages: - From, To, Call-ID, CSeq, Via, Route (except through - pushRoute), Record-Route, Path. Contact is a system header field - in messages other than REGISTER requests and responses, 3xx and 485 - responses, and 200/OPTIONS responses. Additionally, for containers - implementing the reliable provisional responses extension, RAck and RSeq - are considered system headers also. Note that From and To are system header - fields only with respect to their tags (i.e., tag parameters on these headers - are not allowed to be modified but modifications are allowed to the other parts). - -

Implicit Transaction State

- - SipServletMessage objects always implicitly - belong to a SIP transaction, and the transaction state machine - (as defined by the SIP specification) constrains - what messages can legally be sent at various points of processing. If a - servlet attempts to send a message which would violate the SIP - specification (for example, the transaction state machine), the container - throws an IllegalStateException. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static classSipServletMessage.HeaderForm - -
-          Type header forms.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddAcceptLanguage(java.util.Locale locale) - -
-          Adds an acceptable Locale of this user agent.
- voidaddAddressHeader(java.lang.String name, - Address addr, - boolean first) - -
-          Adds the specified Address as a new value of the - named header field.
- voidaddHeader(java.lang.String name, - java.lang.String value) - -
-          Adds a header with the given name and value.
- voidaddParameterableHeader(java.lang.String name, - Parameterable param, - boolean first) - -
-          Adds the specified Parameterable as a new value of the - named header field.
- java.util.LocalegetAcceptLanguage() - -
-          Returns the preferred Locale that the UA originating - this message will accept content in, based on the Accept-Language - header.
- java.util.Iterator<java.util.Locale>getAcceptLanguages() - -
-          Returns an Iterator over Locale objects - indicating, in decreasing order starting with the preferred locale, - the locales that are acceptable to the sending UA based on the - Accept-Language header.
- AddressgetAddressHeader(java.lang.String name) - -
-          Returns the value of the specified header as a - Address object.
- java.util.ListIterator<Address>getAddressHeaders(java.lang.String name) - -
-          Returns a ListIterator over all Address - header field values for the specified header.
- SipApplicationSessiongetApplicationSession() - -
-          Returns the application session to which this message belongs.
- SipApplicationSessiongetApplicationSession(boolean create) - -
-          Returns the app session to which this message belongs.
- java.lang.ObjectgetAttribute(java.lang.String name) - -
-          Returns the value of the named attribute as an Object, or null if - no attribute of the given name exists.
- java.util.Enumeration<java.lang.String>getAttributeNames() - -
-          Returns an Enumeration containing the names of the - attributes available to this message object.
- java.lang.StringgetCallId() - -
-          Returns the value of the Call-ID header in this - SipServletMessage.
- java.lang.StringgetCharacterEncoding() - -
-          Returns the name of the charset used for the MIME body sent in - this message.
- java.lang.ObjectgetContent() - -
-          Returns the content as a Java object.
- java.util.LocalegetContentLanguage() - -
-          Returns the locale of this message.
- intgetContentLength() - -
-          Returns the length in number of bytes of the content part of this - message.
- java.lang.StringgetContentType() - -
-          Returns the value of the Content-Type header field.
- intgetExpires() - -
-          Returns the value of the Expires header.
- AddressgetFrom() - -
-          Returns the value of the From header.
- java.lang.StringgetHeader(java.lang.String name) - -
-          Returns the value of the specified header as a - String.
- SipServletMessage.HeaderFormgetHeaderForm() - -
-           
- java.util.Iterator<java.lang.String>getHeaderNames() - -
-          Returns an Iterator over all the header names this - message contains.
- java.util.ListIterator<java.lang.String>getHeaders(java.lang.String name) - -
-          Returns all the values of the specified header as a - ListIterator over a number of String objects.
- java.lang.StringgetInitialRemoteAddr() - -
-          Returns the IP address of the upstream/downstream hop from which - this message was initially received by the container.
- Unlike getRemoteAddr(), this method - returns the same value regardless of which application invokes it - in the same application composition chain of a specific application router.
- intgetInitialRemotePort() - -
-          Returns the port number of the upstream/downstream hop from which - this message initially received by the container.
- java.lang.StringgetInitialTransport() - -
-          Returns the name of the protocol with which this message was initially - received by the container, - e.g.
- java.lang.StringgetLocalAddr() - -
-          Returns the IP address of the interface this message was received on.
- intgetLocalPort() - -
-          Returns the local port this message was received on.
- java.lang.StringgetMethod() - -
-          Returns the SIP method of this message.
- ParameterablegetParameterableHeader(java.lang.String name) - -
-          Returns the value of the specified header field as a - Parameterable object.
- java.util.ListIterator<? extends Parameterable>getParameterableHeaders(java.lang.String name) - -
-          Returns a ListIterator over all Parameterable - header field values for the specified header name.
- java.lang.StringgetProtocol() - -
-          Returns the name and version of the protocol of this message.
- byte[]getRawContent() - -
-          Returns message content as a byte array.
- java.lang.StringgetRemoteAddr() - -
-          Returns the IP address of the next upstream/downstream hop from which - this message was received.
- intgetRemotePort() - -
-          Returns the port number of the next upstream/downstream hop from which - this message was received.
- java.lang.StringgetRemoteUser() - -
-          Returns the login of the user sending this message, if the - user has been authenticated, or null if the user has not been - authenticated.
- SipSessiongetSession() - -
-          Returns the SipSession to which this message belongs.
- SipSessiongetSession(boolean create) - -
-          Returns the SipSession to which this message belongs.
- AddressgetTo() - -
-          Returns the value of the To header.
- java.lang.StringgetTransport() - -
-          Returns the name of the protocol with which this message was received, - e.g.
- java.security.PrincipalgetUserPrincipal() - -
-          Returns a java.security.Principal object containing - the name of the authenticated user agent sending this message.
- booleanisCommitted() - -
-          Returns true if this message is committed, that is, if one - of the following conditions is true: - - This message is an incoming request for which a final response - has already been generated - This message is an outgoing request which has already been sent - This message is an incoming non-reliable provisional response received - by a servlet acting as a UAC - This message is an incoming reliable provisional response for which PRACK - has already been generated.
- booleanisSecure() - -
-          Returns a boolean indicating whether this message was received over - a secure channel, such as TLS.
- booleanisUserInRole(java.lang.String role) - -
-          Returns a boolean indicating whether the authenticated user is - included in the specified logical "role".
- voidremoveAttribute(java.lang.String name) - -
-          Removes the named attribute from this message.
- voidremoveHeader(java.lang.String name) - -
-          Removes the specified header.
- voidsend() - -
-          Sends this SipServletMessage.
- voidsetAcceptLanguage(java.util.Locale locale) - -
-          Sets the preferred Locale that this user agent will - accept content, reason phrases, warnings, etc.
- voidsetAddressHeader(java.lang.String name, - Address addr) - -
-          Sets the header with the specified name to have the value - specified by the address argument.
- voidsetAttribute(java.lang.String name, - java.lang.Object o) - -
-          Stores an attribute in this message.
- voidsetCharacterEncoding(java.lang.String enc) - -
-          Overrides the name of the character encoding that will be used to - convert the body of this message from bytes to characters or vice - versa.
- voidsetContent(java.lang.Object content, - java.lang.String contentType) - -
-          Sets the content of this message to the specified Object.
- voidsetContentLanguage(java.util.Locale locale) - -
-          Sets the locale of this message, setting the headers (Content-Language - and the Content-Type's charset) as appropriate.
- voidsetContentLength(int len) - -
-          Sets the value of the Content-Length header.
- voidsetContentType(java.lang.String type) - -
-          Sets the content type of the response being sent to the client.
- voidsetExpires(int seconds) - -
-          Sets the value of the Expires header in this message.
- voidsetHeader(java.lang.String name, - java.lang.String value) - -
-          Sets a header with the given name and value.
- voidsetHeaderForm(SipServletMessage.HeaderForm form) - -
-          Indicates which of the compact or long form should the headers in this - message have.
- voidsetParameterableHeader(java.lang.String name, - Parameterable param) - -
-          Sets the header with the specified name to have the value - specified by the address argument.
-  -

- - - - - - - - -
-Method Detail
- -

-getFrom

-
-Address getFrom()
-
-
Returns the value of the From header. -

-

-
-
-
- -
Returns:
internal representation of the From header
-
-
-
- -

-getTo

-
-Address getTo()
-
-
Returns the value of the To header. -

-

-
-
-
- -
Returns:
internal representation of the To header
-
-
-
- -

-getMethod

-
-java.lang.String getMethod()
-
-
Returns the SIP method of this message. This is a token consisting - of all upper-case letters, for example "INVITE". For requests, the - SIP method is in the request line while for responses it may be - extracted from the CSeq header. -

-

-
-
-
- -
Returns:
the SIP method of this SipServletMessage
-
-
-
- -

-getProtocol

-
-java.lang.String getProtocol()
-
-
Returns the name and version of the protocol of this message. - This is in the form <protocol> "/" <major-version-number> "." - <minor-version-number>, for example "SIP/2.0". - -

For this version of the SIP Servlet API this is always "SIP/2.0". -

-

-
-
-
- -
Returns:
a String containing the protocol name and - version number
-
-
-
- -

-getHeader

-
-java.lang.String getHeader(java.lang.String name)
-
-
Returns the value of the specified header as a - String. - If the message did not include a header of the specified name, - this method returns null. If the message included a header of - the specified name with no value, this method returns an empty - String. If multiple headers exist, the first - one is returned. The header name is case insensitive. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. - The list of assigned compact form is available in the IANA registry at http://www.iana.org/assignments/sip-parameters - -

For example, -

-   getHeader("Content-Type");
-   getHeader("c");
- 
- will both return the same value. -

-

-
-
-
-
Parameters:
name - a String specifying the header name, either - the long or compact form -
Returns:
a String containing the value of the - requested header, or null if the message does not have a - header of that name -
Throws: -
java.lang.NullPointerException - if the name is null.
-
-
-
- -

-getHeaders

-
-java.util.ListIterator<java.lang.String> getHeaders(java.lang.String name)
-
-

Returns all the values of the specified header as a - ListIterator over a number of String objects. The - values returned by the Iterator follow the order in which they - appear in the message header. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. - The list of assigned compact form is available in the IANA registry at http://www.iana.org/assignments/sip-parameters - -

Some headers, such as Accept-Language can be sent - by clients as several headers each with a different value rather - than sending the header as a comma separated list. - -

If the message did not include any headers of the specified name, - this method returns an empty Iterator. If the message included headers of - the specified name with no values, this method returns an Iterator over empty - Strings. The header name is case - insensitive. -

Note: This is a fail-fast iterator and can throw ConcurrentModificationException - if the underlying implementation does not allow modification after the - iterator is created. -

Attempts to modify the specified header field through the - returned list iterator must fail with an - IllegalArgumentException if the header field is a - system header. -

-

-
-
-
-
Parameters:
name - a String specifying the header name, either - the long or compact form -
Returns:
a ListIterator over the String - values of the specified header field -
Throws: -
java.lang.NullPointerException - if the name is null.
-
-
-
- -

-getHeaderNames

-
-java.util.Iterator<java.lang.String> getHeaderNames()
-
-
Returns an Iterator over all the header names this - message contains. If the message has no headers, this method - returns an empty Iterator. -

Note: This is a fail-fast iterator and can throw ConcurrentModificationException - if the underlying implementation does not allow modification after the - iterator is created. -

Some servlet containers do not allow servlets to access headers - using this method, in which case this method returns null. -

-

-
-
-
- -
Returns:
an Iterator over the names of all header fields - present within this message; if the message has no header fields, - an empty enumeration; if the servlet container does not - allow servlets to use this method, null
-
-
-
- -

-setHeader

-
-void setHeader(java.lang.String name,
-               java.lang.String value)
-
-
Sets a header with the given name and value. If the header had - already been set, the new value overwrites the previous one. If there - are multiple headers with the same name, they all are replaced by this - header name, value pair. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. The applications choice of - long or compact form shall take effect only of the HeaderForm - parameter is set to SipServletMessage.HeaderForm.DEFAULT. - -

Note: applications should never attempt to set the - From, To, Call-ID, CSeq, Via, Record-Route, and Route headers. - Also, setting of the Contact header is subject to the constraints - mentioned in the introduction. -

-

-
-
-
-
Parameters:
name - a String specifying the header name, either - the long or compact form
value - the header value -
Throws: -
java.lang.IllegalArgumentException - if the specified header field - is a system header -
java.lang.NullPointerException - if the name or value is null
-
-
-
- -

-addHeader

-
-void addHeader(java.lang.String name,
-               java.lang.String value)
-
-
Adds a header with the given name and value. This method allows - headers to have multiple values. The container MAY check that - the specified header field can legally appear in this - message. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. - The list of assigned compact form is available in the IANA registry at http://www.iana.org/assignments/sip-parameters - -

Note: applications should never attempt to set the - From, To, Call-ID, CSeq, Via, Record-Route, and Route headers. - Also, setting of the Contact header is subject to the constraints - mentioned in the introduction. -

-

-
-
-
-
Parameters:
name - a String specifying the header name, either - the long or compact form
value - the additional header value -
Throws: -
java.lang.IllegalArgumentException - if the specified header field - is a system header or if it cannot - legally appear in this message
-
-
-
- -

-removeHeader

-
-void removeHeader(java.lang.String name)
-
-
Removes the specified header. If multiple headers exists with the - given name, they're all removed. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. -

-

-
-
-
-
Parameters:
name - a String specifying the header name, either - the long or compact form -
Throws: -
java.lang.IllegalArgumentException - if the specified header field - is a system header
-
-
-
- -

-getAddressHeader

-
-Address getAddressHeader(java.lang.String name)
-                         throws ServletParseException
-
-
Returns the value of the specified header as a - Address object. - -

This method can be used with headers which are defined to contain - one or more entries matching - (name-addr | addr-spec) *(SEMI generic-param) - as defined in RFC 3261. This includes, for example, Contact and Route. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. - -

If there is more than one header field value the first is returned. -

-

-
-
-
-
Parameters:
name - a case insensitive String specifying - the name of the header, either the long or compact form -
Returns:
value of the header as an Address -
Throws: -
ServletParseException - if the specified header field - cannot be parsed as a SIP address object -
java.lang.NullPointerException - if the name is null.
-
-
-
- -

-getAddressHeaders

-
-java.util.ListIterator<Address> getAddressHeaders(java.lang.String name)
-                                                  throws ServletParseException
-
-
Returns a ListIterator over all Address - header field values for the specified header. The values returned - by the Iterator follow the order in which they appear in the message - header. - -

This method can be used with headers which are defined to contain - one or more entries matching - (name-addr | addr-spec) *(SEMI generic-param) - as defined in RFC 3261. This includes, for example, Contact and Route. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. - -

If the message did not include any headers of the specified name, - this method returns an empty Iterator. If the message included headers of - the specified name with no values, this method returns an Iterator over empty - Strings. - -

Attempts to modify the specified header field through the - returned list iterator must fail with an - IllegalArgumentException if the header field is a - system header. For non-system headers the - argument to the add and set methods - of the iterator returned by getAddressHeaders must - be Address objects. -

Note: This is a fail-fast iterator and can throw ConcurrentModificationException - if the underlying implementation does not allow modification after the - iterator is created. -

-

-
-
-
-
Parameters:
name - a case insensitive String specifying - the name of the header field, either the long or compact form -
Returns:
a ListIterator over the Address - values of the specified header field -
Throws: -
ServletParseException - if the specified header field - cannot be parsed as a SIP address object -
java.lang.NullPointerException - if the name is null.
-
-
-
- -

-setAddressHeader

-
-void setAddressHeader(java.lang.String name,
-                      Address addr)
-
-
Sets the header with the specified name to have the value - specified by the address argument. - -

This method can be used with headers which are defined to contain - one or more entries matching - (name-addr | addr-spec) *(SEMI generic-param) - as defined in RFC 3261. This includes, for example, Contact and Route. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. -

-

-
-
-
-
Parameters:
name - the long or compact name of the header to set
addr - the assigned address value -
Throws: -
java.lang.IllegalArgumentException - if the specified header isn't - defined to hold address values or if the specified header field - is a system header
-
-
-
- -

-addAddressHeader

-
-void addAddressHeader(java.lang.String name,
-                      Address addr,
-                      boolean first)
-
-
Adds the specified Address as a new value of the - named header field. The address is added as the last - header field value. - -

This method can be used with headers which are defined to contain - one or more entries matching - (name-addr | addr-spec) *(SEMI generic-param) - as defined in RFC 3261. This includes, for example, Contact and Route. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. -

-

-
-
-
-
Parameters:
name - the long or compact name of the header to set
addr - the additional address value
first - if true, the address is added as the first value of - the specified header field, otherwise it will be the last -
Throws: -
java.lang.IllegalArgumentException - if the specified header isn't - defined to hold address values or if the specified header field - is a system header
-
-
-
- -

-getParameterableHeader

-
-Parameterable getParameterableHeader(java.lang.String name)
-                                     throws ServletParseException
-
-
Returns the value of the specified header field as a - Parameterable object. - -

This method can be used with headers which are defined to contain - one or more entries matching - field-value *(;parameter-name=parameter-value) - as defined in RFC 3261. This includes, for example, Event and Via. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. - -

If there is more than one header field value the first is returned. -

-

-
-
-
-
Parameters:
name - a case insensitive String specifying - the name of the header, either the long or compact form -
Returns:
value of the header as a Parameterable -
Throws: -
ServletParseException - if the specified header field cannot be - parsed as a SIP parameterable object -
java.lang.NullPointerException - if the name is null.
Since:
-
1.1
-
-
-
-
- -

-getParameterableHeaders

-
-java.util.ListIterator<? extends Parameterable> getParameterableHeaders(java.lang.String name)
-                                                                        throws ServletParseException
-
-
Returns a ListIterator over all Parameterable - header field values for the specified header name. The values returned - by the Iterator follow the order in which they appear in the message - header. - -

This method can be used with headers which are defined to contain - one or more entries matching - field-value *(;parameter-name=parameter-value) - as defined in RFC 3261. This includes, for example, Event and Via. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. - -

If the message did not include any headers of the specified name, - this method returns an empty Iterator. If the message included headers of - the specified name with no values, this method returns an Iterator over empty - Strings. - -

Attempts to modify the specified header field through the - returned list iterator must fail with an - IllegalArgumentException if the header field is a - system header. -

Note: This is a fail-fast iterator and can throw ConcurrentModificationException - if the underlying implementation does not allow modification after the - iterator is created. -

-

-
-
-
-
Parameters:
name - a case insensitive String specifying - the name of the header field, either the long or compact form -
Returns:
a ListIterator over the Parameterable - values of the specified header field -
Throws: -
ServletParseException - if the specified header field cannot be - parsed as a SIP parameterable object -
java.lang.NullPointerException - if the name is null.
Since:
-
1.1
-
-
-
-
- -

-setParameterableHeader

-
-void setParameterableHeader(java.lang.String name,
-                            Parameterable param)
-
-
Sets the header with the specified name to have the value - specified by the address argument. - -

This method can be used with headers which are defined to contain - one or more entries matching - field-value *(;parameter-name=parameter-value) - as defined in RFC 3261. This includes, for example, Event and Via. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. -

-

-
-
-
-
Parameters:
name - the long or compact name of the header to set
param - the assigned Parameterable value -
Throws: -
java.lang.IllegalArgumentException - if the specified header isn't - defined to hold Parameterable values or if the specified header field - is a system header
Since:
-
1.1
-
-
-
-
- -

-addParameterableHeader

-
-void addParameterableHeader(java.lang.String name,
-                            Parameterable param,
-                            boolean first)
-
-
Adds the specified Parameterable as a new value of the - named header field. The parameterable is added as the last - header field value. - -

This method can be used with headers which are defined to contain - one or more entries matching - - field-value *(;parameter-name=parameter-value) - - as defined in RFC 3261. This includes, for example, Event and Via. - -

Either the long or compact name can be used to access the header - field, as both are treated as equivalent. -

-

-
-
-
-
Parameters:
name - the long or compact name of the header to set
param - the additional parameterable value
first - if true, the parameterable is added as the first value of - the specified header field, otherwise it will be the last -
Throws: -
java.lang.IllegalArgumentException - if the specified header isn't - defined to hold Parameterable values or if the specified header field - is a system header
Since:
-
1.1
-
-
-
-
- -

-getCallId

-
-java.lang.String getCallId()
-
-
Returns the value of the Call-ID header in this - SipServletMessage. -

-

-
-
-
- -
Returns:
the Call-ID value of this SipServletMessage
-
-
-
- -

-getExpires

-
-int getExpires()
-
-
Returns the value of the Expires header. The Expires header field - gives the relative time after which the message (or content) expires. - The unit of measure is seconds. -

-

-
-
-
- -
Returns:
value of Expires header, or -1 if the header does not exist
-
-
-
- -

-setExpires

-
-void setExpires(int seconds)
-
-
Sets the value of the Expires header in this message. - This method is equivalent to: -
-   setHeader("Expires", String.valueOf(seconds));
- 
-

-

-
-
-
-
Parameters:
seconds - the value of the Expires header measured in seconds
-
-
-
- -

-getCharacterEncoding

-
-java.lang.String getCharacterEncoding()
-
-

Returns the name of the charset used for the MIME body sent in - this message. This method returns null if the message does not - specify a character encoding. - -

The message character encoding is used when converting - between bytes and characters. If the character encoding hasn't - been set explicitly UTF-8 will be used for this - purpose. - -

For more information about character encodings and MIME see - RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt). -

-

-
-
-
- -
Returns:
a String specifying the name of the charset, - for example, UTF-8
-
-
-
- -

-setCharacterEncoding

-
-void setCharacterEncoding(java.lang.String enc)
-                          throws java.io.UnsupportedEncodingException
-
-
Overrides the name of the character encoding that will be used to - convert the body of this message from bytes to characters or vice - versa. - -

Explicitly setting a message's character encoding potentially - affects the behavior of subsequent calls to getContent() - and setContent(java.lang.Object, java.lang.String). - This method must be called prior to calling either of those methods. -

-

-
-
-
-
Parameters:
enc - name of the chararacter encoding -
Throws: -
java.io.UnsupportedEncodingException - if this is not a valid encoding
-
-
-
- -

-getContentLength

-
-int getContentLength()
-
-
Returns the length in number of bytes of the content part of this - message. This directly reflects the value of the Content-Length header - field. -

-

-
-
-
- -
Returns:
an integer containing the length of the message body
-
-
-
- -

-getContentType

-
-java.lang.String getContentType()
-
-
Returns the value of the Content-Type header field. -

-

-
-
-
- -
Returns:
a String containing the name of the - MIME type of this message, or null if the body is empty
-
-
-
- -

-getRawContent

-
-byte[] getRawContent()
-                     throws java.io.IOException
-
-
Returns message content as a byte array. The reference is returned - if the application wants to re-use the content for another message - it should make a copy. -

-

-
-
-
- -
Returns:
message content as a raw byte array, or null if no content - is set -
Throws: -
java.io.IOException - if an IOException occurred
-
-
-
- -

-getContent

-
-java.lang.Object getContent()
-                            throws java.io.IOException,
-                                   java.io.UnsupportedEncodingException
-
-
Returns the content as a Java object. The actual type of the - returned object depends on the MIME type of the content itself - (the Content-Type). Containers are required to return a - String object for MIME type text/plain - as for other text/* MIME types for which the - container doesn't have specific knowledge. - -

It is encouraged that the object returned for "multipart" MIME - content is a javax.mail.Multipart object. A byte array - is returned for content-types that are unknown to the container. - -

The message's character encoding is used when the MIME type - indicates that the content consists of character data. - -

Note: This method, together with setContent, - is modelled over similar methods - in the JavaMail API. Whereas the JavaMail API mandates the use of - the Java Activation Framework (JAF) as the underlying data handling - system, the SIP servlet API doesn't currently require JAF. -

-

-
-
-
- -
Returns:
an object representing the parsed content, or a - byte[] object containing the raw content - if the MIME type isn't known to the platform -
Throws: -
java.io.IOException - if an IOException occurred -
java.io.UnsupportedEncodingException - if the content is textual in - character but this message's character encoding is not - supported by the platform
-
-
-
- -

-setContent

-
-void setContent(java.lang.Object content,
-                java.lang.String contentType)
-                throws java.io.UnsupportedEncodingException
-
-
Sets the content of this message to the specified Object. - -

This method only works if the implementation "knows about" the - specified object and MIME type. Containers are required to handle - byte[] content with any MIME type. - -

Furthermore, containers are required to handle String - content - when used with a text/* content type. When invoked - with non-String objects and a text/* content type, - containers may invoke toString() on the content - Object in order to obtain the body's character data. - It is also recommended that implementations know how to handle - javax.mail.Multipart content when used together with - "multipart" MIME types. - -

When converting String content, this method may - use the the message's character encoding - (as set by setCharacterEncoding(java.lang.String), setContentType(java.lang.String) - or setContentLanguage(java.util.Locale)) to map the String to - a byte array. - -

Note: This method, together with - getContent(), is modelled over a similar method - in the JavaMail API. Whereas the JavaMail API mandates the use of - the Java Activation Framework (JAF) as the underlying data handling - system, the SIP servlet API doesn't currently require JAF. -

-

-
-
-
-
Parameters:
content - an object representing the message content
contentType - MIME type of the object -
Throws: -
java.io.UnsupportedEncodingException - if the content is textual in - nature and this message's character encoding is unsupported by - the server -
java.lang.IllegalArgumentException - if the platform doesn't know how to - serrialize content of the specified MIME type -
java.lang.IllegalStateException - if the message has already been sent - or if it's read-only
-
-
-
- -

-setContentLength

-
-void setContentLength(int len)
-
-
Sets the value of the Content-Length header. - -

Applications are discouraged from setting the Content-Length - directly using this method; they should instead use the - setContent methods which guarantees that the - Content-Length is computed and set correctly. -

-

-
-
-
-
Parameters:
len - an integer specifying the length of the content being - sent to the peer; sets the Content-Length header -
Throws: -
java.lang.IllegalStateException - if this is an incoming message or if - it has already been sent
-
-
-
- -

-setContentType

-
-void setContentType(java.lang.String type)
-
-
Sets the content type of the response being sent to the client. - The content type may include the type of character encoding used, - for example, text/html; charset=UTF-8. This will - cause the message's current character encoding to be set. - -

If obtaining a PrintWriter or calling - setContent, this method should be - called first. -

-

-
-
-
-
Parameters:
type - a String specifying the MIME type of - the content
-
-
-
- -

-getAttribute

-
-java.lang.Object getAttribute(java.lang.String name)
-
-
Returns the value of the named attribute as an Object, or null if - no attribute of the given name exists. - -

Attributes can be set two ways. The servlet container may set - attributes to make available custom information about a request - or a response. For example, for requests made using HTTPS, the - attribute javax.servlet.request.X509Certificate can - be used to retrieve information on the certificate of the client. - Attributes can also be set programatically using - setAttribute(String, Object). This allows information to - be embedded into a request or response before a - RequestDispatcher call. - -

Attribute names should follow the same conventions as package - names. Names beginning with javax.servlet.sip. are - reserved for definition by the SIP Servlet API. -

-

-
-
-
-
Parameters:
name - a String specifying the name of the attribute -
Returns:
an Object containing the value of the attribute, - or null if the attribute does not exist -
Throws: -
java.lang.NullPointerException - if the name is null.
-
-
-
- -

-getAttributeNames

-
-java.util.Enumeration<java.lang.String> getAttributeNames()
-
-
Returns an Enumeration containing the names of the - attributes available to this message object. This method returns - an empty Enumeration if the message has no attributes - available to it. -

-

-
-
-
- -
Returns:
an Enumeration of strings containing the names - of the message's attributes
-
-
-
- -

-setAttribute

-
-void setAttribute(java.lang.String name,
-                  java.lang.Object o)
-
-
Stores an attribute in this message. Attributes are reset between - messages. This method is most often used in conjunction with - RequestDispatcher. - -

Attribute names should follow the same conventions as package - names. Names beginning with javax.servlet.sip.* are reserved for - definition by the SIP Servlet API. -

-

-
-
-
-
Parameters:
name - a String specifying the name of the attribute
o - the Object to be stored -
Throws: -
java.lang.NullPointerException - if either of name or o is null.
-
-
-
- -

-removeAttribute

-
-void removeAttribute(java.lang.String name)
-
-
Removes the named attribute from this message. Nothing is done if the message did not - already contain the specified attribute. - -

Attribute names should follow the same conventions as package - names. Names beginning with javax.servlet.sip.* are reserved for - definition by the SIP Servlet API. -

-

-
-
-
-
Parameters:
name - a String specifying the name of the attribute -
Throws: -
java.lang.NullPointerException - if name is null.
-
-
-
- -

-getSession

-
-SipSession getSession()
-
-
Returns the SipSession to which this message belongs. - If the session didn't already exist it is created. This method is - equivalent to calling getSession(true). -

-

-
-
-
- -
Returns:
the SipSession to which this - SipServletMessage belongs
-
-
-
- -

-getSession

-
-SipSession getSession(boolean create)
-
-
Returns the SipSession to which this message belongs. -

-

-
-
-
-
Parameters:
create - indicates whether the session is created if it doesn't - already exist -
Returns:
the SipSession to which this - SipServletMessage belongs, or null if one hasn't - been created and create is false
-
-
-
- -

-getApplicationSession

-
-SipApplicationSession getApplicationSession()
-
-
Returns the application session to which this message belongs. - If the session doesn't already exist it is created. -

-

-
-
-
- -
Returns:
the application session to which this - SipServletMessage belongs
-
-
-
- -

-getApplicationSession

-
-SipApplicationSession getApplicationSession(boolean create)
-
-
Returns the app session to which this message belongs. -

-

-
-
-
-
Parameters:
create - if true the session is created if it didn't - already exist, otherwise null is returned
-
-
-
- -

-getAcceptLanguage

-
-java.util.Locale getAcceptLanguage()
-
-
Returns the preferred Locale that the UA originating - this message will accept content in, based on the Accept-Language - header. If this message doesn't contain an Accept-Language header, - this method returns null. Note that this behavior is different from - v1.0 where the default locale for the server would have been returned. -

-

-
-
-
- -
Returns:
the preferred Locale for the sending user agent
-
-
-
- -

-getAcceptLanguages

-
-java.util.Iterator<java.util.Locale> getAcceptLanguages()
-
-
Returns an Iterator over Locale objects - indicating, in decreasing order starting with the preferred locale, - the locales that are acceptable to the sending UA based on the - Accept-Language header. If this message doesn't provide an - Accept-Language header, this method returns an empty - Iterator. Note that this behavior is different from - v1.0 where an Iterator containing the default locale for - the server would have been returned. -

-

-
-
-
- -
Returns:
an Iterator over preferred locales for the - UA originating this message
-
-
-
- -

-setAcceptLanguage

-
-void setAcceptLanguage(java.util.Locale locale)
-
-
Sets the preferred Locale that this user agent will - accept content, reason phrases, warnings, etc. in. The language - identified by the Locale will be listed in an - Accept-Language header. - -

A null argument is valid and removes and existing Accept-Language - headers. -

-

-
-
-
-
Parameters:
locale - the preferred locale of this user agent
-
-
-
- -

-addAcceptLanguage

-
-void addAcceptLanguage(java.util.Locale locale)
-
-
Adds an acceptable Locale of this user agent. The - language identified by the Locale will be listed in - an Accept-Language header with a lower q-value than any existing - Accept-Language value, meaning the locale is less preferred than - those already identified in this message. -

-

-
-
-
-
Parameters:
locale - a locale acceptable to this user agent
-
-
-
- -

-setContentLanguage

-
-void setContentLanguage(java.util.Locale locale)
-
-
Sets the locale of this message, setting the headers (Content-Language - and the Content-Type's charset) as appropriate. This method should - be called before a call to setContent. -

-

-
-
-
-
Parameters:
locale - the locale of this message
-
-
-
- -

-getContentLanguage

-
-java.util.Locale getContentLanguage()
-
-
Returns the locale of this message. This method returns the - Locale identified by the Content-Language header - of the message, or null if the Content-Language header is not present. -

-

-
-
-
- -
Returns:
Locale of this message, or null if none.
-
-
-
- -

-send

-
-void send()
-          throws java.io.IOException
-
-
Sends this SipServletMessage. -

-

-
-
-
- -
Throws: -
java.io.IOException - if a transport error occurs when trying to - send this message -
java.lang.IllegalStateException - if this message cannot legally be sent - in the current state of the underlying SIP transaction
-
-
-
- -

-isSecure

-
-boolean isSecure()
-
-
Returns a boolean indicating whether this message was received over - a secure channel, such as TLS. -

-

-
-
-
- -
Returns:
a boolean indicating if this message was received over a - secure channel
-
-
-
- -

-isCommitted

-
-boolean isCommitted()
-
-
Returns true if this message is committed, that is, if one - of the following conditions is true: -
    -
  • This message is an incoming request for which a final response - has already been generated -
  • This message is an outgoing request which has already been sent -
  • This message is an incoming non-reliable provisional response received - by a servlet acting as a UAC -
  • This message is an incoming reliable provisional response for which PRACK - has already been generated. (Note that this scenario applies to containers that - support the 100rel extension.) -
  • This message is an incoming final response received by a servlet acting as a - UAC for a Non INVITE transaction -
  • This message is a response which has been forwarded upstream -
  • This message is an incoming final response to an INVITE transaction and an - ACK has been generated -
  • This message is an outgoing request, the client transaction has timed out and - no response was received from the UAS and the container generates a 408 response locally -
-

-

-
-
-
- -
Returns:
true if this message is committed, false otherwise
-
-
-
- -

-getRemoteUser

-
-java.lang.String getRemoteUser()
-
-
Returns the login of the user sending this message, if the - user has been authenticated, or null if the user has not been - authenticated. -

-

-
-
-
- -
Returns:
a String specifying the login of the user - sending this message, or null if the user has not been - authenticated
-
-
-
- -

-isUserInRole

-
-boolean isUserInRole(java.lang.String role)
-
-
Returns a boolean indicating whether the authenticated user is - included in the specified logical "role". Roles and role - membership can be defined using deployment descriptors. If the - user has not been authenticated, the method returns false. -

-

-
-
-
-
Parameters:
role - a String specifying the name of the role -
Returns:
a boolean indicating whether the user sending this message - belongs to a given role; false if the user has not been - authenticated
-
-
-
- -

-getUserPrincipal

-
-java.security.Principal getUserPrincipal()
-
-
Returns a java.security.Principal object containing - the name of the authenticated user agent sending this message. - If the user agent has not been authenticated, the method returns null. -

-

-
-
-
- -
Returns:
a java.security.Principal representing the - sending user, or null if the user has not been authenticated
-
-
-
- -

-getLocalAddr

-
-java.lang.String getLocalAddr()
-
-
Returns the IP address of the interface this message was received on. -

-

-
-
-
- -
Returns:
IP address of the local interface this message was received on, - or null if it was locally generated.
-
-
-
- -

-getLocalPort

-
-int getLocalPort()
-
-
Returns the local port this message was received on. -

-

-
-
-
- -
Returns:
local port on which this message was received, or -1 - if it was locally generated.
-
-
-
- -

-getRemoteAddr

-
-java.lang.String getRemoteAddr()
-
-
Returns the IP address of the next upstream/downstream hop from which - this message was received. Applications can determine the actual IP - address of the UA that originated the message from the message Via - header fields.
- If the message was internally routed (from one application to the - next within the same container), then this method returns the address - of the container's SIP interface. -

-

-
-
-
- -
Returns:
a String containing the IP address of the - sender of this message, or null if it was locally generated
-
-
-
- -

-getRemotePort

-
-int getRemotePort()
-
-
Returns the port number of the next upstream/downstream hop from which - this message was received.
- If the message was internally routed (from one application to the - next within the same container), then this method returns a valid - port number chosen by the container or the host TCP/IP stack. -

-

-
-
-
- -
Returns:
the port number of the sender of this message, or -1 - if it was locally generated.
-
-
-
- -

-getTransport

-
-java.lang.String getTransport()
-
-
Returns the name of the protocol with which this message was received, - e.g. "UDP", "TCP", "TLS", or "SCTP".
-

-

-
-
-
- -
Returns:
name of the protocol this message was received with, or null - if it was locally generated.
-
-
-
- -

-getInitialRemoteAddr

-
-java.lang.String getInitialRemoteAddr()
-
-
Returns the IP address of the upstream/downstream hop from which - this message was initially received by the container.
- Unlike getRemoteAddr(), this method - returns the same value regardless of which application invokes it - in the same application composition chain of a specific application router. -

-

-
-
-
- -
Returns:
a String containing the IP address of the - sender of this message, or null if it was locally generated
Since:
-
1.1
-
-
-
-
- -

-getInitialRemotePort

-
-int getInitialRemotePort()
-
-
Returns the port number of the upstream/downstream hop from which - this message initially received by the container.
- Unlike getRemotePort(), this method - returns the same value regardless of which application invokes it - in the same application composition chain of a specific application router. -

-

-
-
-
- -
Returns:
the port number of the sender of this message, or -1 - if it was locally generated.
Since:
-
1.1
-
-
-
-
- -

-getInitialTransport

-
-java.lang.String getInitialTransport()
-
-
Returns the name of the protocol with which this message was initially - received by the container, - e.g. "UDP", "TCP", "TLS", or "SCTP". -

-

-
-
-
- -
Returns:
name of the protocol this message was initially received with, - or null if it was locally generated.
Since:
-
1.1
-
-
-
-
- -

-setHeaderForm

-
-void setHeaderForm(SipServletMessage.HeaderForm form)
-
-
Indicates which of the compact or long form should the headers in this - message have. If compact is selected then all the headers that have compact - names should be represented with them, regardless of how they were added - to the message. When long is selected then all headers change to their long - form. Instead if the applications - wish to mix the compact and long form then they must not invoke the - setUseCompactForm method or set it to use SipServletMessage.HeaderForm.DEFAULT - and instead set the non-system - headers directly using the compact or long form setHeader(String, String). - eg. -
- SipServletMessage message;
- .....
- message.setHeader("s", "Meeting at 5pm");   // Subject header compact form
- message.setHeader("Allow-Events", "telephone-event"); // Long form
- .....
- 
- For applications to set each header individually the value of the - HeaderForm MUST be SipServletMessage.HeaderForm.DEFAULT - The list of assigned compact form is available in the IANA registry at - http://www.iana.org/assignments/sip-parameters -

-

-
-
-
-
Parameters:
form - form desired by the application
Since:
-
1.1
-
-
-
-
- -

-getHeaderForm

-
-SipServletMessage.HeaderForm getHeaderForm()
-
-
-
-
-
- -
Returns:
the current header form that is on the message. The default is SipServletMessage.HeaderForm.DEFAULT
Since:
-
1.1
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletRequest.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletRequest.html deleted file mode 100644 index 538201d03e..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletRequest.html +++ /dev/null @@ -1,1092 +0,0 @@ - - - - - - -SipServletRequest (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipServletRequest

-
-
All Superinterfaces:
java.lang.Cloneable, javax.servlet.ServletRequest, SipServletMessage
-
-
-
-
public interface SipServletRequest
extends javax.servlet.ServletRequest, SipServletMessage
- - -

-Represents SIP request messages. When receiving an incoming SIP request - the container creates a SipServletRequest and passes it to - the handling servlet. For outgoing, locally initiated requests, - applications call SipFactory.createRequest - to obtain a SipServletRequest that can then be modified and - sent. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface javax.servlet.sip.SipServletMessage
SipServletMessage.HeaderForm
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddAuthHeader(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.
- voidaddAuthHeader(SipServletResponse challengeResponse, - java.lang.String username, - java.lang.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.
- SipServletRequestcreateCancel() - -
-          Returns a CANCEL request object.
- SipServletResponsecreateResponse(int statuscode) - -
-          Creates a response for this request with the specifies status code.
- SipServletResponsecreateResponse(int statusCode, - java.lang.String reasonPhrase) - -
-          Creates a response for this request with the specifies status code - and reason phrase.
- B2buaHelpergetB2buaHelper() - -
-          Returns the B2buaHelper associated with this request.
- AddressgetInitialPoppedRoute() - -
-          If a top route header had been removed by the container upon - initially receiving this request, then this method can be used to - retrieve it.
- javax.servlet.ServletInputStreamgetInputStream() - -
-          Always returns null.
- intgetMaxForwards() - -
-          Returns the value of the Max-Forwards header.
- AddressgetPoppedRoute() - -
-          If a top route header had been removed by the container upon receiving - this request, then this method can be used to retrieve it.
- ProxygetProxy() - -
-          Returns the Proxy object associated with this request.
- ProxygetProxy(boolean create) - -
-          Returns the Proxy object associated with this request.
- java.io.BufferedReadergetReader() - -
-          Always returns null.
- SipApplicationRoutingRegiongetRegion() - -
-          This method allows the application to obtain the region it was - invoked in for this SipServletRequest.
- URIgetRequestURI() - -
-          Returns the request URI of this request.
- SipApplicationRoutingDirectivegetRoutingDirective() - -
-          Returns the SipApplicationRoutingDirective associated with - this request.
- URIgetSubscriberURI() - -
-          Returns the URI of the subscriber for which this application - is invoked to serve.
- booleanisInitial() - -
-          Returns true if this is an initial request.
- voidpushPath(Address uri) - -
-          Adds a Path header field value to this request.
- voidpushRoute(Address uri) - -
-          Adds a Route header field value to this request with Address argument.
- voidpushRoute(SipURI uri) - -
-          Adds a Route header field value to this request.
- voidsend() - -
-          Causes this request to be sent.
- voidsetMaxForwards(int n) - -
-          Sets the value of the Max-Forwards header.
- voidsetRequestURI(URI uri) - -
-          Sets the request URI of this request.
- voidsetRoutingDirective(SipApplicationRoutingDirective directive, - SipServletRequest origRequest) - -
-          Sets the application routing directive for an outgoing request.
- - - - - - - -
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
- - - - - - - -
Methods inherited from interface javax.servlet.sip.SipServletMessage
addAcceptLanguage, addAddressHeader, addHeader, addParameterableHeader, getAcceptLanguage, getAcceptLanguages, getAddressHeader, getAddressHeaders, getApplicationSession, getApplicationSession, getAttribute, getAttributeNames, getCallId, getCharacterEncoding, getContent, getContentLanguage, getContentLength, getContentType, getExpires, getFrom, getHeader, getHeaderForm, getHeaderNames, getHeaders, getInitialRemoteAddr, getInitialRemotePort, getInitialTransport, getLocalAddr, getLocalPort, getMethod, getParameterableHeader, getParameterableHeaders, getProtocol, getRawContent, getRemoteAddr, getRemotePort, getRemoteUser, getSession, getSession, getTo, getTransport, getUserPrincipal, isCommitted, isSecure, isUserInRole, removeAttribute, removeHeader, setAcceptLanguage, setAddressHeader, setAttribute, setCharacterEncoding, setContent, setContentLanguage, setContentLength, setContentType, setExpires, setHeader, setHeaderForm, setParameterableHeader
-  -

- - - - - - - - -
-Method Detail
- -

-getRequestURI

-
-URI getRequestURI()
-
-
Returns the request URI of this request. -

-

-
-
-
- -
Returns:
request URI of this SipServletRequest
-
-
-
- -

-setRequestURI

-
-void setRequestURI(URI uri)
-
-
Sets the request URI of this request. This then becomes the - destination used in a subsequent invocation of send. -

-

-
-
-
-
Parameters:
uri - new request URI of this SipServletRequest -
Throws: -
java.lang.NullPointerException - on null uri
-
-
-
- -

-pushRoute

-
-void pushRoute(SipURI uri)
-
-
Adds a Route header field value to this request. The new value is - added ahead of any existing Route header fields. If this request does - not already contains a Route header, one is added with the value - as specified in the argument. - -

This method allows a UAC or a proxy to specify that the request - should visit one or more proxies before being delivered to the - destination. -

-

-
-
-
-
Parameters:
uri - the address that is added as a Route header value
See Also:
"RFC 3261, section 16.6", -pushRoute(Address)
-
-
-
- -

-pushRoute

-
-void pushRoute(Address uri)
-
-
Adds a Route header field value to this request with Address argument. The new value is - added ahead of any existing Route header fields. If this request does - not already contains a Route header, one is added with the value - as specified in the argument. - -

This method allows a UAC or a proxy to specify that the request - should visit one or more proxies before being delivered to the - destination. -

-

-
-
-
-
Parameters:
uri - the address that is added as a Route header value
Since:
-
1.1
-
See Also:
"RFC 3261, section 16.6", -pushRoute(SipURI)
-
-
-
- -

-getMaxForwards

-
-int getMaxForwards()
-
-
Returns the value of the Max-Forwards header. -

-

-
-
-
- -
Returns:
the value of the Max-Forwards header, or -1 if there is no - such header in this message
-
-
-
- -

-setMaxForwards

-
-void setMaxForwards(int n)
-
-
Sets the value of the Max-Forwards header. Max-Forwards serves to - limit the number of hops a request can make on the way to its - destination. It consists of an integer that is decremented by one - at each hop. - -

This method is equivalent to: -

-   setHeader("Max-Forwards", String.valueOf(n));
- 
-

-

-
-
-
-
Parameters:
n - new value of the Max-Forwards header -
Throws: -
java.lang.IllegalArgumentException - if the argument is not in the range - 0 to 255
-
-
-
- -

-send

-
-void send()
-          throws java.io.IOException
-
-
Causes this request to be sent. This method is used by SIP servlets - acting as user agent clients (UACs) only. Proxying applications use - Proxy.proxyTo(javax.servlet.sip.URI) instead. -

-

-
Specified by:
send in interface SipServletMessage
-
-
- -
Throws: -
java.io.IOException - if a transport error occurs when trying to - send this request
-
-
-
- -

-isInitial

-
-boolean isInitial()
-
-
Returns true if this is an initial request. An initial - request is one that is dispatched to applications based on the - containers configured rule set, as opposed to subsequent requests - which are routed based on the application path established - by a previous initial request. -

-

-
-
-
- -
Returns:
true if this is an initial request
-
-
-
- -

-getInputStream

-
-javax.servlet.ServletInputStream getInputStream()
-                                                throws java.io.IOException
-
-
Always returns null. SIP is not a content transfer protocol and - having stream based content accessors is of little utility. - -

Message content can be retrieved using SipServletMessage.getContent() - and SipServletMessage.getRawContent(). -

-

-
Specified by:
getInputStream in interface javax.servlet.ServletRequest
-
-
- -
Returns:
null -
Throws: -
java.io.IOException
-
-
-
- -

-getReader

-
-java.io.BufferedReader getReader()
-                                 throws java.io.IOException
-
-
Always returns null. SIP is not a content transfer protocol and - having stream based content accessors is of little utility. - -

Message content can be retrieved using SipServletMessage.getContent() - and SipServletMessage.getRawContent(). -

-

-
Specified by:
getReader in interface javax.servlet.ServletRequest
-
-
- -
Returns:
null -
Throws: -
java.io.IOException
-
-
-
- -

-getProxy

-
-Proxy getProxy()
-               throws TooManyHopsException
-
-
Returns the Proxy object associated with this request. - A Proxy instance will be created if one doesn't already - exist. This method behaves the same as getProxy(true). - -

Note that the container must return the same - Proxy instance whenever a servlet invokes - getProxy on messages belonging to the same transaction. - In particular, a response to a proxied request is associated with - the same Proxy object as is the original request. - -

This method throws an IllegalStateException if the - Proxy object didn't already exist and the transaction - underlying this SIP message is in a state which doesn't allow proxying, - for example if this is a SipServletRequest for which a - final response has already been generated. - -

If the request contains a Max-Forwards header field value of 0, - then this method will generate a 483 (Too many hops) error response - and throw TooManyHopsException. -

-

-
-
-
- -
Returns:
Proxy object associated with this request -
Throws: -
TooManyHopsException - if the request has a Max-Forwards - header field value of 0. -
java.lang.IllegalStateException - if the transaction underlying this - message isn't already associated with a Proxy - object and its state disallows proxying to be initiated, - for example, because a final response has already been generated. Also - if the application previously accessed the B2buaHelper by invoking - getB2buaHelper().
See Also:
getProxy(boolean)
-
-
-
- -

-getProxy

-
-Proxy getProxy(boolean create)
-               throws TooManyHopsException
-
-
Returns the Proxy object associated with this request. - If no Proxy object has yet been created for this request, - the create argument specifies whether a Proxy - object is to be created or not. - -

Once a Proxy object has been associated with a request - subsequent invocations of this method will yield the same - Proxy object, as will the no-argument - getProxy() method and SipServletResponse.getProxy() - for responses received to proxied requests. -

-

-
-
-
-
Parameters:
create - indicates whether the servlet engine should create - a new Proxy object if one does not already exist -
Returns:
Proxy object associated with this request -
Throws: -
TooManyHopsException - if this request has a Max-Forwards - header field value of 0. -
java.lang.IllegalStateException - if the transaction has already completed
-
-
-
- -

-createResponse

-
-SipServletResponse createResponse(int statuscode)
-
-
Creates a response for this request with the specifies status code. -

-

-
-
-
-
Parameters:
statuscode - status code for the response -
Returns:
response object with specified status code -
Throws: -
java.lang.IllegalArgumentException - if the statuscode is not a valid - SIP status code -
java.lang.IllegalStateException - if this request has already been - responded to with a final status code
-
-
-
- -

-createResponse

-
-SipServletResponse createResponse(int statusCode,
-                                  java.lang.String reasonPhrase)
-
-
Creates a response for this request with the specifies status code - and reason phrase. -

-

-
-
-
-
Parameters:
statusCode - status code for the response
reasonPhrase - reason phrase to appear in response line -
Returns:
response object with specified status code and reason phrase -
Throws: -
java.lang.IllegalArgumentException - if the statuscode is not a valid - SIP status code -
java.lang.IllegalStateException - if this request has already been - responded to with a final status code
-
-
-
- -

-createCancel

-
-SipServletRequest createCancel()
-
-
Returns a CANCEL request object. This method is used by - applications to cancel outstanding transactions for which they - act as a user agent client (UAC). The CANCEL request is sent - when the application invokes send() on - it. - -

Note that proxy applications MUST use Proxy.cancel() - to cancel outstanding branches. -

-

-
-
-
- -
Returns:
CANCEL request object corresponding to this request -
Throws: -
java.lang.IllegalStateException - if the transaction state is such that - it doesn't allow a CANCEL request to be sent
-
-
-
- -

-pushPath

-
-void pushPath(Address uri)
-
-
Adds a Path header field value to this request. The new value is - added ahead of any existing Path header fields. If this request - does not already contain a Path header, one is added with the - value specified in the argument. - - This method allows a UAC or a proxy to add Path on a REGISTER - Request. -

-

-
-
-
-
Parameters:
uri - The address that is added as a Route header value -
Throws: -
java.lang.IllegalStateException - if invoked on non-REGISTER Request.
Since:
-
1.1
-
-
-
-
- -

-getB2buaHelper

-
-B2buaHelper getB2buaHelper()
-
-
Returns the B2buaHelper associated with this request. Invocation of - this method also indicates to the container that the application - wishes to be a B2BUA, and any subsequent call to getProxy() will - result in IllegalStateException. -

-

-
-
-
- -
Returns:
the B2buaHelper for this request -
Throws: -
java.lang.IllegalStateException - if getProxy() had already been called
Since:
-
1.1
-
-
-
-
- -

-getPoppedRoute

-
-Address getPoppedRoute()
-
-
If a top route header had been removed by the container upon receiving - this request, then this method can be used to retrieve it. Otherwise, - if no route header had been popped then this method will return null. - -

Note that the URI parameters added to the Record-Route header using - Proxy.getRecordRouteURI() should be retrieved from the URI of - the popped route Address using - poppedRoute.getURI().getParameter() and not using - poppedRoute.getParameter().

-

-

-
-
-
- -
Returns:
the popped top route header, or null if none
Since:
-
1.1
-
-
-
-
- -

-getInitialPoppedRoute

-
-Address getInitialPoppedRoute()
-
-
If a top route header had been removed by the container upon - initially receiving this request, then this method can be used to - retrieve it. Otherwise, if no route header had been popped then this - method will return null.
- Unlike getPoppedRoute(), this method returns the same - value regardless of which application invokes it in the same application - composition chain. - -

Note that the URI parameters added to the Record-Route header using - Proxy.getRecordRouteURI() should be retrieved from the URI of - the popped route Address using - initialPoppedRoute.getURI().getParameter() and not using - initialPoppedRoute.getParameter().

-

-

-
-
-
- -
Returns:
the popped top route header, or null if none
Since:
-
1.1
-
-
-
-
- -

-setRoutingDirective

-
-void setRoutingDirective(SipApplicationRoutingDirective directive,
-                         SipServletRequest origRequest)
-                         throws java.lang.IllegalStateException
-
-
Sets the application routing directive for an outgoing request. -

- By default, a request created by - SipFactory.createRequest(SipServletRequest origRequest, - boolean sameCallId) continues the application selection - process from origRequest, i.e. directive is CONTINUE. A - request created by the other SipFactory.createRequest() - methods starts the application selection process afresh, - i.e. directive is NEW. -

- This method allows the servlet to assign a routing directive - different from the default. -

- If directive is NEW, origRequest parameter is ignored. - - If directive is CONTINUE or REVERSE, the parameter origRequest must - be an initial request dispatched by the container to this application, - i.e. origRequest.isInitial() must be true. This request - must be a request created in a new SipSession or from - an initial request, and must not have been sent. If any - one of these preconditions are not met, the method throws - an IllegalStateException. -

- Note that when a servlet acts as a proxy and calls - Proxy.proxyTo() to proxy a request, the request is always - a continuation. -

-

-

-
-
-
-
Parameters:
directive - Routing directive
origRequest - An initial request that the application received -
Throws: -
java.lang.IllegalStateException - when given directive cannot be set
Since:
-
1.1
-
-
-
-
- -

-getRoutingDirective

-
-SipApplicationRoutingDirective getRoutingDirective()
-                                                   throws java.lang.IllegalStateException
-
-
Returns the SipApplicationRoutingDirective associated with - this request. -

-

-
-
-
- -
Returns:
SipApplicationRoutingDirective associated with this - request. -
Throws: -
java.lang.IllegalStateException - if called on a request that is not initial
-
-
-
- -

-getRegion

-
-SipApplicationRoutingRegion getRegion()
-
-
This method allows the application to obtain the region it was - invoked in for this SipServletRequest. This information helps the application to - determine the location of the subscriber returned by - SipServletRequest.getSubscriberURI(). - -

- If this SipServletRequest is an initial request, this method returns the - region in which this servlet is invoked. The SipApplicationRoutingRegion - is only available for initial requests. For all other requests, this - method throws IllegalStateException. -

-

-
-
-
- -
Returns:
The routing region (ORIGINATING, NEUTRAL, TERMINATING or their - sub-regions) -
Throws: -
java.lang.IllegalStateException - if this method is called on a request that is not initial.
Since:
-
1.1
-
-
-
-
- -

-getSubscriberURI

-
-URI getSubscriberURI()
-
-
Returns the URI of the subscriber for which this application - is invoked to serve. This is only available if this SipServletRequest - received is an initial request. For all other requests, this method throws - IllegalStateException. -

-

-
-
-
- -
Returns:
URI of the subscriber -
Throws: -
java.lang.IllegalStateException - if this method is called on a request that is not initial.
Since:
-
1.1
-
-
-
-
- -

-addAuthHeader

-
-void 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. -

-

-
-
-
-
Parameters:
challengeResponse - The challenge response (401/407) receieved from a - UAS/Proxy.
authInfo - The AuthInfo object that will add the - Authentication headers to the request.
-
-
-
- -

-addAuthHeader

-
-void addAuthHeader(SipServletResponse challengeResponse,
-                   java.lang.String username,
-                   java.lang.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. -

-

-
-
-
-
Parameters:
challengeResponse - the challenge response (401/407) receieved from a - UAS/Proxy.
username -
password -
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletResponse.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletResponse.html deleted file mode 100644 index a8c30f5617..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipServletResponse.html +++ /dev/null @@ -1,2253 +0,0 @@ - - - - - - -SipServletResponse (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipServletResponse

-
-
All Superinterfaces:
java.lang.Cloneable, javax.servlet.ServletResponse, SipServletMessage
-
-
-
-
public interface SipServletResponse
extends javax.servlet.ServletResponse, SipServletMessage
- - -

-Represents SIP responses. Instances of this class are passed to servlets - when the container receives incoming SIP responses and also, servlets - acting as UA servers or proxies generates SIP responses of their own by - creating SipServletResponses. - -

SIP responses has a three-digit status code that indicates - the outcome of the corresponding request. Responses with a status code - in the range of 100-199 (1xx's) are called provisional or - informational and indicate progress in processing of the request. - Any response with a status code of 200 or higher is a final - response. A UA server may send only one final response per request - but this may be preceeded by any number of provisional responses. - -

2xx responses indicate a successful outcome while 3xx-6xx indicate a - variety of non-success conditions. - -

The summary of status codes is [RFC 3261]: -

    -
  • 1xx: Informational -- request received, continuing to process - the request -
  • 2xx: Success -- the action was successfully received, - understood, and accepted -
  • 3xx: Redirection -- further action needs to be taken in - order to complete the request -
  • 4xx: Client Error -- the request contains bad syntax or - cannot be fulfilled at this server -
  • 5xx: Server Error -- the server failed to fulfill an - apparently valid request -
  • 6xx: Global Failure -- the request cannot be fulfilled at any - server -
- Note: Because of a change in Servlet spec 2.4 the setCharacterEncoding() - does NOT throw the java.io.UnsupportedEncodingException as derived from SipServletMessage.setCharacterEncoding(String) - but inherits a more generic setCharacterEncoding() method from the javax.servlet.ServletResponse. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface javax.servlet.sip.SipServletMessage
SipServletMessage.HeaderForm
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static intSC_ACCEPTED - -
-          Status code (202) indicating that the request has been accepted for - processing, but the processing has not been completed.
-static intSC_ADDRESS_INCOMPLETE - -
-          Status code (484) indicating that the server received a request - with a To (Section 6.37) address or Request-URI that was - incomplete.
-static intSC_ALTERNATIVE_SERVICE - -
-          Status code (380) indicating alternative service.
-static intSC_AMBIGUOUS - -
-          Status code (485) indicating that the callee address provided - in the request was ambiguous.
-static intSC_BAD_EVENT - -
-          Status code (489) indicating that the server did - not understand the event package specified in a "Event" header field.
-static intSC_BAD_EXTENSION - -
-          Status code (420) indicating that the server did not understand - the protocol extension specified in a Require (Section 6.30) - header field.
-static intSC_BAD_GATEWAY - -
-          Status code (502) indicating that the server, while acting as - a gateway or proxy, received an invalid response from the - downstream server it accessed in attempting to fulfill the - request.
-static intSC_BAD_IDENTITY_INFO - -
-          Status code (436) indicating that the Identity-Info header - contains a URI that cannot be dereferenced by the verifier - (either the URI scheme is unsupported by the verifier, or - the resource designated by the URI is otherwise unavailable).
-static intSC_BAD_REQUEST - -
-          Status code (400) indicating Bad Request.
-static intSC_BUSY_EVERYWHERE - -
-          Status code (600) indicating that the callee's end system was - contacted successfully but the callee is busy and does not - wish to take the call at this time.
-static intSC_BUSY_HERE - -
-          Status code (486) indicating that the callee's end system was - contacted successfully but the callee is curently not willing - or able to take additional call.
-static intSC_CALL_BEING_FORWARDED - -
-          Status code (181) indicating the call is being forwarded.
-static intSC_CALL_LEG_DONE - -
-          Status code (481) indicating Call Leg/Transaction does not exist.
-static intSC_CALL_QUEUED - -
-          Status code (182) indicating the call is queued.
-static intSC_CONDITIONAL_REQUEST_FAILED - -
-          Status code (412) indicating that the precondition given for the - request has failed.
-static intSC_DECLINE - -
-          Status code (603) indicating that the callee's machine was - successfully contacted but the user explicily does not wish - to or cannot participate.
-static intSC_DOES_NOT_EXIT_ANYWHERE - -
-          Status code (604) indicating that the server has authoritative - information that the user indicated in the To request field - does not exist anywhere.
-static intSC_EXTENSION_REQUIRED - -
-          Status code (421) indicating that the UAS needs a particular - extension to process the request, but this extension is not - listed in a Supported header field in the request.
-static intSC_FORBIDDEN - -
-          Status code (403) indicating that the caller is forbidden to make - such requests.
-static intSC_GONE - -
-          Status code (410) indicating that the requested resource is no - longer available at the server an no forwarding address is known.
-static intSC_INTERVAL_TOO_BRIEF - -
-          Status code (423) indicating that the server is rejecting the - request because the expiration time of the resource refreshed - by the request is too short.
-static intSC_INVALID_IDENTITY_HEADER - -
-          Status code (438) indicating that the verifier receives a - message with an Identity signature that does not correspond - to the digest-string calculated by the verifier.
-static intSC_LOOP_DETECTED - -
-          Status code (482) indicating that the server received a request - with a Via (Section 6.40) path containing itself.
-static intSC_MESSAGE_TOO_LARGE - -
-          Status code (513) indicating that the server was unable to process - the request since the message length exceeded its capabilities.
-static intSC_METHOD_NOT_ALLOWED - -
-          Status code (405) indicating that the method specified in the - Request-Line is not allowed for the address identified byt the - Request-URI.
-static intSC_MOVED_PERMANENTLY - -
-          Status code (301) indicating that the callee has moved permanantly.
-static intSC_MOVED_TEMPORARILY - -
-          Status code (302) indicating that the callee has moved temporarily.
-static intSC_MULTIPLE_CHOICES - -
-          Status code (300) indicating Multiple Choices.
-static intSC_NOT_ACCEPTABLE - -
-          Status code (406) indicating the the resource identified by the - request is only capable of generating response entities which - have content characteristics not acceptable according to the - accept headers sent in the request.
-static intSC_NOT_ACCEPTABLE_ANYWHERE - -
-          Status code (606) indicating that the user's agent was contacted - successfully but some aspects of the session description such as - the requested media, bandwidth, or addressing style were not - acceptable.
-static intSC_NOT_ACCEPTABLE_HERE - -
-          Status code (488) indicating that the response has the same - meaning as 606 (Not Acceptable), but only applies to the - specific resource addressed by the Request-URI and the request - may succeed elsewhere.
-static intSC_NOT_FOUND - -
-          Status code (404) indicating that the server had definitive - information that the user does not exist at the domain - specified in the Request-URI.
-static intSC_NOT_IMPLEMENTED - -
-          Status code (501) indicating that the server does not support - the functionality required to fulfill the request.
-static intSC_OK - -
-          Status code (200) indicating the request succeeded normally.
-static intSC_PAYMENT_REQUIRED - -
-          Status code (402) indicating that the caller needs to make a payment.
-static intSC_PRECONDITION_FAILURE - -
-          Status code (580) indicating failure to meet certain preconditions.
-static intSC_PROVIDE_REFERER_IDENTITY - -
-          Status code (429) indicating that the referee must provide a - valid Referred-By token.
-static intSC_PROXY_AUTHENTICATION_REQUIRED - -
-          Status code (407) indicating that the client MUST first - authenticate itself with the proxy.
-static intSC_REQUEST_ENTITY_TOO_LARGE - -
-          Status code (413) indicating that the server si refusing to process - a request becaus the request entity is larger than the server is - willing or able to process.
-static intSC_REQUEST_PENDING - -
-          Status code (491) indicating that the request was received by - a UAS that had a pending request within the same dialog.
-static intSC_REQUEST_TERMINATED - -
-          Status code (487) indicating that the request was terminated by - a BYE or CANCEL request.
-static intSC_REQUEST_TIMEOUT - -
-          Status code (408) indicating that the server could not produce - a response, e.g., a user location, within the time indicated in - the Expires request-header field.
-static intSC_REQUEST_URI_TOO_LONG - -
-          Status code (414) indicating that the server if refusing to - service the request because the Request-URI is longer than the - server is willing to interpret.
-static intSC_RINGING - -
-          Status code (180) indicating the server has located the callee, - and callee user agent is Ringing the callee.
-static intSC_SECURITY_AGREEMENT_REQUIRED - -
-          Status code (494) indicating that the client must initiate a - security mechanism as defined in RFC 3329.
-static intSC_SERVER_INTERNAL_ERROR - -
-          Status code (500) indicating that the server encountered an - unexpected condition that prevented it from fulfilling the - request.
-static intSC_SERVER_TIMEOUT - -
-          Status code (504) indicating that the server did not receive - a timely response from an external server it accessed in - attempting to process the request.
-static intSC_SERVICE_UNAVAILABLE - -
-          Status code (503) indicating that the server is currently - unable to handle the request due to a temporary overloading - or maintenance of the server.
-static intSC_SESSION_INTERVAL_TOO_SMALL - -
-          Status code (422) indicating that a request contained a - Session-Expires header field with a duration below the - minimum timer for the server.
-static intSC_SESSION_PROGRESS - -
-          Status code (183) carries miscellaneous call progress information.
-static intSC_TEMPORARLY_UNAVAILABLE - -
-          Status code (480) indicating that the callee's end system was - contacted successfully but the callee is currently unavailable - (e.g., not logged in or logged in such a manner as to preclude - communication with the callee).
-static intSC_TOO_MANY_HOPS - -
-          Status code (483) indicating that the server received a request - that contains more Via entries (hops) (Section 6.40) than allowed - by the Max-Forwards (Section 6.23) header field.
-static intSC_TRYING - -
-          Status code (100) indicating the server is trying - to locate the callee.
-static intSC_UNAUTHORIZED - -
-          Status code (401) indicating that the caller is unauthorized to - make this request.
-static intSC_UNDECIPHERABLE - -
-          Status code (493) indicating that the request was received by - a UAS that contained an encrypted MIME body for which the recipient - does not possess or will not provide an appropriate decryption key.
-static intSC_UNSUPPORTED_CERTIFICATE - -
-          Status code (437) indicating that the verifier cannot validate - the certificate referenced by the URI of the Identity-Info header, - because, for example, the certificate is self-signed, or signed - by a root certificate authority for whom the verifier does not - possess a root certificate.
-static intSC_UNSUPPORTED_MEDIA_TYPE - -
-          Status code (415) indicating that the server is refusing to - service the request because the message body of the request is - in a format not supported by the requested resource for the - requested method.
-static intSC_UNSUPPORTED_URI_SCHEME - -
-          Status code (416) indicating that the server cannot process the - request because the scheme of the URI in the Request-URI is unknown - to the server.
-static intSC_USE_IDENTITY_HEADER - -
-          Status code (428) indicating that the request should - be re-sent with an Identity header.
-static intSC_USE_PROXY - -
-          Status code (305) indicating that he call can be better - handled by the specified proxy server.
-static intSC_VERSION_NOT_SUPPORTED - -
-          Status code (505) indicating that the server does not support, - the SIP protocol version that was used in the request message.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- SipServletRequestcreateAck() - -
-          Returns an ACK request object corresponding to this response.
- SipServletRequestcreatePrack() - -
-          Creates a PRACK request object corresponding to this response.
- java.util.Iterator<java.lang.String>getChallengeRealms() - -
-          Returns an Iterator over all the realms associated with this - challenge response.
- javax.servlet.ServletOutputStreamgetOutputStream() - -
-          Always returns null.
- ProxygetProxy() - -
-          Returns the Proxy object associated with the - transaction of this SIP response object.
- ProxyBranchgetProxyBranch() - -
-          Retruns the ProxyBranch object associated with the transaction - of this SIP response object.
- java.lang.StringgetReasonPhrase() - -
-          Returns the reason phrase for this response object.
- SipServletRequestgetRequest() - -
-          Returns the request associated with this response.
- intgetStatus() - -
-          Returns the status code of this response object.
- java.io.PrintWritergetWriter() - -
-          Always returns null.
- booleanisBranchResponse() - -
-          Returns true if this is an intermediate final response that arrived on a - ProxyBranch.
- voidsend() - -
-          Causes this response to be sent.
- voidsendReliably() - -
-          Requests that this response be sent reliably using the 100rel - extension defined in RFC 3262.
- voidsetStatus(int statusCode) - -
-          Sets the status code of this response object.
- voidsetStatus(int statusCode, - java.lang.String reasonPhrase) - -
-          Sets the status code and reason phrase of this response object.
- - - - - - - -
Methods inherited from interface javax.servlet.ServletResponse
flushBuffer, getBufferSize, getCharacterEncoding, getContentType, getLocale, isCommitted, reset, resetBuffer, setBufferSize, setCharacterEncoding, setContentLength, setContentType, setLocale
- - - - - - - -
Methods inherited from interface javax.servlet.sip.SipServletMessage
addAcceptLanguage, addAddressHeader, addHeader, addParameterableHeader, getAcceptLanguage, getAcceptLanguages, getAddressHeader, getAddressHeaders, getApplicationSession, getApplicationSession, getAttribute, getAttributeNames, getCallId, getCharacterEncoding, getContent, getContentLanguage, getContentLength, getContentType, getExpires, getFrom, getHeader, getHeaderForm, getHeaderNames, getHeaders, getInitialRemoteAddr, getInitialRemotePort, getInitialTransport, getLocalAddr, getLocalPort, getMethod, getParameterableHeader, getParameterableHeaders, getProtocol, getRawContent, getRemoteAddr, getRemotePort, getRemoteUser, getSession, getSession, getTo, getTransport, getUserPrincipal, isCommitted, isSecure, isUserInRole, removeAttribute, removeHeader, setAcceptLanguage, setAddressHeader, setAttribute, setCharacterEncoding, setContent, setContentLanguage, setContentLength, setContentType, setExpires, setHeader, setHeaderForm, setParameterableHeader
-  -

- - - - - - - - -
-Field Detail
- -

-SC_TRYING

-
-static final int SC_TRYING
-
-
Status code (100) indicating the server is trying - to locate the callee. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_RINGING

-
-static final int SC_RINGING
-
-
Status code (180) indicating the server has located the callee, - and callee user agent is Ringing the callee. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_CALL_BEING_FORWARDED

-
-static final int SC_CALL_BEING_FORWARDED
-
-
Status code (181) indicating the call is being forwarded. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_CALL_QUEUED

-
-static final int SC_CALL_QUEUED
-
-
Status code (182) indicating the call is queued. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_SESSION_PROGRESS

-
-static final int SC_SESSION_PROGRESS
-
-
Status code (183) carries miscellaneous call progress information. - The Reason-Phrase may convey more details about the call progress. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_OK

-
-static final int SC_OK
-
-
Status code (200) indicating the request succeeded normally. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_ACCEPTED

-
-static final int SC_ACCEPTED
-
-
Status code (202) indicating that the request has been accepted for - processing, but the processing has not been completed. The request - might or might not eventually be acted upon, as it might be disallowed - when processing actually takes place. There is no facility for - re-sending a status code from an asynchronous operation such as this. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_MULTIPLE_CHOICES

-
-static final int SC_MULTIPLE_CHOICES
-
-
Status code (300) indicating Multiple Choices. i.e., user may be - reached at multiple locations. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_MOVED_PERMANENTLY

-
-static final int SC_MOVED_PERMANENTLY
-
-
Status code (301) indicating that the callee has moved permanantly. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_MOVED_TEMPORARILY

-
-static final int SC_MOVED_TEMPORARILY
-
-
Status code (302) indicating that the callee has moved temporarily. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_USE_PROXY

-
-static final int SC_USE_PROXY
-
-
Status code (305) indicating that he call can be better - handled by the specified proxy server. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_ALTERNATIVE_SERVICE

-
-static final int SC_ALTERNATIVE_SERVICE
-
-
Status code (380) indicating alternative service. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_BAD_REQUEST

-
-static final int SC_BAD_REQUEST
-
-
Status code (400) indicating Bad Request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_UNAUTHORIZED

-
-static final int SC_UNAUTHORIZED
-
-
Status code (401) indicating that the caller is unauthorized to - make this request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_PAYMENT_REQUIRED

-
-static final int SC_PAYMENT_REQUIRED
-
-
Status code (402) indicating that the caller needs to make a payment. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_FORBIDDEN

-
-static final int SC_FORBIDDEN
-
-
Status code (403) indicating that the caller is forbidden to make - such requests. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_NOT_FOUND

-
-static final int SC_NOT_FOUND
-
-
Status code (404) indicating that the server had definitive - information that the user does not exist at the domain - specified in the Request-URI. This status is also returned if - the domain in the Request-URI does not match any of the domains - handled by the recipent of the request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_METHOD_NOT_ALLOWED

-
-static final int SC_METHOD_NOT_ALLOWED
-
-
Status code (405) indicating that the method specified in the - Request-Line is not allowed for the address identified byt the - Request-URI. The response MUST include an Allow header field - containing a list of valid methods for the indicated address. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_NOT_ACCEPTABLE

-
-static final int SC_NOT_ACCEPTABLE
-
-
Status code (406) indicating the the resource identified by the - request is only capable of generating response entities which - have content characteristics not acceptable according to the - accept headers sent in the request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_PROXY_AUTHENTICATION_REQUIRED

-
-static final int SC_PROXY_AUTHENTICATION_REQUIRED
-
-
Status code (407) indicating that the client MUST first - authenticate itself with the proxy. The proxy MUST return a - Proxy-Authenticate header field (section 6.26) containing a - challenge applicable to the proxy for the requested resource. - The client MAY repeat the request with a suitable - Proxy-Authorization header field (section 6.27). SIP access - authorization is explained in section 13.2 and 14. - -

This status code is used for applications where access to the - communication channel (e.g., a telephony gateway) rather than - the callee requires authentication. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_REQUEST_TIMEOUT

-
-static final int SC_REQUEST_TIMEOUT
-
-
Status code (408) indicating that the server could not produce - a response, e.g., a user location, within the time indicated in - the Expires request-header field. The client MAY repeat the - request without modifications at any later time. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_GONE

-
-static final int SC_GONE
-
-
Status code (410) indicating that the requested resource is no - longer available at the server an no forwarding address is known. - This condition is expected to be considered permanent. If the - server does not know, or has no facility to determine, whether or - not the codition is permanent, the status code 404 (Not Found) - SHOULD be used instead. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_CONDITIONAL_REQUEST_FAILED

-
-static final int SC_CONDITIONAL_REQUEST_FAILED
-
-
Status code (412) indicating that the precondition given for the - request has failed. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_REQUEST_ENTITY_TOO_LARGE

-
-static final int SC_REQUEST_ENTITY_TOO_LARGE
-
-
Status code (413) indicating that the server si refusing to process - a request becaus the request entity is larger than the server is - willing or able to process. The server MAY close the connection to - prevent the client from continuing the request. - -

If the condition is temporary, teh server SHOULD include a - Retry-After header field to indicate that it is temporary and after - what time the client MAY try again. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_REQUEST_URI_TOO_LONG

-
-static final int SC_REQUEST_URI_TOO_LONG
-
-
Status code (414) indicating that the server if refusing to - service the request because the Request-URI is longer than the - server is willing to interpret. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_UNSUPPORTED_MEDIA_TYPE

-
-static final int SC_UNSUPPORTED_MEDIA_TYPE
-
-
Status code (415) indicating that the server is refusing to - service the request because the message body of the request is - in a format not supported by the requested resource for the - requested method. The server SHOULD return a list of acceptable - formats using the Accept, Accept-Encoding and Accept-Language - header fields. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_UNSUPPORTED_URI_SCHEME

-
-static final int SC_UNSUPPORTED_URI_SCHEME
-
-
Status code (416) indicating that the server cannot process the - request because the scheme of the URI in the Request-URI is unknown - to the server. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_BAD_EXTENSION

-
-static final int SC_BAD_EXTENSION
-
-
Status code (420) indicating that the server did not understand - the protocol extension specified in a Require (Section 6.30) - header field. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_EXTENSION_REQUIRED

-
-static final int SC_EXTENSION_REQUIRED
-
-
Status code (421) indicating that the UAS needs a particular - extension to process the request, but this extension is not - listed in a Supported header field in the request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_SESSION_INTERVAL_TOO_SMALL

-
-static final int SC_SESSION_INTERVAL_TOO_SMALL
-
-
Status code (422) indicating that a request contained a - Session-Expires header field with a duration below the - minimum timer for the server. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_INTERVAL_TOO_BRIEF

-
-static final int SC_INTERVAL_TOO_BRIEF
-
-
Status code (423) indicating that the server is rejecting the - request because the expiration time of the resource refreshed - by the request is too short. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_USE_IDENTITY_HEADER

-
-static final int SC_USE_IDENTITY_HEADER
-
-
Status code (428) indicating that the request should - be re-sent with an Identity header. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_PROVIDE_REFERER_IDENTITY

-
-static final int SC_PROVIDE_REFERER_IDENTITY
-
-
Status code (429) indicating that the referee must provide a - valid Referred-By token. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_BAD_IDENTITY_INFO

-
-static final int SC_BAD_IDENTITY_INFO
-
-
Status code (436) indicating that the Identity-Info header - contains a URI that cannot be dereferenced by the verifier - (either the URI scheme is unsupported by the verifier, or - the resource designated by the URI is otherwise unavailable). -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_UNSUPPORTED_CERTIFICATE

-
-static final int SC_UNSUPPORTED_CERTIFICATE
-
-
Status code (437) indicating that the verifier cannot validate - the certificate referenced by the URI of the Identity-Info header, - because, for example, the certificate is self-signed, or signed - by a root certificate authority for whom the verifier does not - possess a root certificate. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_INVALID_IDENTITY_HEADER

-
-static final int SC_INVALID_IDENTITY_HEADER
-
-
Status code (438) indicating that the verifier receives a - message with an Identity signature that does not correspond - to the digest-string calculated by the verifier. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_TEMPORARLY_UNAVAILABLE

-
-static final int SC_TEMPORARLY_UNAVAILABLE
-
-
Status code (480) indicating that the callee's end system was - contacted successfully but the callee is currently unavailable - (e.g., not logged in or logged in such a manner as to preclude - communication with the callee). The response MAY indicate a - better time to call in the Retry-After header. The user could - also be available elsewhere (unbeknownst to this host), thus, - this response does not terminate any searches. The reason - phrase SHOULD be setable by the user agent. Status 486 (Busy Here) - MAY be used to more precisely indicate a particular reason for - the call failure. - -

This status is also returned by a redirect server that recognizes - the user identified by the Request-URI, but does not currently - have a valide forwarding location for that user. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_CALL_LEG_DONE

-
-static final int SC_CALL_LEG_DONE
-
-
Status code (481) indicating Call Leg/Transaction does not exist. - -

This status is returned under two conditions: The server received - a BYE request that does not match any existing call leg or the - server received a CANCEL request that does not match any existing - transaction. (A server simply discards an ACK referring to an - unknown transaction.) -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_LOOP_DETECTED

-
-static final int SC_LOOP_DETECTED
-
-
Status code (482) indicating that the server received a request - with a Via (Section 6.40) path containing itself. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_TOO_MANY_HOPS

-
-static final int SC_TOO_MANY_HOPS
-
-
Status code (483) indicating that the server received a request - that contains more Via entries (hops) (Section 6.40) than allowed - by the Max-Forwards (Section 6.23) header field. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_ADDRESS_INCOMPLETE

-
-static final int SC_ADDRESS_INCOMPLETE
-
-
Status code (484) indicating that the server received a request - with a To (Section 6.37) address or Request-URI that was - incomplete. Additional information SHOULD be provided. - -

Note: This status code allows overlapped dialing. With overlapped - dialing, the client does not know the length of the dialing - string. It sends strings of increasing lengths, prompting the - user for more input, until it no longer receives a 484 status - response. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_AMBIGUOUS

-
-static final int SC_AMBIGUOUS
-
-
Status code (485) indicating that the callee address provided - in the request was ambiguous. The response MAY contain a - listing of possible unambiguous addresses in Contact headers. - -

Revealing alternatives can infringe on privacy concerns of the - user or the organization. It MUST be possible to configure a - server to respond with status 404 (Not Found) or to suppress - the listing of possible choices if the request with the URL - lee@example.com. - -

- 485 Ambiguous SIP/2.0
- Contact: Carol Lee <sip:carol.lee@example.com>
- Contact: Ping Lee <sip:p.lee@example.com>
- Contact: Lee M. Foote <sip:lee.foote@example.com>
- 
- -

Some email and voice mail systems provide this functionality. A - status code separate from 3xx is used since the semantics are - different: for 300, it is assumed that the same person or sevice - will be reached by the choices provided. While an automated choice - or sequential search makes sense for a 3xx response, user - intervention is required for a 485 response. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_BUSY_HERE

-
-static final int SC_BUSY_HERE
-
-
Status code (486) indicating that the callee's end system was - contacted successfully but the callee is curently not willing - or able to take additional call. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_REQUEST_TERMINATED

-
-static final int SC_REQUEST_TERMINATED
-
-
Status code (487) indicating that the request was terminated by - a BYE or CANCEL request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_NOT_ACCEPTABLE_HERE

-
-static final int SC_NOT_ACCEPTABLE_HERE
-
-
Status code (488) indicating that the response has the same - meaning as 606 (Not Acceptable), but only applies to the - specific resource addressed by the Request-URI and the request - may succeed elsewhere. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_BAD_EVENT

-
-static final int SC_BAD_EVENT
-
-
Status code (489) indicating that the server did - not understand the event package specified in a "Event" header field. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_REQUEST_PENDING

-
-static final int SC_REQUEST_PENDING
-
-
Status code (491) indicating that the request was received by - a UAS that had a pending request within the same dialog. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_UNDECIPHERABLE

-
-static final int SC_UNDECIPHERABLE
-
-
Status code (493) indicating that the request was received by - a UAS that contained an encrypted MIME body for which the recipient - does not possess or will not provide an appropriate decryption key. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_SECURITY_AGREEMENT_REQUIRED

-
-static final int SC_SECURITY_AGREEMENT_REQUIRED
-
-
Status code (494) indicating that the client must initiate a - security mechanism as defined in RFC 3329. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_SERVER_INTERNAL_ERROR

-
-static final int SC_SERVER_INTERNAL_ERROR
-
-
Status code (500) indicating that the server encountered an - unexpected condition that prevented it from fulfilling the - request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_NOT_IMPLEMENTED

-
-static final int SC_NOT_IMPLEMENTED
-
-
Status code (501) indicating that the server does not support - the functionality required to fulfill the request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_BAD_GATEWAY

-
-static final int SC_BAD_GATEWAY
-
-
Status code (502) indicating that the server, while acting as - a gateway or proxy, received an invalid response from the - downstream server it accessed in attempting to fulfill the - request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_SERVICE_UNAVAILABLE

-
-static final int SC_SERVICE_UNAVAILABLE
-
-
Status code (503) indicating that the server is currently - unable to handle the request due to a temporary overloading - or maintenance of the server. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_SERVER_TIMEOUT

-
-static final int SC_SERVER_TIMEOUT
-
-
Status code (504) indicating that the server did not receive - a timely response from an external server it accessed in - attempting to process the request. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_VERSION_NOT_SUPPORTED

-
-static final int SC_VERSION_NOT_SUPPORTED
-
-
Status code (505) indicating that the server does not support, - the SIP protocol version that was used in the request message. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_MESSAGE_TOO_LARGE

-
-static final int SC_MESSAGE_TOO_LARGE
-
-
Status code (513) indicating that the server was unable to process - the request since the message length exceeded its capabilities. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_PRECONDITION_FAILURE

-
-static final int SC_PRECONDITION_FAILURE
-
-
Status code (580) indicating failure to meet certain preconditions. -

-

-
Since:
-
1.1
-
See Also:
Constant Field Values
-
-
- -

-SC_BUSY_EVERYWHERE

-
-static final int SC_BUSY_EVERYWHERE
-
-
Status code (600) indicating that the callee's end system was - contacted successfully but the callee is busy and does not - wish to take the call at this time. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_DECLINE

-
-static final int SC_DECLINE
-
-
Status code (603) indicating that the callee's machine was - successfully contacted but the user explicily does not wish - to or cannot participate. The response MAY indicate a better - time to call in the Retry-After header. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_DOES_NOT_EXIT_ANYWHERE

-
-static final int SC_DOES_NOT_EXIT_ANYWHERE
-
-
Status code (604) indicating that the server has authoritative - information that the user indicated in the To request field - does not exist anywhere. Searching for the user elsewhere will - not yield an results. -

-

-
See Also:
Constant Field Values
-
-
- -

-SC_NOT_ACCEPTABLE_ANYWHERE

-
-static final int SC_NOT_ACCEPTABLE_ANYWHERE
-
-
Status code (606) indicating that the user's agent was contacted - successfully but some aspects of the session description such as - the requested media, bandwidth, or addressing style were not - acceptable. -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Method Detail
- -

-getRequest

-
-SipServletRequest getRequest()
-
-
Returns the request associated with this response. For responses - received for proxied requests, this method returns a request object - that represents the request as it was sent downstream. - -

Proxying applications can use the request URI obtained from the - request object to correlate an incoming response to one of the several - destinations it has been proxied to. -

-

-
-
-
- -
Returns:
request for which this response was generated
-
-
-
- -

-getStatus

-
-int getStatus()
-
-
Returns the status code of this response object. - -

The Status-Code is a 3-digit integer result code that indicates - the outcome of the attempt to understand and satisfy the request. -

-

-
-
-
- -
Returns:
status code of this response
-
-
-
- -

-setStatus

-
-void setStatus(int statusCode)
-
-
Sets the status code of this response object. -

-

-
-
-
-
Parameters:
statusCode - status code of this response
-
-
-
- -

-setStatus

-
-void setStatus(int statusCode,
-               java.lang.String reasonPhrase)
-
-
Sets the status code and reason phrase of this response object. -

-

-
-
-
-
Parameters:
statusCode - status code of this response
reasonPhrase - short textual description of the status code -
Throws: -
java.lang.IllegalArgumentException - if the code is not a SIP allowable status code.
-
-
-
- -

-getReasonPhrase

-
-java.lang.String getReasonPhrase()
-
-
Returns the reason phrase for this response object. -

-

-
-
-
- -
Returns:
reason phrase for this response
-
-
-
- -

-getOutputStream

-
-javax.servlet.ServletOutputStream getOutputStream()
-                                                  throws java.io.IOException
-
-
Always returns null. SIP is not a content transfer protocol and - having stream based content accessors is of little utility. - -

Message content can be set using the SipServletMessage.setContent(java.lang.Object, java.lang.String) - method. -

-

-
Specified by:
getOutputStream in interface javax.servlet.ServletResponse
-
-
- -
Returns:
null -
Throws: -
java.io.IOException
-
-
-
- -

-getWriter

-
-java.io.PrintWriter getWriter()
-                              throws java.io.IOException
-
-
Always returns null. SIP is not a content transfer protocol and - having stream based content accessors is of little utility. - -

Message content can be set using the SipServletMessage.setContent(java.lang.Object, java.lang.String) - method. -

-

-
Specified by:
getWriter in interface javax.servlet.ServletResponse
-
-
- -
Returns:
null -
Throws: -
java.io.IOException
-
-
-
- -

-getProxy

-
-Proxy getProxy()
-
-
Returns the Proxy object associated with the - transaction of this SIP response object. Such a Proxy object exists - if this is a response for a previously proxied request. Otherwise, - a Proxy object does not exist, and null is returned. - -

Note that the container must return the same - Proxy instance whenever a servlet invokes - getProxy on messages belonging to the same transaction. - In particular, a response to a proxied request is associated with - the same Proxy object as is the original request. -

-

-
-
-
- -
Returns:
the Proxy object associated with this response's - transaction, or null if this response was not received for a - previously proxied request
-
-
-
- -

-getProxyBranch

-
-ProxyBranch getProxyBranch()
-
-
Retruns the ProxyBranch object associated with the transaction - of this SIP response object. Such a ProxyBranch object exists if this is a - response for a previously proxied request. Otherwise, a ProxyBranch - object does not exist, and null is returned. - -

Note that the container must return the same - ProxyBranch instance whenever a servlet invokes - getProxyBranch on messages belonging to the same transaction. - In particular, a response to a proxied request is associated with - the same ProxyBranch object as was the request sent on that - branch. -

-

-
-
-
- -
Returns:
the ProxyBranch object associated with this response's - transaction, or null if this response was not received for a previously - proxied request.
-
-
-
- -

-sendReliably

-
-void sendReliably()
-                  throws Rel100Exception
-
-
Requests that this response be sent reliably using the 100rel - extension defined in RFC 3262. This method must only be invoked - for 1xx response other than 100, and only if the UAC indicated - support for the 100rel extension in the request and the container - supports it. - -

Applications can test whether the container supports the 100rel - extension by checking if the string "100rel" exists in the list of - supported extensions available via the ServletContext - attribute "javax.servlet.sip.supported". - -

Applications can also test the same using the v1.0 mechanism by - checking whether an attribute with name "javax.servlet.sip.100rel" - exists in the ServletContext and has a value which - equals Boolean.TRUE. However, the v1.0 mechanism is being deprecated in - this version in favor of checking using the "javax.servlet.sip.supported" - attribute. -

-

-
-
-
- -
Throws: -
Rel100Exception - if one of the conditions for using the - 100rel extension is not satisfied. -
java.lang.IllegalStateException - if this response was received from - downstream or if it has already been sent
See Also:
RFC 3262, Reliability of Provisional Responses in the Session Initiation Protocol (SIP)
-
-
-
- -

-send

-
-void send()
-          throws java.io.IOException
-
-
Causes this response to be sent. This is used by servlets acting as - UASs to send provisional and final responses, and by proxies when - generating provisional responses. -

-

-
Specified by:
send in interface SipServletMessage
-
-
- -
Throws: -
java.io.IOException - if a transport error occurs when trying to - send this response -
java.lang.IllegalStateException - if this response was received from - downstream or if it has already been sent
-
-
-
- -

-createAck

-
-SipServletRequest createAck()
-
-
Returns an ACK request object corresponding to this response. - This method is used by servlets acting as UACs in order to - acknowledge 2xx final responses to INVITE requests. - -

Please note that applications do not generate ACKs for - non-2xx responses, as this is done by the container itself. -

-

-
-
-
- -
Returns:
ACK request corresponding to this response -
Throws: -
java.lang.IllegalStateException - if the transaction state is such that - it doesn't allow an ACK to be sent now, e.g. if the original - request was not an INVITE, if this response is provisional only, - or if an ACK has already been generated
-
-
-
- -

-createPrack

-
-SipServletRequest createPrack()
-                              throws Rel100Exception
-
-
Creates a PRACK request object corresponding to this response. - - This method is used by servlets acting as UACs in order to - acknowledge reliable provisional responses to INVITE requests - with PRACK (RFC 3262). -

-

-
-
-
- -
Returns:
PRACK request corresponding to this response -
Throws: -
java.lang.IllegalStateException - if the transaction state is such - that it doesn't allow a PRACK to be sent now, e.g. if a PRACK has - already been generated. -
Rel100Exception - if the response is not a reliable provisional - response or if the original request was not an INVITE.
Since:
-
1.1
-
-
-
-
- -

-getChallengeRealms

-
-java.util.Iterator<java.lang.String> getChallengeRealms()
-
-
Returns an Iterator over all the realms associated with this - challenge response. -

-

-
-
-
- -
Returns:
Iterator over all the realms associated with this - challenge response.
-
-
-
- -

-isBranchResponse

-
-boolean isBranchResponse()
-
-
Returns true if this is an intermediate final response that arrived on a - ProxyBranch. - -

This method is used by SipServlet.doResponse() - to delegate handling of any intermediate final responses received on the - ProxyBranch to the SipServlet.doBranchResponse() method. -

-

-
-
-
- -
Returns:
true if the response arrived on a ProxyBranch, false otherwise. - The method will also return false for a best final response chosen by the - Proxy.
See Also:
SipServlet.doResponse(javax.servlet.sip.SipServletResponse)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSession.State.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSession.State.html deleted file mode 100644 index 55f0d2a624..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSession.State.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - - -SipSession.State (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Enum SipSession.State

-
-java.lang.Object
-  extended by java.lang.Enum<SipSession.State>
-      extended by javax.servlet.sip.SipSession.State
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SipSession.State>
-
-
-
Enclosing interface:
SipSession
-
-
-
-
public static enum SipSession.State
extends java.lang.Enum<SipSession.State>
- - -

-Possible SIP dialog states from SipSession FSM. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-Enum Constant Summary
CONFIRMED - -
-           
EARLY - -
-           
INITIAL - -
-           
TERMINATED - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static SipSession.StatevalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static SipSession.State[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-INITIAL

-
-public static final SipSession.State INITIAL
-
-
-
-
-
- -

-EARLY

-
-public static final SipSession.State EARLY
-
-
-
-
-
- -

-CONFIRMED

-
-public static final SipSession.State CONFIRMED
-
-
-
-
-
- -

-TERMINATED

-
-public static final SipSession.State TERMINATED
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final SipSession.State[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(SipSession.State c : SipSession.State.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static SipSession.State valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSession.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSession.html deleted file mode 100644 index 4e8b087868..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSession.html +++ /dev/null @@ -1,932 +0,0 @@ - - - - - - -SipSession (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipSession

-
-
-
public interface SipSession
- - -

-Represents point-to-point SIP relationships. It roughly corresponds - to a SIP dialog. In particular, for UAs it maintains (or is otherwise - associated with) dialog state so as to be able to create subequent - requests belonging to that dialog (using createRequest). - -

For UACs, SipSession extend the notion of SIP dialogs - to have well-defined state before a dialog has been established and - after a final non-2xx terminates an early dialog. This allows UACs to - create "subsequent" requests without having an established dialog. The - effect is that the subsequent request will have the same Call-ID, - From and To headers (with the same From tag and without a To tag), - the will exist in the same CSeq space. - -

All messages are potentially associated with a SipSession. - The SipSession can be retrieved from the message by calling - SipServletMessage.getSession(). -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static classSipSession.State - -
-          Possible SIP dialog states from SipSession FSM.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- SipServletRequestcreateRequest(java.lang.String method) - -
-          Returns a new request object.
- SipApplicationSessiongetApplicationSession() - -
-          Returns the application session with which this SipSession - is associated.
- java.lang.ObjectgetAttribute(java.lang.String name) - -
-          Returns the object bound with the specified name in this session, - or null if no object is bound under the name.
- java.util.Enumeration<java.lang.String>getAttributeNames() - -
-          Returns an Enumeration over the String - objects containing the names of all the objects bound to this session.
- java.lang.StringgetCallId() - -
-          Returns the Call-ID for this SipSession.
- longgetCreationTime() - -
-          Returns the time when this session was created, measured in - milliseconds since midnight January 1, 1970 GMT.
- java.lang.StringgetId() - -
-          Returns a string containing the unique identifier assigned to - this session.
- booleangetInvalidateWhenReady() - -
-          Returns true if the container will notify the application when this - SipSession is in the ready-to-invalidate state.
- longgetLastAccessedTime() - -
-          Returns the last time the client sent a request associated with this - session, as the number of milliseconds since midnight January 1, - 1970 GMT.
- AddressgetLocalParty() - -
-          Returns the Address identifying the local party.
- SipApplicationRoutingRegiongetRegion() - -
-          This method allows the application to obtain the region it was - invoked in for this SipSession.
- AddressgetRemoteParty() - -
-          Returns the Address identifying the remote party.
- javax.servlet.ServletContextgetServletContext() - -
-          Returns the ServletContext to which this session belongs.
- SipSession.StategetState() - -
-          Returns the current SIP dialog state, which is one of INITIAL, EARLY, - CONFIRMED, or TERMINATED.
- URIgetSubscriberURI() - -
-          Returns the URI of the subscriber for which this application - is invoked to serve.
- voidinvalidate() - -
-          Invalidates this session and unbinds any objects bound to it.
- booleanisReadyToInvalidate() - -
-          Returns true if this session is in a ready-to-invalidate state.
- booleanisValid() - -
-          Returns true if this SipSession is valid, false otherwise.
- voidremoveAttribute(java.lang.String name) - -
-          Removes the object bound with the specified name from this session.
- voidsetAttribute(java.lang.String name, - java.lang.Object attribute) - -
-          Binds an object to this session, using the name specified.
- voidsetHandler(java.lang.String name) - -
-          Sets the handler for this SipSession.
- voidsetInvalidateWhenReady(boolean invalidateWhenReady) - -
-          Specifies whether the container should notify the application when the - SipSession is in the ready-to-invalidate state as defined above.
- voidsetOutboundInterface(java.net.InetAddress address) - -
-          In multi-homed environment this method can be used to select - the outbound interface to use when sending requests for this SipSession.
- voidsetOutboundInterface(java.net.InetSocketAddress address) - -
-          In multi-homed environment this method can be used to select - the outbound interface and source port number to use when sending - requests for this SipSession.
-  -

- - - - - - - - -
-Method Detail
- -

-getCreationTime

-
-long getCreationTime()
-
-
Returns the time when this session was created, measured in - milliseconds since midnight January 1, 1970 GMT. -

-

- -
Returns:
a long specifying when this session was created, - expressed in milliseconds since 1/1/1970 GMT
-
-
-
- -

-getId

-
-java.lang.String getId()
-
-
Returns a string containing the unique identifier assigned to - this session. The identifier is assigned by the servlet container - and is implementation dependent. -

-

- -
Returns:
a string specifying the identifier assigned to this session
-
-
-
- -

-getLastAccessedTime

-
-long getLastAccessedTime()
-
-
Returns the last time the client sent a request associated with this - session, as the number of milliseconds since midnight January 1, - 1970 GMT. - - Actions that your application takes, such as getting or setting a - value associated with the session, do not affect the access time. -

-

- -
Returns:
a long representing the last time the client sent a - request associated with this session, expressed in - milliseconds since 1/1/1970 GMT
-
-
-
- -

-invalidate

-
-void invalidate()
-
-
Invalidates this session and unbinds any objects bound to it. -

-

- -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
-
-
-
- -

-isReadyToInvalidate

-
-boolean isReadyToInvalidate()
-
-
Returns true if this session is in a ready-to-invalidate state. - A SipSession is in the ready-to-invalidate state under any - of the following conditions: -
    -
  1. The SipSession transitions to the TERMINATED state. -
  2. The SipSession transitions to the COMPLETED state when it is acting as - a non-record-routing proxy. -
  3. The SipSession acting as a UAC transitions from the EARLY state back - to the INITIAL state on account of receiving a non-2xx final response - and has not initiated any new requests (does not have any pending - transactions). -
-

-

- -
Returns:
true if the session is in ready-to-invalidate state, false - otherwise -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
Since:
-
1.1
-
-
-
-
- -

-setInvalidateWhenReady

-
-void setInvalidateWhenReady(boolean invalidateWhenReady)
-
-
Specifies whether the container should notify the application when the - SipSession is in the ready-to-invalidate state as defined above. The - container notifies the application using the - SipSessionListener.sessionReadyToInvalidate callback. -

-

-
Parameters:
invalidateWhenReady - if true, the container will observe this session - and notify the application when it is in the ready-to-invalidate state. - The session is not observed if the flag is false. - The default is true for v1.1 applications and false for v1.0 - applications. -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
Since:
-
1.1
-
See Also:
isReadyToInvalidate(), -SipSessionListener.sessionReadyToInvalidate(SipSessionEvent se)
-
-
-
- -

-getInvalidateWhenReady

-
-boolean getInvalidateWhenReady()
-
-
Returns true if the container will notify the application when this - SipSession is in the ready-to-invalidate state. -

-

- -
Returns:
value of the invalidateWhenReady flag -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
Since:
-
1.1
-
See Also:
isReadyToInvalidate()
-
-
-
- -

-getApplicationSession

-
-SipApplicationSession getApplicationSession()
-
-
Returns the application session with which this SipSession - is associated. If none exists, then a new one is created and returned - after associating it with this SipSession. -

-

- -
Returns:
the application session for this SipSession
-
-
-
- -

-getCallId

-
-java.lang.String getCallId()
-
-
Returns the Call-ID for this SipSession. This is the - value of the Call-ID header for all messages belonging to this session. -

-

- -
Returns:
the Call-ID for this SipSession
-
-
-
- -

-getLocalParty

-
-Address getLocalParty()
-
-
Returns the Address identifying the local party. This is - the value of the From header of locally initiated requests in this leg. -

-

- -
Returns:
address of local party
-
-
-
- -

-getRemoteParty

-
-Address getRemoteParty()
-
-
Returns the Address identifying the remote party. This is - the value of the To header of locally initiated requests in this leg. -

-

-
-
-
-
- -

-createRequest

-
-SipServletRequest createRequest(java.lang.String method)
-
-
Returns a new request object. This method is used by user - agents only. - -

Note that this method must not be used to create ACK or - CANCEL requests. User agents create ACKs by calling SipServletResponse.createAck() and CANCELs are created by - calling SipServletRequest.createCancel(). -

-

-
Parameters:
method - the SIP method of the new request -
Returns:
the new request object -
Throws: -
java.lang.IllegalArgumentException - if method is not a syntactically valid - SIP method or if it's "ACK" or "CANCEL" -
java.lang.IllegalStateException - if this SipSession has been invalidated or - if this SipSession is in the INITIAL state and there - is an ongoing transaction or - if this SipSession is in the TERMINATED - state
-
-
-
- -

-setHandler

-
-void setHandler(java.lang.String name)
-                throws javax.servlet.ServletException
-
-
Sets the handler for this SipSession. - This method can be used to - explicitly specify the name of the servlet which should handle all - subsequently received messages for this SipSession. - The servlet must belong to the same application (i.e. same - ServletContext) as the caller. -

-

-
Parameters:
name - name of the servlet to be invoked for incoming - SIP messages belonging to this SipSession -
Throws: -
javax.servlet.ServletException - if no servlet with the specified name - exists in this application -
java.lang.IllegalStateException - if this method is called on an invalidated session
-
-
-
- -

-getAttribute

-
-java.lang.Object getAttribute(java.lang.String name)
-
-
Returns the object bound with the specified name in this session, - or null if no object is bound under the name. -

-

-
Parameters:
name - a string specifying the name of the object -
Returns:
the object with the specified name -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session -
java.lang.NullPointerException - if the name is null.
-
-
-
- -

-getAttributeNames

-
-java.util.Enumeration<java.lang.String> getAttributeNames()
-
-
Returns an Enumeration over the String - objects containing the names of all the objects bound to this session. -

-

- -
Returns:
an Enumeration over the String objects specifying the names - of all the objects bound to this session -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
-
-
-
- -

-setAttribute

-
-void setAttribute(java.lang.String name,
-                  java.lang.Object attribute)
-
-
Binds an object to this session, using the name specified. - If an object of the same name is already bound to the session, - the object is replaced. -

-

-
Parameters:
name - the name to which the object is bound; cannot be null
attribute - the object to be bound; cannot be null -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session -
java.lang.NullPointerException - on null name or attribute.
-
-
-
- -

-removeAttribute

-
-void removeAttribute(java.lang.String name)
-
-
Removes the object bound with the specified name from this session. - If the session does not have an object bound with the specified name, - this method does nothing. -

-

-
Parameters:
name - the name of the object to remove from this session -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
-
-
-
- -

-getState

-
-SipSession.State getState()
-
-
Returns the current SIP dialog state, which is one of INITIAL, EARLY, - CONFIRMED, or TERMINATED. These states are defined in RFC3261. -

-

- -
Returns:
the current SIP dialog state -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
Since:
-
1.1
-
-
-
-
- -

-setOutboundInterface

-
-void setOutboundInterface(java.net.InetSocketAddress address)
-
-
In multi-homed environment this method can be used to select - the outbound interface and source port number to use when sending - requests for this SipSession. - The specified address must be the address of one of the configured - outbound interfaces. The set of SipURI objects which represent the - supported outbound interfaces can be obtained from the servlet context - attribute named javax.servlet.sip.outboundInterfaces. - -

The port is interpreted as an advice by the app to the container. - If the port of the socket address has a non-zero value, the container - will make a best-effort attempt to use it as the source port number - for UDP packets, or as a source port number for TCP connections it - originates. If the port is not available, the container will use - its default port allocation scheme. -

Invocation of this method also impacts the system headers - generated by the container for this SipSession, such as the - the Via and the Contact headers. - The IP address part of the socket address is used to construct - these system headers. -

-

-
Parameters:
address - the socket address which represents the outbound interface -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session -
java.lang.IllegalArgumentException - if the address is not understood - by the container as one of its outbound interfaces -
java.lang.NullPointerException - on null address
Since:
-
1.1
-
-
-
-
- -

-setOutboundInterface

-
-void setOutboundInterface(java.net.InetAddress address)
-
-
In multi-homed environment this method can be used to select - the outbound interface to use when sending requests for this SipSession. - The specified address must be the address of one of the configured - outbound interfaces. The set of SipURI objects which represent the - supported outbound interfaces can be obtained from the servlet context - attribute named javax.servlet.sip.outboundInterfaces. -

Invocation of this method also impacts the system headers - generated by the container for this message, such as the - the Via and the Contact header. - The supplied IP address is used to construct - these system headers. -

-

-
Parameters:
address - the address which represents the outbound interface -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session -
java.lang.IllegalArgumentException - if the address does not - represent one of the container's outbound interfaces -
java.lang.NullPointerException - on null address
Since:
-
1.1
-
-
-
-
- -

-isValid

-
-boolean isValid()
-
-
Returns true if this SipSession is valid, false otherwise. - - The SipSession can be invalidated by calling the method - invalidate() on it or if its invalidateWhenReady flag - is true and it transitions to the ready-to-invalidate state. - Also the SipSession can be invalidated by the container when either the associated - SipApplicationSession times out or - SipApplicationSession.invalidate() is invoked. -

-

- -
Returns:
boolean true if the session is valid, false otherwise.
Since:
-
1.1
-
-
-
-
- -

-getRegion

-
-SipApplicationRoutingRegion getRegion()
-
-
This method allows the application to obtain the region it was - invoked in for this SipSession. This information helps the application to - determine the location of the subscriber returned by - SipSession.getSubscriberURI(). - -

- If this SipSession is created when this servlet receives an initial - request, this method returns the region in which this servlet is invoked. - The SipApplicationRoutingRegion is only available if this - SipSession received an initial request. Otherwise, this method throws - IllegalStateException. -

-

- -
Returns:
The routing region (ORIGINATING, NEUTRAL, TERMINATING or their - sub-regions) -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
Since:
-
1.1
-
-
-
-
- -

-getSubscriberURI

-
-URI getSubscriberURI()
-
-
Returns the URI of the subscriber for which this application - is invoked to serve. This is only available if this SipSession - received an initial request. Otherwise, this method throws - IllegalStateException. -

-

- -
Returns:
URI of the subscriber -
Throws: -
java.lang.IllegalStateException - if this method is called on an invalidated session
Since:
-
1.1
-
-
-
-
- -

-getServletContext

-
-javax.servlet.ServletContext getServletContext()
-
-
Returns the ServletContext to which this session belongs. - - By definition, there is one ServletContext per sip (or web) module per JVM. - Though, a SipSession belonging to a distributed application - deployed to a distributed container may be available across JVMs , this method - returns the context that is local to the JVM on which it was invoked. -

-

- -
Returns:
ServletContext object for the sip application
Since:
-
1.1
-
See Also:
ServletContext
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionActivationListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionActivationListener.html deleted file mode 100644 index 32c30a29c2..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionActivationListener.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - -SipSessionActivationListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipSessionActivationListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipSessionActivationListener
extends java.util.EventListener
- - -

-Objects that are bound to a session may listen to container events - notifying them that sessions will be passivated and that session - will be activated. A container that migrates session between VMs or - persists sessions is required to notify all attributes bound to - sessions implementing SipSessionActivationListener. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- voidsessionDidActivate(SipSessionEvent se) - -
-          Notification that the session has just been activated.
- voidsessionWillPassivate(SipSessionEvent se) - -
-          Notification that the session is about to be passivated.
-  -

- - - - - - - - -
-Method Detail
- -

-sessionWillPassivate

-
-void sessionWillPassivate(SipSessionEvent se)
-
-
Notification that the session is about to be passivated. -

-

-
-
-
-
Parameters:
se - event identifying the session about to be persisted
-
-
-
- -

-sessionDidActivate

-
-void sessionDidActivate(SipSessionEvent se)
-
-
Notification that the session has just been activated. -

-

-
-
-
-
Parameters:
se - event identifying the activated session
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionAttributeListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionAttributeListener.html deleted file mode 100644 index f1c8e46fb1..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionAttributeListener.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - -SipSessionAttributeListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipSessionAttributeListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipSessionAttributeListener
extends java.util.EventListener
- - -

-This listener interface can be implemented in order to get - notifications of changes to the attribute lists of sessions - within this SIP servlet application. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidattributeAdded(SipSessionBindingEvent ev) - -
-          Notification that an attribute has been added to a session.
- voidattributeRemoved(SipSessionBindingEvent ev) - -
-          Notification that an attribute has been removed from a session.
- voidattributeReplaced(SipSessionBindingEvent ev) - -
-          Notification that an attribute has been replaced in a session.
-  -

- - - - - - - - -
-Method Detail
- -

-attributeAdded

-
-void attributeAdded(SipSessionBindingEvent ev)
-
-
Notification that an attribute has been added to a session. - Called after the attribute is added. -

-

-
-
-
-
Parameters:
ev - event identifying the affected SipSession
-
-
-
- -

-attributeRemoved

-
-void attributeRemoved(SipSessionBindingEvent ev)
-
-
Notification that an attribute has been removed from a session. - Called after the attribute is removed. -

-

-
-
-
-
Parameters:
ev - event identifying the affected SipSession
-
-
-
- -

-attributeReplaced

-
-void attributeReplaced(SipSessionBindingEvent ev)
-
-
Notification that an attribute has been replaced in a session. - Called after the attribute is replaced. -

-

-
-
-
-
Parameters:
ev - event identifying the affected SipSession
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionBindingEvent.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionBindingEvent.html deleted file mode 100644 index 91c2b3dca6..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionBindingEvent.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - -SipSessionBindingEvent (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class SipSessionBindingEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by javax.servlet.sip.SipSessionBindingEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class SipSessionBindingEvent
extends java.util.EventObject
- - -

-Events of this type are either sent to an object that implements - SipSessionBindingListener when it is bound or unbound from a - session, or to a SipSessionAttributeListener that has been - configured in the deployment descriptor when any attribute is bound, - unbound or replaced in a session. - -

The session binds the object by a call to - SipSession.setAttribute and unbinds the object by a call - to SipSession.removeAttribute. -

- -

-

-
See Also:
SipSession, -SipSessionBindingListener, -SipSessionAttributeListener, -Serialized Form
-
- -

- - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.util.EventObject
source
-  - - - - - - - - - - -
-Constructor Summary
SipSessionBindingEvent(SipSession session, - java.lang.String name) - -
-          Constructs an event that notifies an object that it has been bound - to or unbound from a session.
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetName() - -
-          Returns the name with which the object is bound to or unbound from - the session.
- SipSessiongetSession() - -
-          Returns the session to or from which the object is bound or unbound.
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SipSessionBindingEvent

-
-public SipSessionBindingEvent(SipSession session,
-                              java.lang.String name)
-
-
Constructs an event that notifies an object that it has been bound - to or unbound from a session. To receive the event, the object must - implement SipSessionBindingListener. -

-

-
Parameters:
session - the session to which the object is bound or unbound
name - the name with which the object is bound or unbound
-
- - - - - - - - -
-Method Detail
- -

-getName

-
-public java.lang.String getName()
-
-
Returns the name with which the object is bound to or unbound from - the session. -

-

- -
Returns:
a string specifying the name with which the object is bound - to or unbound from the session
-
-
-
- -

-getSession

-
-public SipSession getSession()
-
-
Returns the session to or from which the object is bound or unbound. -

-

- -
Returns:
the session to which the object is bound or from which the - object is unbound
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionBindingListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionBindingListener.html deleted file mode 100644 index ef797d72b4..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionBindingListener.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - - -SipSessionBindingListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipSessionBindingListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipSessionBindingListener
extends java.util.EventListener
- - -

-Causes an object to be notified when it is bound to or unbound from - a SipSession. The object is notified by an SipSessionBindingEvent - object. This may be as a result of a servlet programmer explicitly - unbinding an attribute from a session, due to a session being invalidated, - or due to a session timing out. -

- -

-

-
See Also:
SipSession, -SipSessionBindingEvent
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- voidvalueBound(SipSessionBindingEvent event) - -
-          Notifies the object that it is being bound to a session and - identifies the session.
- voidvalueUnbound(SipSessionBindingEvent event) - -
-          Notifies the object that it is being unbound from a session and - identifies the session.
-  -

- - - - - - - - -
-Method Detail
- -

-valueBound

-
-void valueBound(SipSessionBindingEvent event)
-
-
Notifies the object that it is being bound to a session and - identifies the session. -

-

-
-
-
-
Parameters:
event - the event that identifies the session
-
-
-
- -

-valueUnbound

-
-void valueUnbound(SipSessionBindingEvent event)
-
-
Notifies the object that it is being unbound from a session and - identifies the session. -

-

-
-
-
-
Parameters:
event - the event that identifies the session
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionEvent.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionEvent.html deleted file mode 100644 index 5ffe18c6c3..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionEvent.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - -SipSessionEvent (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class SipSessionEvent

-
-java.lang.Object
-  extended by java.util.EventObject
-      extended by javax.servlet.sip.SipSessionEvent
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class SipSessionEvent
extends java.util.EventObject
- - -

-This is the class representing event notifications for changes to - SipSessions within a SIP servlet application. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.util.EventObject
source
-  - - - - - - - - - - -
-Constructor Summary
SipSessionEvent(SipSession source) - -
-          Construct a session event from the given source.
-  - - - - - - - - - - - -
-Method Summary
- SipSessiongetSession() - -
-          Returns the session that changed.
- - - - - - - -
Methods inherited from class java.util.EventObject
getSource, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SipSessionEvent

-
-public SipSessionEvent(SipSession source)
-
-
Construct a session event from the given source. -

-

-
Parameters:
source - the affected SipSession object
-
- - - - - - - - -
-Method Detail
- -

-getSession

-
-public SipSession getSession()
-
-
Returns the session that changed. -

-

- -
Returns:
the affected SipSession object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionListener.html deleted file mode 100644 index 8bd1e885fa..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionListener.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - -SipSessionListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipSessionListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface SipSessionListener
extends java.util.EventListener
- - -

-Implementations of this interface are notified of changes to the list - of active SipSessions in a SIP servlet application. To - recieve notification events, the implementation class must be configured - in the deployment descriptor for the SIP application. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidsessionCreated(SipSessionEvent se) - -
-          Notification that a SipSession was created.
- voidsessionDestroyed(SipSessionEvent se) - -
-          Notification that a SipSession was destroyed.
- voidsessionReadyToInvalidate(SipSessionEvent se) - -
-          Notification that a SipSession is in the ready-to-invalidate - state.
-  -

- - - - - - - - -
-Method Detail
- -

-sessionCreated

-
-void sessionCreated(SipSessionEvent se)
-
-
Notification that a SipSession was created. -

-

-
-
-
-
Parameters:
se - the notification event
-
-
-
- -

-sessionDestroyed

-
-void sessionDestroyed(SipSessionEvent se)
-
-
Notification that a SipSession was destroyed. -

-

-
-
-
-
Parameters:
se - the notification event
-
-
-
- -

-sessionReadyToInvalidate

-
-void sessionReadyToInvalidate(SipSessionEvent se)
-
-
Notification that a SipSession is in the ready-to-invalidate - state. The container will invalidate this session upon completion of - this callback unless the listener implementation calls - SipSessionEvent.getSession().setInvalidateWhenReady(false) -

-

-
-
-
-
Parameters:
se - the notification event
Since:
-
1.1
-
See Also:
SipSession.isReadyToInvalidate()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionsUtil.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionsUtil.html deleted file mode 100644 index b1f2fa2b5a..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipSessionsUtil.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - -SipSessionsUtil (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipSessionsUtil

-
-
-
public interface SipSessionsUtil
- - -

-A utility class providing additional support for - converged HTTP/SIP applications and converged Java EE / SIP applications. - -

This class can be accessed through the ServletContext - parameter named javax.servlet.sip.SipSessionsUtil or it can be injected - using the @Resource annotation. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- SipApplicationSessiongetApplicationSessionById(java.lang.String applicationSessionId) - -
-          Returns the SipApplicationSession for a given applicationSessionId.
- SipApplicationSessiongetApplicationSessionByKey(java.lang.String applicationSessionKey, - boolean create) - -
-          Returns the SipApplicationSession for a given session applicationSessionKey.
- SipSessiongetCorrespondingSipSession(SipSession session, - java.lang.String headerName) - -
-          Returns related SipSession.
-  -

- - - - - - - - -
-Method Detail
- -

-getApplicationSessionById

-
-SipApplicationSession getApplicationSessionById(java.lang.String applicationSessionId)
-
-
Returns the SipApplicationSession for a given applicationSessionId. - The applicationSessionId String is the same as that obtained through - SipApplicationSession.getId(). The method shall return the Application - Session only if the queried application session belongs to the - application from where this method is invoked. - As an example if there exists a SIP Application with some Java EE component - like a Message Driven Bean, bundled in the same application archive file - (.war), then if the id of SipApplicationSession is known to the MDB it - can get a reference to the SipApplicationSession object using this method. - If this MDB were in a different application then it would not possible - for it to access the SipApplicationSession. The method returns null in case - the container does not find the SipApplicationSession instance matching the - ID. -

-

-
Parameters:
applicationSessionId - the SipApplicationSession's id -
Returns:
SipApplicationSession object or a null if it is not found -
Throws: -
java.lang.NullPointerException - if the applicationSessionId is null.
See Also:
SipApplicationSession.getId()
-
-
-
- -

-getApplicationSessionByKey

-
-SipApplicationSession getApplicationSessionByKey(java.lang.String applicationSessionKey,
-                                                 boolean create)
-
-
Returns the SipApplicationSession for a given session applicationSessionKey. - The applicationSessionKey String is the same as that supplied to - SipFactory#createApplicationSessionByKey. The method shall return the - Application Session only if the queried application session belongs to the - application from where this method is invoked. - The method returns null in case the container does not - find the SipApplicationSession instance matching the applicationSessionKey. -

-

-
Parameters:
applicationSessionKey - session applicationSessionKey of the SipApplicationSession
create - controls whether new session should be created upon lookup - failure -
Returns:
SipApplicationSession object or a null if it is not found and - create is set to false. If create - is true, create a new SipApplicationSession with the - given applicationSessionKey -
Throws: -
java.lang.NullPointerException - if the applicationSessionKey is null.
See Also:
SipFactory.createApplicationSessionByKey(String)
-
-
-
- -

-getCorrespondingSipSession

-
-SipSession getCorrespondingSipSession(SipSession session,
-                                      java.lang.String headerName)
-
-
Returns related SipSession. - This method is helpful when the application code wants to carry out - session join or replacement as described by RFC 3911 and RFC 3891 - respectively.
- The association is made implicitly by the container implementation. An - example is shown below.
-
- @Resource
- SipSessionsUtil sipSessionsUtil;
- protected void doInvite(SipServletRequest req) {
-   SipSession joining = req.getSession(true);
-   SipSession beingJoined = sipSessionsUtil.getCorrespondingSipSession(
-                            joining,"Join");
-   [...]
- }
- 
-

-

-
Parameters:
session - one of the two related SIP sessions. For example, it can - be the joining session or the replacing session.
headerName - the header name through which the association is made. - For example, for RFC 3911, it is Join, - for RFC 3891, it is Replaces -
Returns:
SipSession related to the supplied session. For RFC 3911, if - joining session is passed in, the session being joined is returned. - For RFC 3891, if the replacing session is passed in, the session - being replaced is returned. If none is found, this method returns - null.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipURI.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipURI.html deleted file mode 100644 index 0682fcc976..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/SipURI.html +++ /dev/null @@ -1,994 +0,0 @@ - - - - - - -SipURI (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface SipURI

-
-
All Superinterfaces:
java.lang.Cloneable, URI
-
-
-
-
public interface SipURI
extends URI
- - -

-Represents sip and sips URIs. - -

SIP and SIPS URIs are used for addressing. They are similar to email - addresses in that they are of the form user@host where - user is either a user name or telephone number, and host - is a host or domain name, or a numeric IP address. Additionally, SIP and - SIPS URIs may contain parameters and headers (although headers are not - legal in all contexts). - -

Syntactically, SIP and SIPS URIs are identical except for the name of - URI scheme. The semantics differs in that the SIPS scheme implies that - the identified resource is to be contacted using TLS. The following quote - is from RFC 3261: - -

- "A SIPS URI specifies that the resource be contacted securely. This - means, in particular, that TLS is to be used between the UAC and the - domain that owns the URI. From there, secure communications are used - to reach the user, where the specific security mechanism depends on - the policy of the domain. Any resource described by a SIP URI can be - "upgraded" to a SIPS URI by just changing the scheme, if it is - desired to communicate with that resource securely." -
- -

Because sip and sips URIs are syntactically - identical and because they're used the same way, they're both represented - by the SipURI interface. - -

The string form of SIP and SIPS URIs may contain escaped characters. - The SIP - servlet container is responsible for unescaping those characters before - presenting URIs to servlets. Likewise, string values passed to setters - for various SIP(S) URI components may contain reserved or excluded - characters that need escaping before being used. The container is - responsible for escaping those values. -

- -

-

-
See Also:
Address, -SipFactory.createSipURI(java.lang.String, java.lang.String), -SipServletRequest.getRequestURI()
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(java.lang.Object o) - -
-          Compares the given SipURI with this SipURI.
- java.lang.StringgetHeader(java.lang.String name) - -
-          Returns the value of the specified header.
- java.util.Iterator<java.lang.String>getHeaderNames() - -
-          Returns an Iterator over the names of all headers - present in this SipURI.
- java.lang.StringgetHost() - -
-          Returns the host part of this SipURI.
- booleangetLrParam() - -
-          Returns true if the "lr" flag parameter is set, and false - otherwise.
- java.lang.StringgetMAddrParam() - -
-          Returns the value of the "maddr" parameter, or null if this - is not set.
- java.lang.StringgetMethodParam() - -
-          Returns the value of the "method" parameter, or null if this - is not set.
- intgetPort() - -
-          Returns the port number of this SipURI, - or -1 if this is not set.
- java.lang.StringgetTransportParam() - -
-          Returns the value of the "transport" parameter, or null if this - is not set.
- intgetTTLParam() - -
-          Returns the value of the "ttl" parameter, or -1 if this - is not set.
- java.lang.StringgetUser() - -
-          Returns the user part of this SipURI.
- java.lang.StringgetUserParam() - -
-          Returns the value of the "user" parameter, or null if this - is not set.
- java.lang.StringgetUserPassword() - -
-          Returns the password of this SipURI, - or null if this is not set.
- booleanisSecure() - -
-          Returns true if this SipURI is secure, that is, - if this it represents a sips URI.
- voidremoveHeader(java.lang.String name) - -
-          Removes the named header from this SipURI.
- voidsetHeader(java.lang.String name, - java.lang.String value) - -
-          Sets the value of the specified header in this SipURI.
- voidsetHost(java.lang.String host) - -
-          Sets the host part of this SipURI.
- voidsetLrParam(boolean flag) - -
-          Sets or removes the "lr" parameter depending on the value of the flag.
- voidsetMAddrParam(java.lang.String maddr) - -
-          Sets the value of the "maddr" parameter.
- voidsetMethodParam(java.lang.String method) - -
-          Sets the value of the "method" parameter.
- voidsetPort(int port) - -
-          Sets the port number of this SipURI.
- voidsetSecure(boolean b) - -
-          Sets the scheme of this URI to sip or sips - depending on whether the argument is true or not.
- voidsetTransportParam(java.lang.String transport) - -
-          Sets the value of the "transport" parameter.
- voidsetTTLParam(int ttl) - -
-          Sets the value of the "ttl" parameter.
- voidsetUser(java.lang.String user) - -
-          Sets the user part of this SipURI.
- voidsetUserParam(java.lang.String user) - -
-          Sets the value of the "user" parameter.
- voidsetUserPassword(java.lang.String password) - -
-          Sets the password of this SipURI.
- java.lang.StringtoString() - -
-          Returns the String representation of this - SipURI.
- - - - - - - -
Methods inherited from interface javax.servlet.sip.URI
clone, getParameter, getParameterNames, getScheme, isSipURI, removeParameter, setParameter
-  -

- - - - - - - - -
-Method Detail
- -

-getUser

-
-java.lang.String getUser()
-
-
Returns the user part of this SipURI. -

-

-
-
-
- -
Returns:
the user part of this SipURI
-
-
-
- -

-setUser

-
-void setUser(java.lang.String user)
-
-
Sets the user part of this SipURI. -

-

-
-
-
-
Parameters:
user - the new user part
-
-
-
- -

-getUserPassword

-
-java.lang.String getUserPassword()
-
-
Returns the password of this SipURI, - or null if this is not set. -

-

-
-
-
- -
Returns:
the password of this SipURI
-
-
-
- -

-setUserPassword

-
-void setUserPassword(java.lang.String password)
-
-
Sets the password of this SipURI. The use of passwords - in SIP or SIPS URIs is discouraged as sending passwords in clear text - is a security risk. -

-

-
-
-
-
Parameters:
password - the new password
-
-
-
- -

-getHost

-
-java.lang.String getHost()
-
-
Returns the host part of this SipURI. -

-

-
-
-
- -
Returns:
the host part of this SipURI
-
-
-
- -

-setHost

-
-void setHost(java.lang.String host)
-
-
Sets the host part of this SipURI. This should be a fully - qualified domain name or a numeric IP address. -

-

-
-
-
-
Parameters:
host - the new host name
-
-
-
- -

-getPort

-
-int getPort()
-
-
Returns the port number of this SipURI, - or -1 if this is not set. -

-

-
-
-
- -
Returns:
the port number of this SipURI
-
-
-
- -

-setPort

-
-void setPort(int port)
-
-
Sets the port number of this SipURI. -

-

-
-
-
-
Parameters:
port - the new port number. A negative value means the - port number is not set and a subsequent call to - getPort() should return -1.
-
-
-
- -

-isSecure

-
-boolean isSecure()
-
-
Returns true if this SipURI is secure, that is, - if this it represents a sips URI. For "ordinary" - sip URIs, false is returned. -

-

-
-
-
- -
Returns:
true if this SipURI represents a sips - URI, and false if it represents a sip URI
-
-
-
- -

-setSecure

-
-void setSecure(boolean b)
-
-
Sets the scheme of this URI to sip or sips - depending on whether the argument is true or not. -

-

-
-
-
-
Parameters:
b - determines whether the scheme of this SipURI - is set to sip or sips
-
-
-
- -

-getTransportParam

-
-java.lang.String getTransportParam()
-
-
Returns the value of the "transport" parameter, or null if this - is not set. - This is equivalent to getParameter("transport"). -

-

-
-
-
- -
Returns:
the value of the "transport" parameter
-
-
-
- -

-setTransportParam

-
-void setTransportParam(java.lang.String transport)
-
-
Sets the value of the "transport" parameter. This parameter specifies - which transport protocol to use for sending requests and responses to - this entity. The following values are defined: "udp", "tcp", "sctp", - "tls", but other values may be used also - -

This method is equivalent to - setParameter("transport", transport). -

-

-
-
-
-
Parameters:
transport - new value for the "transport" parameter
-
-
-
- -

-getMAddrParam

-
-java.lang.String getMAddrParam()
-
-
Returns the value of the "maddr" parameter, or null if this - is not set. - This is equivalent to getParameter("maddr"). -

-

-
-
-
- -
Returns:
the value of the "maddr" parameter
-
-
-
- -

-setMAddrParam

-
-void setMAddrParam(java.lang.String maddr)
-
-
Sets the value of the "maddr" parameter. - This is equivalent to setParameter("maddr", maddr). -

-

-
-
-
-
Parameters:
maddr - new value of the "maddr" parameter
-
-
-
- -

-getMethodParam

-
-java.lang.String getMethodParam()
-
-
Returns the value of the "method" parameter, or null if this - is not set. - This is equivalent to getParameter("method"). -

-

-
-
-
- -
Returns:
the value of the "method" parameter
-
-
-
- -

-setMethodParam

-
-void setMethodParam(java.lang.String method)
-
-
Sets the value of the "method" parameter. This specifies which SIP - method to use in requests directed at this SIP/SIPS URI. - -

This method is equivalent to - setParameter("method", method). -

-

-
-
-
-
Parameters:
method - new value of the "method" parameter
-
-
-
- -

-getTTLParam

-
-int getTTLParam()
-
-
Returns the value of the "ttl" parameter, or -1 if this - is not set. This method is equivalent to - getParameter("ttl"). -

-

-
-
-
- -
Returns:
the value of the "ttl" parameter
-
-
-
- -

-setTTLParam

-
-void setTTLParam(int ttl)
-
-
Sets the value of the "ttl" parameter. The ttl parameter specifies - the time-to-live value when packets are sent using UDP multicast. - -

This is equivalent to setParameter("ttl", ttl). -

-

-
-
-
-
Parameters:
ttl - new value of the "ttl" parameter
-
-
-
- -

-getUserParam

-
-java.lang.String getUserParam()
-
-
Returns the value of the "user" parameter, or null if this - is not set. - This is equivalent to getParameter("user"). -

-

-
-
-
- -
Returns:
the value of the "user" parameter
-
-
-
- -

-setUserParam

-
-void setUserParam(java.lang.String user)
-
-
Sets the value of the "user" parameter. - This is equivalent to setParameter("user", user). -

-

-
-
-
-
Parameters:
user - new value for the "user" parameter
-
-
-
- -

-getLrParam

-
-boolean getLrParam()
-
-
Returns true if the "lr" flag parameter is set, and false - otherwise. - This is equivalent to "".equals(getParameter("lr")). -

-

-
-
-
- -
Returns:
true if the "lr" flag parameter is set, and false otherwise
-
-
-
- -

-setLrParam

-
-void setLrParam(boolean flag)
-
-
Sets or removes the "lr" parameter depending on the value of the flag. -

-

-
-
-
-
Parameters:
flag - specifies that the "lr" flag parameter is to be set (true) - or removed (false)
-
-
-
- -

-getHeader

-
-java.lang.String getHeader(java.lang.String name)
-
-
Returns the value of the specified header. SIP/SIPS URIs may specify - headers. As an example, the URI - sip:joe@example.com?Priority=emergency has a header - "Priority" whose value is "emergency". -

-

-
-
-
-
Parameters:
name - the header name -
Returns:
the value of the specified header in this SipURI -
Throws: -
java.lang.NullPointerException - if the name is null.
-
-
-
- -

-setHeader

-
-void setHeader(java.lang.String name,
-               java.lang.String value)
-
-
Sets the value of the specified header in this SipURI. -

-

-
-
-
-
Parameters:
name - header name
value - header value
-
-
-
- -

-removeHeader

-
-void removeHeader(java.lang.String name)
-
-
Removes the named header from this SipURI. Nothing is - done if the SipURI did not already contain the - specific header. -

-

-
-
-
-
Parameters:
name - header name
Since:
-
1.1
-
-
-
-
- -

-getHeaderNames

-
-java.util.Iterator<java.lang.String> getHeaderNames()
-
-
Returns an Iterator over the names of all headers - present in this SipURI. -

-

-
-
-
- -
Returns:
an Iterator over all header names
-
-
-
- -

-toString

-
-java.lang.String toString()
-
-
Returns the String representation of this - SipURI. Any reserved characters will be properly escaped - according to RFC2396. -

-

-
Specified by:
toString in interface URI
Overrides:
toString in class java.lang.Object
-
-
- -
Returns:
this sip or sips URI as a - String
-
-
-
- -

-equals

-
-boolean equals(java.lang.Object o)
-
-
Compares the given SipURI with this SipURI. - The rules specified in section 19.1.4 RFC 3261 must be - used for comparison. -

-

-
Specified by:
equals in interface URI
Overrides:
equals in class java.lang.Object
-
-
-
Parameters:
o - the URI which is to be compared with this. -
Returns:
true if the two SipURIs are equal.
Since:
-
1.1
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/TelURL.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/TelURL.html deleted file mode 100644 index 451660df83..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/TelURL.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - - -TelURL (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface TelURL

-
-
All Superinterfaces:
java.lang.Cloneable, URI
-
-
-
-
public interface TelURL
extends URI
- - -

-Represents tel URLs as defined by RFC 3966. Tel URLs - represent telephone numbers. SIP servlet containers may be able to - route requests based on tel URLs but are not required to. -

- -

-

-
See Also:
RFC 3966
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(java.lang.Object o) - -
-          Compares the given TelURL with this TelURL.
- java.lang.StringgetPhoneContext() - -
-          Returns the phone context of this TelURL for local numbers or - null if the phone number is global
- java.lang.StringgetPhoneNumber() - -
-          Returns the phone number of this TelURL.
- booleanisGlobal() - -
-          Returns true if this TelURL is global, and false - otherwise.
- voidsetPhoneNumber(java.lang.String number) - -
-          Sets the (global) phone number of this TelURL.
- voidsetPhoneNumber(java.lang.String number, - java.lang.String phoneContext) - -
-          Sets the (local) phone number of this TelURL.
- java.lang.StringtoString() - -
-          Returns the String representation of this - TelURL.
- - - - - - - -
Methods inherited from interface javax.servlet.sip.URI
clone, getParameter, getParameterNames, getScheme, isSipURI, removeParameter, setParameter
-  -

- - - - - - - - -
-Method Detail
- -

-getPhoneNumber

-
-java.lang.String getPhoneNumber()
-
-
Returns the phone number of this TelURL. The - returned string includes any visual separators present in the - phone number part of the URL but does not include a - leading "+" for global tel URLs. -

-

-
-
-
- -
Returns:
the number of this TelURL
-
-
-
- -

-getPhoneContext

-
-java.lang.String getPhoneContext()
-
-
Returns the phone context of this TelURL for local numbers or - null if the phone number is global -

-

-
-
-
- -
Returns:
the phone-context of this TelURL for local numbers or - null if the phone number is global
Since:
-
1.1
-
-
-
-
- -

-setPhoneNumber

-
-void setPhoneNumber(java.lang.String number)
-
-
Sets the (global) phone number of this TelURL. The specified - number must be a valid global number for the "tel" scheme as - described in RFC3966 (URLs for Telephone Calls). - - The following usage of this method will result in valid global phone number:
- - setPhoneNumber("+1-201-555-0123") -

-

-
-
-
-
Parameters:
number - the new global phone number -
Throws: -
java.lang.IllegalArgumentException - if the phone number was invalid according - to validation rules specified in RFC3966
Since:
-
1.1
-
-
-
-
- -

-setPhoneNumber

-
-void setPhoneNumber(java.lang.String number,
-                    java.lang.String phoneContext)
-
-
Sets the (local) phone number of this TelURL. The specified number - must be a local phone number for the "tel" scheme as - described in RFC3966 (URLs for Telephone Calls). - - The following usage of this method will result in a valid local phone number:
- setPhoneNumber("7042","example.com") -

-

-
-
-
-
Parameters:
number - the new local phone number
phoneContext - the phone-context parameter of this TelURI -
Throws: -
java.lang.IllegalArgumentException - if the phone number was invalid according - to validation rules specified in RFC3966
Since:
-
1.1
-
-
-
-
- -

-isGlobal

-
-boolean isGlobal()
-
-
Returns true if this TelURL is global, and false - otherwise. -

-

-
-
-
- -
Returns:
true if this tel URL is in global form
-
-
-
- -

-toString

-
-java.lang.String toString()
-
-
Returns the String representation of this - TelURL. Any reserved characters will be properly escaped - according to RFC2396. -

-

-
Specified by:
toString in interface URI
Overrides:
toString in class java.lang.Object
-
-
- -
Returns:
the String representation of this - TelURL
-
-
-
- -

-equals

-
-boolean equals(java.lang.Object o)
-
-
Compares the given TelURL with this TelURL. The comparison rules to be - followed must be as specified in RFC 3966 section 5. -

-

-
Specified by:
equals in interface URI
Overrides:
equals in class java.lang.Object
-
-
-
Parameters:
o - the TelURL which is to be compared with this. -
Returns:
true if the two URLs are equal as per RFC 3966.
Since:
-
1.1
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/TimerListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/TimerListener.html deleted file mode 100644 index cf939fd964..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/TimerListener.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - -TimerListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface TimerListener

-
-
All Superinterfaces:
java.util.EventListener
-
-
-
-
public interface TimerListener
extends java.util.EventListener
- - -

-Listener interface implemented by SIP servlet applications using timers. - -

The application specifies an implementation of this interface - in a listener element of the SIP deployment descriptor. - There may be at most one TimerListener defined. -

- -

-

-
See Also:
TimerService
-
- -

- - - - - - - - - - - - -
-Method Summary
- voidtimeout(ServletTimer timer) - -
-          Notifies the listener that the specified timer has expired.
-  -

- - - - - - - - -
-Method Detail
- -

-timeout

-
-void timeout(ServletTimer timer)
-
-
Notifies the listener that the specified timer has expired. -

-

-
-
-
-
Parameters:
timer - the timer that has expired
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/TimerService.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/TimerService.html deleted file mode 100644 index f311337c8d..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/TimerService.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - -TimerService (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface TimerService

-
-
-
public interface TimerService
- - -

-Allows SIP servlet applications to set timers in order to receive - notifications on timer expiration. Applications receive such - notifications through an implementation of the - TimerListener interface. Applications using timers must - implement this interface and declare it as listener - in the SIP deployment descriptor. - -

SIP servlet containers are requried to make a - TimerService instance available to applications - through a ServletContext attribute with name - javax.servlet.sip.TimerService. -

- -

-

-
See Also:
TimerListener, -SipApplicationSession.getTimers()
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- ServletTimercreateTimer(SipApplicationSession appSession, - long delay, - boolean isPersistent, - java.io.Serializable info) - -
-          Creates a one-time ServletTimer and schedules it to - expire after the specified delay.
- ServletTimercreateTimer(SipApplicationSession appSession, - long delay, - long period, - boolean fixedDelay, - boolean isPersistent, - java.io.Serializable info) - -
-          Creates a repeating ServletTimer and schedules it to - expire after the specified delay and then again at approximately - regular intervals.
-  -

- - - - - - - - -
-Method Detail
- -

-createTimer

-
-ServletTimer createTimer(SipApplicationSession appSession,
-                         long delay,
-                         boolean isPersistent,
-                         java.io.Serializable info)
-
-
Creates a one-time ServletTimer and schedules it to - expire after the specified delay. -

-

-
Parameters:
appSession - the application session with which the new - ServletTimer is to be associated
delay - delay in milliseconds before timer is to expire
isPersistent - if true, the ServletTimer will be - reinstated after a shutdown be it due to complete failure - or operator shutdown
info - application information to be delivered along with the - timer expiration notification. This may be null. -
Returns:
the newly created ServletTimer -
Throws: -
java.lang.IllegalStateException - if the application session is invalid
-
-
-
- -

-createTimer

-
-ServletTimer createTimer(SipApplicationSession appSession,
-                         long delay,
-                         long period,
-                         boolean fixedDelay,
-                         boolean isPersistent,
-                         java.io.Serializable info)
-
-
Creates a repeating ServletTimer and schedules it to - expire after the specified delay and then again at approximately - regular intervals. - -

The ServletTimer is rescheduled to expire in either - a fixed-delay or fixed-rate manner as specified - by the fixedDelay argument. - -

The semantics are the same as for Timer: - -

- In fixed-delay execution, each execution is scheduled relative - to the actual execution time of the previous execution. If an - execution is delayed for any reason (such as garbage collection - or other background activity), subsequent executions will be - delayed as well. In the long run, the frequency of execution will - generally be slightly lower than the reciprocal of the specified - period (assuming the system clock underlying - Object.wait(long) is - accurate). - -

In fixed-rate execution, each execution is scheduled relative - to the scheduled execution time of the initial execution. If an - execution is delayed for any reason (such as garbage collection - or other background activity), two or more executions will occur - in rapid succession to "catch up." In the long run, the frequency - of execution will be exactly the reciprocal of the specified period - (assuming the system clock underlying Object.wait(long) - is accurate). -

-

-

-
Parameters:
appSession - the application session with which the new - ServletTimer is to be associated
delay - delay in milliseconds before timer is to expire
period - time in milliseconds between successive timer expirations
fixedDelay - if true, the repeating timer is scheduled in - a fixed-delay mode, otherwise in a fixed-rate mode
isPersistent - if true, the ServletTimer will be - reinstated after a shutdown be it due to complete failure - or operator shutdown
info - application information to be delivered along with the - timer expiration notification. This may be null. -
Returns:
the newly created ServletTimer -
Throws: -
java.lang.IllegalStateException - if the application session is invalid
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/TooManyHopsException.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/TooManyHopsException.html deleted file mode 100644 index ff96339555..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/TooManyHopsException.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - -TooManyHopsException (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Class TooManyHopsException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by javax.servlet.ServletException
-              extended by javax.servlet.sip.TooManyHopsException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class TooManyHopsException
extends javax.servlet.ServletException
- - -

-Thrown when a SIP Servlet application attempts to obtain a - Proxy object for a request with a Max-Forwards - header with value 0. - -

The application may catch this exception and generate its own - response. Otherwise the exception will propagate to the container - which will catch it and generate a 483 (Too many hops) response. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
TooManyHopsException() - -
-          Constructs a new TooManyHopsException exception, without any message.
TooManyHopsException(java.lang.String msg) - -
-          Constructs a new TooManyHopsException exception with the specified message.
TooManyHopsException(java.lang.String message, - java.lang.Throwable cause) - -
-          Constructs a new TooManyHopsException exception with the specified detail message and - cause.
TooManyHopsException(java.lang.Throwable cause) - -
-          Constructs a new TooManyHopsException exception with the specified cause and a detail - message of (cause==null ? null : cause.toString()) (which - typically contains the class and detail message of cause).
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class javax.servlet.ServletException
getRootCause
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-TooManyHopsException

-
-public TooManyHopsException()
-
-
Constructs a new TooManyHopsException exception, without any message. -

-

-
- -

-TooManyHopsException

-
-public TooManyHopsException(java.lang.String msg)
-
-
Constructs a new TooManyHopsException exception with the specified message. -

-

-
Parameters:
msg - a String specifying the text of the - exception message
-
-
- -

-TooManyHopsException

-
-public TooManyHopsException(java.lang.String message,
-                            java.lang.Throwable cause)
-
-
Constructs a new TooManyHopsException exception with the specified detail message and - cause. - -

Note that the detail message associated with cause is - not automatically incorporated in this exception's detail - message. -

-

-
Parameters:
message - the detail message (which is saved for later retrieval - by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the - Throwable.getCause() method). (A null value - is permitted, and indicates that the cause is nonexistent or - unknown.)
Since:
-
1.1
-
-
-
- -

-TooManyHopsException

-
-public TooManyHopsException(java.lang.Throwable cause)
-
-
Constructs a new TooManyHopsException exception with the specified cause and a detail - message of (cause==null ? null : cause.toString()) (which - typically contains the class and detail message of cause). - This constructor is useful for exceptions that are little more than - wrappers for other throwables. -

-

-
Parameters:
cause - the cause (which is saved for later retrieval by the - Throwable.getCause() method). (A null value is - permitted, and indicates that the cause is nonexistent or - unknown.)
Since:
-
1.1
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/UAMode.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/UAMode.html deleted file mode 100644 index 11dd98b85c..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/UAMode.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - -UAMode (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Enum UAMode

-
-java.lang.Object
-  extended by java.lang.Enum<UAMode>
-      extended by javax.servlet.sip.UAMode
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UAMode>
-
-
-
-
public enum UAMode
extends java.lang.Enum<UAMode>
- - -

-User Agent modes, UAC (client) or UAS (server) -

- -

-

-
Since:
-
1.1
-
See Also:
B2buaHelper.getPendingMessages(SipSession, UAMode)
-
- -

- - - - - - - - - - - - - -
-Enum Constant Summary
UAC - -
-           
UAS - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static UAModevalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static UAMode[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-UAC

-
-public static final UAMode UAC
-
-
-
-
-
- -

-UAS

-
-public static final UAMode UAS
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final UAMode[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(UAMode c : UAMode.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static UAMode valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/URI.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/URI.html deleted file mode 100644 index b6c8d1d2bc..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/URI.html +++ /dev/null @@ -1,456 +0,0 @@ - - - - - - -URI (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip -
-Interface URI

-
-
All Superinterfaces:
java.lang.Cloneable
-
-
-
All Known Subinterfaces:
SipURI, TelURL
-
-
-
-
public interface URI
extends java.lang.Cloneable
- - -

-Base interface for any type of URI. These are used in the request line - of SIP requests to identify the callee and also in Contact, From, and - To headers. - -

The only feature common to all URIs is that they can be represented - as strings beginning with a token identifying the scheme of - the URI followed by a colon followed by a scheme-specific part. - -

The generic syntax of URIs is defined in RFC 2396. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- URIclone() - -
-          Returns a clone of this URI.
- booleanequals(java.lang.Object o) - -
-          Compares the given URI with this URI.
- java.lang.StringgetParameter(java.lang.String key) - -
-          Returns the value of the named parameter, or null if it is not - set.
- java.util.Iterator<java.lang.String>getParameterNames() - -
-          Returns an Iterator over the names of all parameters - present in this URI.
- java.lang.StringgetScheme() - -
-          Returns the scheme of this URI, - for example "sip", "sips" or "tel".
- booleanisSipURI() - -
-          Returns true if the scheme is "sip" or "sips", false otherwise.
- voidremoveParameter(java.lang.String name) - -
-          Removes the named parameter from this URL.
- voidsetParameter(java.lang.String name, - java.lang.String value) - -
-          Sets the value of the named parameter.
- java.lang.StringtoString() - -
-          Returns the value of this URI as a String.
-  -

- - - - - - - - -
-Method Detail
- -

-getScheme

-
-java.lang.String getScheme()
-
-
Returns the scheme of this URI, - for example "sip", "sips" or "tel". -

-

-
-
-
- -
Returns:
the scheme of this URI
-
-
-
- -

-toString

-
-java.lang.String toString()
-
-
Returns the value of this URI as a String. - The result must be appropriately URL escaped. -

-

-
Overrides:
toString in class java.lang.Object
-
-
- -
Returns:
String value of this URI
-
-
-
- -

-isSipURI

-
-boolean isSipURI()
-
-
Returns true if the scheme is "sip" or "sips", false otherwise. -

-

-
-
-
- -
Returns:
true if the scheme is "sip" or "sips", false otherwise
-
-
-
- -

-getParameter

-
-java.lang.String getParameter(java.lang.String key)
-
-
Returns the value of the named parameter, or null if it is not - set. A zero-length String indicates flag parameter. -

-

-
-
-
-
Parameters:
key - a String specifying the parameter name -
Returns:
value of the specified parameter -
Throws: -
java.lang.NullPointerException - if the key is null.
Since:
-
1.1
-
-
-
-
- -

-setParameter

-
-void setParameter(java.lang.String name,
-                  java.lang.String value)
-
-
Sets the value of the named parameter. If this URL previously contained - a value for the given parameter name, then the old value is replaced - by the specified value. The setting of a flag parameter is indicated - by specifying a zero-length String for the parameter value. -

-

-
-
-
-
Parameters:
name - parameter name
value - new parameter value -
Throws: -
java.lang.NullPointerException - on eithet name or value being null.
Since:
-
1.1
-
-
-
-
- -

-removeParameter

-
-void removeParameter(java.lang.String name)
-
-
Removes the named parameter from this URL. Nothing is done if - the URL did not already contain the specific parameter. -

-

-
-
-
-
Parameters:
name - parameter name
Since:
-
1.1
-
-
-
-
- -

-getParameterNames

-
-java.util.Iterator<java.lang.String> getParameterNames()
-
-
Returns an Iterator over the names of all parameters - present in this URI. -

-

-
-
-
- -
Returns:
an iterator over strings containing the names of this URLs - parameters
Since:
-
1.1
-
-
-
-
- -

-equals

-
-boolean equals(java.lang.Object o)
-
-
Compares the given URI with this URI. The comparison rules to be - followed shall depend upon the underlying URI scheme being used. For - general purpose URIs RFC 2396 should be consulted for equality. If the - URIs are of scheme for which comparison rules are further specified in - their specications, then they must be - used for any comparison. -

-

-
Overrides:
equals in class java.lang.Object
-
-
-
Parameters:
o - the URI which is to be compared with this. -
Returns:
true if the two URIs are equal as per the provisions of their specifications.
Since:
-
1.1
-
-
-
-
- -

-clone

-
-URI clone()
-
-
Returns a clone of this URI. -

-

-
-
-
- -
Returns:
URI a clone of this URI object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipApplication.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipApplication.html deleted file mode 100644 index 607194ae02..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipApplication.html +++ /dev/null @@ -1,412 +0,0 @@ - - - - - - -SipApplication (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.annotation -
-Annotation Type SipApplication

-
-
-
@Target(value=PACKAGE)
-@Retention(value=RUNTIME)
-public @interface SipApplication
- - -

-The @SipApplication annotation is used to create an application level - annotation for a collection of SipServlets -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - -
-Required Element Summary
- java.lang.Stringname - -
-           
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Optional Element Summary
- java.lang.Stringdescription - -
-           
- java.lang.StringdisplayName - -
-           
- booleandistributable - -
-           
- java.lang.StringlargeIcon - -
-           
- java.lang.StringmainServlet - -
-           
- intproxyTimeout - -
-           
- intsessionTimeout - -
-           
- java.lang.StringsmallIcon - -
-           
-  -

- - - - - - - - -
-Element Detail
- -

-name

-
-public abstract java.lang.String name
-
-
-
-
-
-
-
-

-displayName

-
-public abstract java.lang.String displayName
-
-
-
-
-
-
-
-
Default:
""
-
-
-
- -

-smallIcon

-
-public abstract java.lang.String smallIcon
-
-
-
-
-
-
-
-
Default:
""
-
-
-
- -

-largeIcon

-
-public abstract java.lang.String largeIcon
-
-
-
-
-
-
-
-
Default:
""
-
-
-
- -

-description

-
-public abstract java.lang.String description
-
-
-
-
-
-
-
-
Default:
""
-
-
-
- -

-distributable

-
-public abstract boolean distributable
-
-
-
-
-
-
-
-
Default:
false
-
-
-
- -

-proxyTimeout

-
-public abstract int proxyTimeout
-
-
-
-
-
-
-
-
Default:
180
-
-
-
- -

-sessionTimeout

-
-public abstract int sessionTimeout
-
-
-
-
-
-
-
-
Default:
3
-
-
-
- -

-mainServlet

-
-public abstract java.lang.String mainServlet
-
-
-
-
-
-
-
-
Default:
""
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipApplicationKey.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipApplicationKey.html deleted file mode 100644 index 00eeb77067..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipApplicationKey.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - - -SipApplicationKey (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.annotation -
-Annotation Type SipApplicationKey

-
-
-
@Target(value=METHOD)
-@Retention(value=RUNTIME)
-@Inherited
-public @interface SipApplicationKey
- - -

-The @SipApplicationKey annotation is used when the application - wants to associate the incoming request (and SipSession) - with a certain SipApplicationSession. - - The method annotated with the @SipApplicationKey annotation MUST have the - following restrictions: -

    -
  1. It MUST be public and static -
  2. It MUST return a String -
  3. It MUST have a single argument of type SipServletRequest -
  4. It MUST not modify the SipServletRequest passed in -
- If the annotated method signature does not comply with the first three rules, - deployment of such an application MUST fail. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - -
-Optional Element Summary
- java.lang.StringapplicationName - -
-           
-  -

-

-applicationName

-
-public abstract java.lang.String applicationName
-
-
-
-
-
-
-
-
Default:
""
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipListener.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipListener.html deleted file mode 100644 index 3599358c14..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipListener.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - -SipListener (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.annotation -
-Annotation Type SipListener

-
-
-
@Target(value=TYPE)
-@Retention(value=RUNTIME)
-@Inherited
-public @interface SipListener
- - -

-The @SipListener annotation allows the application - developer to specify a listener without declaring - it in the deployment descriptor of the application. - The listener type is inferred from the interfaces - implemented by the target class -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - -
-Optional Element Summary
- java.lang.StringapplicationName - -
-           
- java.lang.Stringdescription - -
-           
-  -

-

-applicationName

-
-public abstract java.lang.String applicationName
-
-
-
-
-
-
-
-
Default:
""
-
-
-
- -

-description

-
-public abstract java.lang.String description
-
-
-
-
-
-
-
-
Default:
""
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipServlet.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipServlet.html deleted file mode 100644 index 7a1d1ed32c..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/SipServlet.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - -SipServlet (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.annotation -
-Annotation Type SipServlet

-
-
-
@Target(value=TYPE)
-@Retention(value=RUNTIME)
-@Inherited
-public @interface SipServlet
- - -

-The @SipServlet annotation allows for the SipServlet metadata - to be declared without having to create the deployment descriptor. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - -
-Optional Element Summary
- java.lang.StringapplicationName - -
-           
- java.lang.Stringdescription - -
-           
- intloadOnStartup - -
-           
- java.lang.Stringname - -
-           
-  -

-

-name

-
-public abstract java.lang.String name
-
-
-
-
-
-
-
-
Default:
""
-
-
-
- -

-applicationName

-
-public abstract java.lang.String applicationName
-
-
-
-
-
-
-
-
Default:
""
-
-
-
- -

-description

-
-public abstract java.lang.String description
-
-
-
-
-
-
-
-
Default:
""
-
-
-
- -

-loadOnStartup

-
-public abstract int loadOnStartup
-
-
-
-
-
-
-
-
Default:
-1
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/package-frame.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/package-frame.html deleted file mode 100644 index 37baa06a09..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/package-frame.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - -javax.servlet.sip.annotation (SIP Servlet API 1.1) - - - - - - - - - - - -javax.servlet.sip.annotation - - - - -
-Annotation Types  - -
-SipApplication -
-SipApplicationKey -
-SipListener -
-SipServlet
- - - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/package-summary.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/package-summary.html deleted file mode 100644 index b60ece2b60..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/package-summary.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -javax.servlet.sip.annotation (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package javax.servlet.sip.annotation -

-The javax.servlet.sip.annotation package contains SIP Servlet annotation definitions -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - -
-Annotation Types Summary
SipApplicationThe @SipApplication annotation is used to create an application level - annotation for a collection of SipServlets
SipApplicationKeyThe @SipApplicationKey annotation is used when the application - wants to associate the incoming request (and SipSession) - with a certain SipApplicationSession.
SipListenerThe @SipListener annotation allows the application - developer to specify a listener without declaring - it in the deployment descriptor of the application.
SipServletThe @SipServlet annotation allows for the SipServlet metadata - to be declared without having to create the deployment descriptor.
-  - -

-

-Package javax.servlet.sip.annotation Description -

- -

-The javax.servlet.sip.annotation package contains SIP Servlet annotation definitions - -

Related Documentation

- -For a complete specification document on the SIP Servlests please visit the JSR 289 home page - - -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/package-tree.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/package-tree.html deleted file mode 100644 index 9eb88afac9..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/annotation/package-tree.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - -javax.servlet.sip.annotation Class Hierarchy (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package javax.servlet.sip.annotation -

-
-
-
Package Hierarchies:
All Packages
-
-

-Annotation Type Hierarchy -

-
    -
  • javax.servlet.sip.annotation.SipApplication (implements java.lang.annotation.Annotation) -
  • javax.servlet.sip.annotation.SipApplicationKey (implements java.lang.annotation.Annotation) -
  • javax.servlet.sip.annotation.SipListener (implements java.lang.annotation.Annotation) -
  • javax.servlet.sip.annotation.SipServlet (implements java.lang.annotation.Annotation) -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRouter.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRouter.html deleted file mode 100644 index 732810a98c..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRouter.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - -SipApplicationRouter (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.ar -
-Interface SipApplicationRouter

-
-
-
public interface SipApplicationRouter
- - -

-This interface class specifies the API between the container and the - application router. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidapplicationDeployed(java.util.List<java.lang.String> newlyDeployedApplicationNames) - -
-          Container notifies application router that new applications are deployed.
- voidapplicationUndeployed(java.util.List<java.lang.String> undeployedApplicationNames) - -
-          Container notifies application router that some applications are - undeployed.
- voiddestroy() - -
-          Container calls this method when it finishes using this application - router.
- SipApplicationRouterInfogetNextApplication(SipServletRequest initialRequest, - SipApplicationRoutingRegion region, - SipApplicationRoutingDirective directive, - SipTargetedRequestInfo targetedRequestInfo, - java.io.Serializable stateInfo) - -
-          This method is called by the container when a servlet sends or proxies - an initial SipServletRequest.
- voidinit() - -
-          Initializes the SipApplicationRouter.
- voidinit(java.util.Properties properties) - -
-          Initializes the SipApplicationRouter and passes in initialization - properties.
-  -

- - - - - - - - -
-Method Detail
- -

-init

-
-void init()
-
-
Initializes the SipApplicationRouter. - This method is called by the SIP container and it can only be invoked once. -

-

- -
Throws: -
java.lang.IllegalStateException - if invoked more than once
-
-
-
- -

-init

-
-void init(java.util.Properties properties)
-
-
Initializes the SipApplicationRouter and passes in initialization - properties. This method is called by the SIP container. - The way in which the container obtains the properties is - implementation-dependent.
- This method can only be invoked once. -

-

-
Parameters:
properties - AR initialization properties -
Throws: -
java.lang.IllegalStateException - if invoked more than once
-
-
-
- -

-destroy

-
-void destroy()
-
-
Container calls this method when it finishes using this application - router. -

-

-
-
-
-
- -

-applicationDeployed

-
-void applicationDeployed(java.util.List<java.lang.String> newlyDeployedApplicationNames)
-
-
Container notifies application router that new applications are deployed. -

-

-
Parameters:
newlyDeployedApplicationNames - A list of names of the newly added - applications
-
-
-
- -

-applicationUndeployed

-
-void applicationUndeployed(java.util.List<java.lang.String> undeployedApplicationNames)
-
-
Container notifies application router that some applications are - undeployed. -

-

-
Parameters:
undeployedApplicationNames - A list of names of the undeployed - applications
-
-
-
- -

-getNextApplication

-
-SipApplicationRouterInfo getNextApplication(SipServletRequest initialRequest,
-                                            SipApplicationRoutingRegion region,
-                                            SipApplicationRoutingDirective directive,
-                                            SipTargetedRequestInfo targetedRequestInfo,
-                                            java.io.Serializable stateInfo)
-
-
This method is called by the container when a servlet sends or proxies - an initial SipServletRequest. The application router returns a set of - information. See SipApplicationRouterInfo - for details. -

-

-
Parameters:
initialRequest - The initial request for which the container is - asking for application selection. The request must not be - modified by the AR. It is recommended that the implementations - explicitly disallow any mutation action by throwing appropriate - RuntimeException like IllegalStateException.
region - Which region the application selection process is in
directive - The routing directive used in creating this request. - If this is a request received externally, directive is NEW.
targetedRequestInfo - If initialRequest is a targeted request, this object - gives the type of targeted request (ENCODED_URI, JOIN, REPLACES) and - the targeted application name. If the initialRequest is not targeted, this parameter is null.
stateInfo - If this request is relayed from a previous request by - an application, this is the stored state the application router - returned earlier when invoked to handle the previous request. -
Returns:
Application selection result. If no applications are deployed - this method returns null. -
Throws: -
java.lang.NullPointerException - if the initialRequest is null -
java.lang.IllegalStateException - if the application router has not been - initialized yet
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRouterInfo.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRouterInfo.html deleted file mode 100644 index a9d5d87d5c..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRouterInfo.html +++ /dev/null @@ -1,396 +0,0 @@ - - - - - - -SipApplicationRouterInfo (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.ar -
-Class SipApplicationRouterInfo

-
-java.lang.Object
-  extended by javax.servlet.sip.ar.SipApplicationRouterInfo
-
-
-
-
public class SipApplicationRouterInfo
extends java.lang.Object
- - -

-The SipApplicationRouterInfo class encapsulates the different pieces of - information that the application router returns to the container when the - container calls the SipApplicationRouter.getNextApplication() method. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - -
-Constructor Summary
SipApplicationRouterInfo(java.lang.String nextApplicationName, - SipApplicationRoutingRegion routingRegion, - java.lang.String subscriberURI, - java.lang.String[] routes, - SipRouteModifier mod, - java.io.Serializable stateInfo) - -
-          Creates a SipApplicationRouterInfo object containing the information necessary for the - conatiner to perform its routing decision.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetNextApplicationName() - -
-           
- SipRouteModifiergetRouteModifier() - -
-           
- java.lang.String[]getRoutes() - -
-          An array of SIP routes of the same type (internal or external).
- SipApplicationRoutingRegiongetRoutingRegion() - -
-           
- java.io.SerializablegetStateInfo() - -
-           
- java.lang.StringgetSubscriberURI() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SipApplicationRouterInfo

-
-public SipApplicationRouterInfo(java.lang.String nextApplicationName,
-                                SipApplicationRoutingRegion routingRegion,
-                                java.lang.String subscriberURI,
-                                java.lang.String[] routes,
-                                SipRouteModifier mod,
-                                java.io.Serializable stateInfo)
-
-
Creates a SipApplicationRouterInfo object containing the information necessary for the - conatiner to perform its routing decision. -

-

-
Parameters:
nextApplicationName - The name of the application that the - application router selects to service this request. If no - further application is needed in the current region, this is - set to null.
routingRegion - The Routing region in which the application that is selected will serve.
subscriberURI - The URI that the application is selected to serve
routes - array of external routes or an internal route. External routes - are pushed onto the request by the container, internal route - is used by SipServletRequest.getPoppedRoute().
mod - An enum modifier which qualifies the routes returned and the router behavior
stateInfo - Arbitrary state information of the application router - that it wishes the container to store on its behalf
-
- - - - - - - - -
-Method Detail
- -

-getNextApplicationName

-
-public java.lang.String getNextApplicationName()
-
-
- -
Returns:
name of next application selected. - If the top route is external then this returns null.
-
-
-
- -

-getRoutes

-
-public java.lang.String[] getRoutes()
-
-
An array of SIP routes of the same type (internal or external). - If the top (first) is external, they are to be used by the container to - route the request to the external entities. The container pushes - the external routes onto the request by iterating over the array starting - with the last element until the top (first) element, inclusive.
- If the top (first) route is internal, it indicates the route which led the - request to the container. This internal route is not used for any routing - purposes but to let application router potentially modify the route popped - by the container. Only the first internal route from the array is used for - this purpose, the rest (if any) are ignored by the container.
-

-

- -
Returns:
The SIP route headers which could be internal or external. An empty - array is returned when no routes are present.
-
-
-
- -

-getStateInfo

-
-public java.io.Serializable getStateInfo()
-
-
- -
Returns:
router state information
-
-
-
- -

-getSubscriberURI

-
-public java.lang.String getSubscriberURI()
-
-
- -
Returns:
URI of the subscriber whom the next application is selected - to serve. - If the top route is external then this returns a null.
-
-
-
- -

-getRoutingRegion

-
-public SipApplicationRoutingRegion getRoutingRegion()
-
-
- -
Returns:
Routing region in which the next application is selected to - serve. If the top route is external then this returns a null.
-
-
-
- -

-getRouteModifier

-
-public SipRouteModifier getRouteModifier()
-
-
- -
Returns:
The enum SipRouteModifier associated with the router info.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRoutingDirective.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRoutingDirective.html deleted file mode 100644 index 4a0810213c..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRoutingDirective.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - -SipApplicationRoutingDirective (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.ar -
-Enum SipApplicationRoutingDirective

-
-java.lang.Object
-  extended by java.lang.Enum<SipApplicationRoutingDirective>
-      extended by javax.servlet.sip.ar.SipApplicationRoutingDirective
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SipApplicationRoutingDirective>
-
-
-
-
public enum SipApplicationRoutingDirective
extends java.lang.Enum<SipApplicationRoutingDirective>
- - -

-Routing directives that an application can select to qualify its actions in some cases. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - -
-Enum Constant Summary
CONTINUE - -
-           
NEW - -
-           
REVERSE - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
-static SipApplicationRoutingDirectivevalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static SipApplicationRoutingDirective[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-NEW

-
-public static final SipApplicationRoutingDirective NEW
-
-
-
-
-
- -

-CONTINUE

-
-public static final SipApplicationRoutingDirective CONTINUE
-
-
-
-
-
- -

-REVERSE

-
-public static final SipApplicationRoutingDirective REVERSE
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final SipApplicationRoutingDirective[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(SipApplicationRoutingDirective c : SipApplicationRoutingDirective.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static SipApplicationRoutingDirective valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRoutingRegion.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRoutingRegion.html deleted file mode 100644 index 5af14187d1..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRoutingRegion.html +++ /dev/null @@ -1,402 +0,0 @@ - - - - - - -SipApplicationRoutingRegion (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.ar -
-Class SipApplicationRoutingRegion

-
-java.lang.Object
-  extended by javax.servlet.sip.ar.SipApplicationRoutingRegion
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class SipApplicationRoutingRegion
extends java.lang.Object
implements java.io.Serializable
- - -

-A class that represents the application routing region. It uses the - predefined regions in the Enum SipApplicationRoutingRegionType and also - allows for implementations to have additional or new regions if it is so - required. This could be useful in non telephony domains where the concept of - of a caller and callee is not applicable. -

- -

-

-
Since:
-
1.1
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - -
-Field Summary
-static SipApplicationRoutingRegionNEUTRAL_REGION - -
-          The NEUTRAL region contains applications that do not service a specific - subscriber.
-static SipApplicationRoutingRegionORIGINATING_REGION - -
-          The ORIGINATING region contains applications that service the caller.
-static SipApplicationRoutingRegionTERMINATING_REGION - -
-          The TERMINATING region contains applications that service the callee.
-  - - - - - - - - - - -
-Constructor Summary
SipApplicationRoutingRegion(java.lang.String label, - SipApplicationRoutingRegionType type) - -
-          Deployer may define new routing region by constructing a new - SipApplicationRoutingRegion object.
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetLabel() - -
-          Each routing region has a String label.
- SipApplicationRoutingRegionTypegetType() - -
-          Each routing region is either ORIGINATING, TERMINATING, or NEUTRAL type.
- java.lang.StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ORIGINATING_REGION

-
-public static final SipApplicationRoutingRegion ORIGINATING_REGION
-
-
The ORIGINATING region contains applications that service the caller. -

-

-
-
-
- -

-TERMINATING_REGION

-
-public static final SipApplicationRoutingRegion TERMINATING_REGION
-
-
The TERMINATING region contains applications that service the callee. -

-

-
-
-
- -

-NEUTRAL_REGION

-
-public static final SipApplicationRoutingRegion NEUTRAL_REGION
-
-
The NEUTRAL region contains applications that do not service a specific - subscriber. -

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-SipApplicationRoutingRegion

-
-public SipApplicationRoutingRegion(java.lang.String label,
-                                   SipApplicationRoutingRegionType type)
-
-
Deployer may define new routing region by constructing a new - SipApplicationRoutingRegion object. The SipApplicationRoutingRegionType - may be null in cases when a custom region is defined. -

-

- - - - - - - - -
-Method Detail
- -

-getLabel

-
-public java.lang.String getLabel()
-
-
Each routing region has a String label. -

-

-
-
-
- -
Returns:
The label of the routing region
-
-
-
- -

-getType

-
-public final SipApplicationRoutingRegionType getType()
-
-
Each routing region is either ORIGINATING, TERMINATING, or NEUTRAL type. -

-

-
-
-
- -
Returns:
The routing region type, a null return indicates a custom region.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-
Overrides:
toString in class java.lang.Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRoutingRegionType.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRoutingRegionType.html deleted file mode 100644 index 4a11603680..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipApplicationRoutingRegionType.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - - -SipApplicationRoutingRegionType (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.ar -
-Enum SipApplicationRoutingRegionType

-
-java.lang.Object
-  extended by java.lang.Enum<SipApplicationRoutingRegionType>
-      extended by javax.servlet.sip.ar.SipApplicationRoutingRegionType
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SipApplicationRoutingRegionType>
-
-
-
-
public enum SipApplicationRoutingRegionType
extends java.lang.Enum<SipApplicationRoutingRegionType>
- - -

-Routing regions used in the application selection process. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - -
-Enum Constant Summary
NEUTRAL - -
-          The NEUTRAL region contains applications that do not service a specific subscriber.
ORIGINATING - -
-          The ORIGINATING region contains applications that service the caller.
TERMINATING - -
-          The TERMINATING region contains applications that service the callee.
-  - - - - - - - - - - - - - - - -
-Method Summary
-static SipApplicationRoutingRegionTypevalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static SipApplicationRoutingRegionType[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-ORIGINATING

-
-public static final SipApplicationRoutingRegionType ORIGINATING
-
-
The ORIGINATING region contains applications that service the caller. -

-

-
-
-
- -

-TERMINATING

-
-public static final SipApplicationRoutingRegionType TERMINATING
-
-
The TERMINATING region contains applications that service the callee. -

-

-
-
-
- -

-NEUTRAL

-
-public static final SipApplicationRoutingRegionType NEUTRAL
-
-
The NEUTRAL region contains applications that do not service a specific subscriber. -

-

-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final SipApplicationRoutingRegionType[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(SipApplicationRoutingRegionType c : SipApplicationRoutingRegionType.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static SipApplicationRoutingRegionType valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipRouteModifier.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipRouteModifier.html deleted file mode 100644 index 330b29ead0..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipRouteModifier.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - - - -SipRouteModifier (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.ar -
-Enum SipRouteModifier

-
-java.lang.Object
-  extended by java.lang.Enum<SipRouteModifier>
-      extended by javax.servlet.sip.ar.SipRouteModifier
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SipRouteModifier>
-
-
-
-
public enum SipRouteModifier
extends java.lang.Enum<SipRouteModifier>
- - -

-Route modifiers as returned by the Application Router, used to interpret the - routes returned from the router. -

- -

-

-
Since:
-
1.1
-
See Also:
SipApplicationRouterInfo.getRouteModifier(), -SipApplicationRouterInfo.getRoutes()
-
- -

- - - - - - - - - - - - - - - - -
-Enum Constant Summary
NO_ROUTE - -
-          Indicates that the value returned by SipApplicationRouterInfo.getRoutes() - does not contain any valid routes and should be ignored.
ROUTE - -
-          Indicates that the routes returned by SipApplicationRouterInfo.getRoutes() - are valid.
ROUTE_BACK - -
-          Tells the container to push a route back to itself - before pusing the external routes specified by - SipApplicationRouterInfo.getRoutes().
-  - - - - - - - - - - - - - - - -
-Method Summary
-static SipRouteModifiervalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static SipRouteModifier[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-ROUTE

-
-public static final SipRouteModifier ROUTE
-
-
Indicates that the routes returned by SipApplicationRouterInfo.getRoutes() - are valid. -

-

-
-
-
- -

-ROUTE_BACK

-
-public static final SipRouteModifier ROUTE_BACK
-
-
Tells the container to push a route back to itself - before pusing the external routes specified by - SipApplicationRouterInfo.getRoutes(). -

-

-
-
-
- -

-NO_ROUTE

-
-public static final SipRouteModifier NO_ROUTE
-
-
Indicates that the value returned by SipApplicationRouterInfo.getRoutes() - does not contain any valid routes and should be ignored. -

-

-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final SipRouteModifier[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(SipRouteModifier c : SipRouteModifier.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static SipRouteModifier valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipTargetedRequestInfo.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipTargetedRequestInfo.html deleted file mode 100644 index c40c923581..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipTargetedRequestInfo.html +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - -SipTargetedRequestInfo (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.ar -
-Class SipTargetedRequestInfo

-
-java.lang.Object
-  extended by javax.servlet.sip.ar.SipTargetedRequestInfo
-
-
-
-
public class SipTargetedRequestInfo
extends java.lang.Object
- - -

-The SipTargetedRequestInfo class encapsulates the information that the - container provides to the application router when the container calls the - SipApplicationRouter.getNextApplication() method and the initial request is a - targeted one. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - -
-Constructor Summary
SipTargetedRequestInfo(SipTargetedRequestType targetedRequestType, - java.lang.String applicationName) - -
-          Creates a SipTargetedRequestInfo object containing information necessary - to help the application router make its application selection decision - when the request is targeted.
-  - - - - - - - - - - - - - - - -
-Method Summary
- java.lang.StringgetApplicationName() - -
-           
- SipTargetedRequestTypegetType() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SipTargetedRequestInfo

-
-public SipTargetedRequestInfo(SipTargetedRequestType targetedRequestType,
-                              java.lang.String applicationName)
-
-
Creates a SipTargetedRequestInfo object containing information necessary - to help the application router make its application selection decision - when the request is targeted. This information includes the type of - targeted request and the name of the targeted application. -

-

-
Parameters:
targetedRequestType - Targeted request type {ENCODED_URI, JOIN, REPLACES}
applicationName - The name of the application targeted by the request.
-
- - - - - - - - -
-Method Detail
- -

-getApplicationName

-
-public java.lang.String getApplicationName()
-
-
- -
Returns:
name of next application selected. - If the route is external then this returns null.
-
-
-
- -

-getType

-
-public SipTargetedRequestType getType()
-
-
- -
Returns:
The type of the targeted request, one of: {JOIN, REPLACES, ENCODED_URI}
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipTargetedRequestType.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipTargetedRequestType.html deleted file mode 100644 index ee91f5e7bd..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/SipTargetedRequestType.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - - -SipTargetedRequestType (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.ar -
-Enum SipTargetedRequestType

-
-java.lang.Object
-  extended by java.lang.Enum<SipTargetedRequestType>
-      extended by javax.servlet.sip.ar.SipTargetedRequestType
-
-
-
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SipTargetedRequestType>
-
-
-
-
public enum SipTargetedRequestType
extends java.lang.Enum<SipTargetedRequestType>
- - -

-Type of targeted request -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - - - - - - -
-Enum Constant Summary
ENCODED_URI - -
-          The request contains a Request-URI that contains an encoded URI
JOIN - -
-          The request contains a Join header (RFC 3911)
REPLACES - -
-          The request contains a Replaces header (RFC 3891)
-  - - - - - - - - - - - - - - - -
-Method Summary
-static SipTargetedRequestTypevalueOf(java.lang.String name) - -
-          Returns the enum constant of this type with the specified name.
-static SipTargetedRequestType[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-JOIN

-
-public static final SipTargetedRequestType JOIN
-
-
The request contains a Join header (RFC 3911) -

-

-
-
-
- -

-REPLACES

-
-public static final SipTargetedRequestType REPLACES
-
-
The request contains a Replaces header (RFC 3891) -

-

-
-
-
- -

-ENCODED_URI

-
-public static final SipTargetedRequestType ENCODED_URI
-
-
The request contains a Request-URI that contains an encoded URI -

-

-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static final SipTargetedRequestType[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're declared. This method may be used to iterate -over the constants as follows: -
-for(SipTargetedRequestType c : SipTargetedRequestType.values())
-        System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they're declared
-
-
-
- -

-valueOf

-
-public static SipTargetedRequestType valueOf(java.lang.String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/package-frame.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/package-frame.html deleted file mode 100644 index 65ab1bf753..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/package-frame.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - -javax.servlet.sip.ar (SIP Servlet API 1.1) - - - - - - - - - - - -javax.servlet.sip.ar - - - - -
-Interfaces  - -
-SipApplicationRouter
- - - - - - -
-Classes  - -
-SipApplicationRouterInfo -
-SipApplicationRoutingRegion -
-SipTargetedRequestInfo
- - - - - - -
-Enums  - -
-SipApplicationRoutingDirective -
-SipApplicationRoutingRegionType -
-SipRouteModifier -
-SipTargetedRequestType
- - - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/package-summary.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/package-summary.html deleted file mode 100644 index e515825706..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/package-summary.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -javax.servlet.sip.ar (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package javax.servlet.sip.ar -

-The javax.servlet.sip.ar package contains Application Router interfaces -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
SipApplicationRouterThis interface class specifies the API between the container and the - application router.
-  - -

- - - - - - - - - - - - - - - - - -
-Class Summary
SipApplicationRouterInfoThe SipApplicationRouterInfo class encapsulates the different pieces of - information that the application router returns to the container when the - container calls the SipApplicationRouter.getNextApplication() method.
SipApplicationRoutingRegionA class that represents the application routing region.
SipTargetedRequestInfoThe SipTargetedRequestInfo class encapsulates the information that the - container provides to the application router when the container calls the - SipApplicationRouter.getNextApplication() method and the initial request is a - targeted one.
-  - -

- - - - - - - - - - - - - - - - - - - - - -
-Enum Summary
SipApplicationRoutingDirectiveRouting directives that an application can select to qualify its actions in some cases.
SipApplicationRoutingRegionTypeRouting regions used in the application selection process.
SipRouteModifierRoute modifiers as returned by the Application Router, used to interpret the - routes returned from the router.
SipTargetedRequestTypeType of targeted request
-  - -

-

-Package javax.servlet.sip.ar Description -

- -

-The javax.servlet.sip.ar package contains Application Router interfaces - -

Related Documentation

- -For a complete specification document on the SIP Servlests please visit the JSR 289 home page - - -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/package-tree.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/package-tree.html deleted file mode 100644 index 75c32c4229..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/package-tree.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -javax.servlet.sip.ar Class Hierarchy (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package javax.servlet.sip.ar -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -

-Enum Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/SipApplicationRouterProvider.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/SipApplicationRouterProvider.html deleted file mode 100644 index 948f8c3f13..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/SipApplicationRouterProvider.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - - -SipApplicationRouterProvider (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -javax.servlet.sip.ar.spi -
-Class SipApplicationRouterProvider

-
-java.lang.Object
-  extended by javax.servlet.sip.ar.spi.SipApplicationRouterProvider
-
-
-
-
public abstract class SipApplicationRouterProvider
extends java.lang.Object
- - -

-This class is used by the SIP Servlet container to load and instanciate the - application router.
- The application router must be packaged in accordance with the rules specified in the - Service Provider - document. Specifically, the jar file containing the application router - implementation must include META-INF/services/javax.servlet.sip.ar.spi.SipApplicationRouterProvider - file. The contents of the file indicate the name of the concrete public subclass - of the SipApplicationRouterProvider class. - The concrete subclass must have a no-arg public constructor.
- As specified by the Service Provider - framework, the providers may be installed by :
-

    -
  1. Including the provider jar in the system classpath
  2. -
  3. Including the provider jar in the extension class path
  4. -
  5. Container-specific means
  6. -
-
- - The example below shows an app router provider implementation - installed in the system classpath (i.e. the first approach from the - three options discussed above).
-
- public class AcmeAppRouter implements SipApplicationRouter {
-  [...]
- }
-
- public class AcmeAppRouterProvider extends SipApplicationRouterProvider {
-   private final AcmeAppRouter appRouter = new AcmeAppRouter();
-   public AcmeAppRouterProvider() {
-   }
-   public SipApplicationRouter getSipApplicationRouter() {
-     return appRouter;
-   }
- }
- 
- The AcmeAppRouter is then packaged in a jar file and prepended to - the system class path. The SIP servlet container can look up the application - router in a manner outlined below.
-
- SipApplicationRouter getSipApplicationRouter() {
-   Iterator ps = Service.providers(SipApplicationRouterProvider.class);
-     while (ps.hasNext()) {
-       SipApplicationRouterProvider p = (SipApplicationRouterProvider)ps.next();
-       return p.getSipApplicationRouter();
-     }
-   return null;
- }
- Since the SIP servlet specification allows for only one application router to be - active at any given time, the container selects the first provider - available in the system classpath.
- Instead of relying on classpath order, the specification also defines a - system property which instructs the container to load a given - provider. The javax.servlet.sip.ar.spi.SipApplicationRouterProvider - system property can be used to override loading behavior and force a specific - provider implementation to be used. For portability reasons, containers - that provide their own deployment mechanism for the application router SHOULD - obey the system property, if specified by the deployer. -

- -

-

-
Since:
-
1.1
-
-
- -

- - - - - - - - - - - -
-Constructor Summary
SipApplicationRouterProvider() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-abstract  SipApplicationRoutergetSipApplicationRouter() - -
-          Retrieve an instance of the application router created by - this provider
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-SipApplicationRouterProvider

-
-public SipApplicationRouterProvider()
-
-
- - - - - - - - -
-Method Detail
- -

-getSipApplicationRouter

-
-public abstract SipApplicationRouter getSipApplicationRouter()
-
-
Retrieve an instance of the application router created by - this provider -

-

- -
Returns:
application router instance
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/package-frame.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/package-frame.html deleted file mode 100644 index 96a43a99d6..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -javax.servlet.sip.ar.spi (SIP Servlet API 1.1) - - - - - - - - - - - -javax.servlet.sip.ar.spi - - - - -
-Classes  - -
-SipApplicationRouterProvider
- - - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/package-summary.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/package-summary.html deleted file mode 100644 index 5b3918c8b2..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/package-summary.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - -javax.servlet.sip.ar.spi (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package javax.servlet.sip.ar.spi -

-The javax.servlet.sip.ar.spi package contains application router service -provider interfaces. -

-See: -
-          Description -

- - - - - - - - - -
-Class Summary
SipApplicationRouterProviderThis class is used by the SIP Servlet container to load and instanciate the - application router.
-  - -

-

-Package javax.servlet.sip.ar.spi Description -

- -

-The javax.servlet.sip.ar.spi package contains application router service -provider interfaces. These interfaces define the deployment contract between the SIP application -server and the application router implementation - -

Related Documentation

- -For a complete specification document on the SIP Servlests please visit the JSR 289 home page - - -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/package-tree.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/package-tree.html deleted file mode 100644 index 015ea95c02..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/ar/spi/package-tree.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -javax.servlet.sip.ar.spi Class Hierarchy (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package javax.servlet.sip.ar.spi -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/package-frame.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/package-frame.html deleted file mode 100644 index 006cfca84a..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/package-frame.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -javax.servlet.sip (SIP Servlet API 1.1) - - - - - - - - - - - -javax.servlet.sip - - - - -
-Interfaces  - -
-Address -
-AuthInfo -
-B2buaHelper -
-ConvergedHttpSession -
-Parameterable -
-Proxy -
-ProxyBranch -
-ServletTimer -
-SipApplicationSession -
-SipApplicationSessionActivationListener -
-SipApplicationSessionAttributeListener -
-SipApplicationSessionBindingListener -
-SipApplicationSessionListener -
-SipErrorListener -
-SipFactory -
-SipServletListener -
-SipServletMessage -
-SipServletRequest -
-SipServletResponse -
-SipSession -
-SipSessionActivationListener -
-SipSessionAttributeListener -
-SipSessionBindingListener -
-SipSessionListener -
-SipSessionsUtil -
-SipURI -
-TelURL -
-TimerListener -
-TimerService -
-URI
- - - - - - -
-Classes  - -
-SipApplicationSessionBindingEvent -
-SipApplicationSessionEvent -
-SipErrorEvent -
-SipServlet -
-SipServletContextEvent -
-SipSessionBindingEvent -
-SipSessionEvent
- - - - - - -
-Enums  - -
-SipApplicationSession.Protocol -
-SipServletMessage.HeaderForm -
-SipSession.State -
-UAMode
- - - - - - -
-Exceptions  - -
-Rel100Exception -
-ServletParseException -
-TooManyHopsException
- - - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/package-summary.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/package-summary.html deleted file mode 100644 index 9c0f858b0e..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/package-summary.html +++ /dev/null @@ -1,418 +0,0 @@ - - - - - - -javax.servlet.sip (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package javax.servlet.sip -

-The javax.servlet.sip package is the API for the SIP Servlets developed under JSR 289, this v1.1 version obsoletes v1.0. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
AddressRepresents SIP addresses as found, for example, in From, To, and - Contact headers.
AuthInfoThis interface allows applications to set the authentication information on servlet - initiated requests that are challenged by a Proxy or UAS.
B2buaHelperHelper class providing support for B2BUA applications.
ConvergedHttpSessionThe ConvergedHttpSession class provides access to HttpSession related - functionality which is only present in a converged HTTP/SIP container.
ParameterableThe Parameterable interface is used to indicate a SIP header - field value with optional parameters.
ProxyRepresents the operation of proxying a SIP request.
ProxyBranchA ProxyBranch represents a branch which the Proxy sends out the - request on.
ServletTimerCreated by the TimerService for servlet applications - wishing to schedule future tasks.
SipApplicationSessionRepresents application instances.
SipApplicationSessionActivationListenerObjects that are bound to a SipApplicationSession may listen to container events - notifying them when the application session to which they are bound will be passivated or - activated.
SipApplicationSessionAttributeListenerThis listener interface can be implemented in order to get - notifications of changes to the attribute lists of application sessions.
SipApplicationSessionBindingListenerCauses an object to be notified when it is bound to or unbound from - a SipApplicationSession.
SipApplicationSessionListenerImplementations of this interface can receive notifications about - invalidated and/or activated SipApplicationSession objects - in the SIP application they are part of.
SipErrorListenerCauses applications to be notified of various error conditions - occurring during regular SIP transaction processing.
SipFactoryFactory interface for a variety of SIP Servlet API abstractions.
SipServletListenerContainers are required to invoke init() on the servlets before - the servlets are ready for service.
SipServletMessageDefines common aspects of SIP requests and responses.
SipServletRequestRepresents SIP request messages.
SipServletResponseRepresents SIP responses.
SipSessionRepresents point-to-point SIP relationships.
SipSessionActivationListenerObjects that are bound to a session may listen to container events - notifying them that sessions will be passivated and that session - will be activated.
SipSessionAttributeListenerThis listener interface can be implemented in order to get - notifications of changes to the attribute lists of sessions - within this SIP servlet application.
SipSessionBindingListenerCauses an object to be notified when it is bound to or unbound from - a SipSession.
SipSessionListenerImplementations of this interface are notified of changes to the list - of active SipSessions in a SIP servlet application.
SipSessionsUtilA utility class providing additional support for - converged HTTP/SIP applications and converged Java EE / SIP applications.
SipURIRepresents sip and sips URIs.
TelURLRepresents tel URLs as defined by RFC 3966.
TimerListenerListener interface implemented by SIP servlet applications using timers.
TimerServiceAllows SIP servlet applications to set timers in order to receive - notifications on timer expiration.
URIBase interface for any type of URI.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
SipApplicationSessionBindingEventEvents of this type are either sent to an object that implements - SipApplicationSessionBindingListener when it is bound or unbound from an - application session, or to a SipApplicationSessionAttributeListener that has been - configured in the deployment descriptor when any attribute is bound, - unbound or replaced in an application session.
SipApplicationSessionEventThis is the class representing event notifications for changes to - SipApplicationSessions within a SIP servlet application.
SipErrorEventEvents of this type are sent to objects implementing the - SipErrorListener interface when an error occurs which - is related to the applications processing of a SIP transaction.
SipServletProvides an abstract class to be subclassed to create a SIP servlet.
SipServletContextEventSIP Servlet specific context event.
SipSessionBindingEventEvents of this type are either sent to an object that implements - SipSessionBindingListener when it is bound or unbound from a - session, or to a SipSessionAttributeListener that has been - configured in the deployment descriptor when any attribute is bound, - unbound or replaced in a session.
SipSessionEventThis is the class representing event notifications for changes to - SipSessions within a SIP servlet application.
-  - -

- - - - - - - - - - - - - - - - - - - - - -
-Enum Summary
SipApplicationSession.ProtocolPossible protocols to which sessions contained in the - SipApplicationSession belong to.
SipServletMessage.HeaderFormType header forms.
SipSession.StatePossible SIP dialog states from SipSession FSM.
UAModeUser Agent modes, UAC (client) or UAS (server)
-  - -

- - - - - - - - - - - - - - - - - -
-Exception Summary
Rel100ExceptionIndicates that a provisional response cannot be sent reliably or PRACK was - attempted to be created on a non reliable provisional response.
ServletParseExceptionThrown by the container when an application attempts to parse - a malformed header or addressing structure.
TooManyHopsExceptionThrown when a SIP Servlet application attempts to obtain a - Proxy object for a request with a Max-Forwards - header with value 0.
-  - -

-

-Package javax.servlet.sip Description -

- -

-The javax.servlet.sip package is the API for the SIP Servlets developed under JSR 289, this v1.1 version obsoletes v1.0. - -The Session Initiation Protocol (SIP) is used to establish, modify, and tear down IP multimedia sessions including IP telephony, presence, instant messaging besides other SIP applications . An important aspect of any communication infrastructure is programmability and the purpose of the SIP Servlet API is to standardize the platform for delivering SIP based services. SIP Servlet API is based on the Servlet API and model. This API is parallel to the HTTP Servlet API. - - - -

Related Documentation

- -For a complete specification document on the SIP Servlests please visit the JSR 289 home page - - -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/javax/servlet/sip/package-tree.html b/build/jsr289-apidocs/javadocs/javax/servlet/sip/package-tree.html deleted file mode 100644 index 49641dbaf5..0000000000 --- a/build/jsr289-apidocs/javadocs/javax/servlet/sip/package-tree.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -javax.servlet.sip Class Hierarchy (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package javax.servlet.sip -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -

-Enum Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/overview-frame.html b/build/jsr289-apidocs/javadocs/overview-frame.html deleted file mode 100644 index bf19b13cf9..0000000000 --- a/build/jsr289-apidocs/javadocs/overview-frame.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - -Overview (SIP Servlet API 1.1) - - - - - - - - - - - - - - - -
-
- - - - - -
All Classes -

- -Packages -
-javax.servlet.sip -
-javax.servlet.sip.annotation -
-javax.servlet.sip.ar -
-javax.servlet.sip.ar.spi -
-

- -

-  - - diff --git a/build/jsr289-apidocs/javadocs/overview-summary.html b/build/jsr289-apidocs/javadocs/overview-summary.html deleted file mode 100644 index f05bcb063e..0000000000 --- a/build/jsr289-apidocs/javadocs/overview-summary.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - -Overview (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -


-
-

-Java SIP Servlet API 1.1 Reference -

-
- - - - - - - - - - - - - - - - - - - - - -
-Packages
javax.servlet.sipThe javax.servlet.sip package is the API for the SIP Servlets developed under JSR 289, this v1.1 version obsoletes v1.0.
javax.servlet.sip.annotationThe javax.servlet.sip.annotation package contains SIP Servlet annotation definitions
javax.servlet.sip.arThe javax.servlet.sip.ar package contains Application Router interfaces
javax.servlet.sip.ar.spiThe javax.servlet.sip.ar.spi package contains application router service -provider interfaces.
- -


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/overview-tree.html b/build/jsr289-apidocs/javadocs/overview-tree.html deleted file mode 100644 index 7f9b68e2b2..0000000000 --- a/build/jsr289-apidocs/javadocs/overview-tree.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -Class Hierarchy (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
javax.servlet.sip, javax.servlet.sip.annotation, javax.servlet.sip.ar, javax.servlet.sip.ar.spi
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -

-Annotation Type Hierarchy -

-
    -
  • javax.servlet.sip.annotation.SipApplication (implements java.lang.annotation.Annotation) -
  • javax.servlet.sip.annotation.SipApplicationKey (implements java.lang.annotation.Annotation) -
  • javax.servlet.sip.annotation.SipListener (implements java.lang.annotation.Annotation) -
  • javax.servlet.sip.annotation.SipServlet (implements java.lang.annotation.Annotation) -
-

-Enum Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/package-list b/build/jsr289-apidocs/javadocs/package-list deleted file mode 100644 index a3385d1dcc..0000000000 --- a/build/jsr289-apidocs/javadocs/package-list +++ /dev/null @@ -1,4 +0,0 @@ -javax.servlet.sip -javax.servlet.sip.annotation -javax.servlet.sip.ar -javax.servlet.sip.ar.spi diff --git a/build/jsr289-apidocs/javadocs/resources/inherit.gif b/build/jsr289-apidocs/javadocs/resources/inherit.gif deleted file mode 100644 index c814867a13..0000000000 Binary files a/build/jsr289-apidocs/javadocs/resources/inherit.gif and /dev/null differ diff --git a/build/jsr289-apidocs/javadocs/serialized-form.html b/build/jsr289-apidocs/javadocs/serialized-form.html deleted file mode 100644 index 4a87960aa5..0000000000 --- a/build/jsr289-apidocs/javadocs/serialized-form.html +++ /dev/null @@ -1,398 +0,0 @@ - - - - - - -Serialized Form (SIP Servlet API 1.1) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Serialized Form

-
-
- - - - - -
-Package javax.servlet.sip
- -

- - - - - -
-Class javax.servlet.sip.Rel100Exception extends javax.servlet.ServletException implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-reason

-
-int reason
-
-
The reason code. -

-

-
-
- -

- - - - - -
-Class javax.servlet.sip.ServletParseException extends javax.servlet.ServletException implements Serializable
- -

- -

- - - - - -
-Class javax.servlet.sip.SipApplicationSessionBindingEvent extends java.util.EventObject implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-name

-
-java.lang.String name
-
-
The name that the Object is being bound to or unbound from. -

-

-
-
- -

- - - - - -
-Class javax.servlet.sip.SipApplicationSessionEvent extends java.util.EventObject implements Serializable
- -

- -

- - - - - -
-Class javax.servlet.sip.SipErrorEvent extends java.util.EventObject implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-request

-
-SipServletRequest request
-
-
-
-
-
-

-response

-
-SipServletResponse response
-
-
-
-
- -

- - - - - -
-Class javax.servlet.sip.SipServlet extends javax.servlet.GenericServlet implements Serializable
- -

- -

- - - - - -
-Class javax.servlet.sip.SipServletContextEvent extends javax.servlet.ServletContextEvent implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-servlet

-
-SipServlet servlet
-
-
-
-
- -

- - - - - -
-Class javax.servlet.sip.SipSessionBindingEvent extends java.util.EventObject implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-name

-
-java.lang.String name
-
-
The name that the Object is being bound to or unbound from. -

-

-
-
- -

- - - - - -
-Class javax.servlet.sip.SipSessionEvent extends java.util.EventObject implements Serializable
- -

- -

- - - - - -
-Class javax.servlet.sip.TooManyHopsException extends javax.servlet.ServletException implements Serializable
- -

-


- - - - - -
-Package javax.servlet.sip.ar
- -

- - - - - -
-Class javax.servlet.sip.ar.SipApplicationRoutingRegion extends java.lang.Object implements Serializable
- -

-serialVersionUID: -7233928008846863057L - -

- - - - - -
-Serialized Fields
- -

-type

-
-SipApplicationRoutingRegionType type
-
-
-
-
-
-

-label

-
-java.lang.String label
-
-
-
-
- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/build/jsr289-apidocs/javadocs/stylesheet.css b/build/jsr289-apidocs/javadocs/stylesheet.css deleted file mode 100644 index 6d31fdbc7f..0000000000 --- a/build/jsr289-apidocs/javadocs/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Headings */ -h1 { font-size: 145% } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -.TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} - diff --git a/containers/sip-servlets-as10-drop-in/build-restcomm-modules/pom.xml b/containers/sip-servlets-as10-drop-in/build-restcomm-modules/pom.xml index f1a9b57a75..cce6234347 100644 --- a/containers/sip-servlets-as10-drop-in/build-restcomm-modules/pom.xml +++ b/containers/sip-servlets-as10-drop-in/build-restcomm-modules/pom.xml @@ -28,7 +28,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../../pom.xml diff --git a/containers/sip-servlets-as10-drop-in/jboss-as-restcomm/pom.xml b/containers/sip-servlets-as10-drop-in/jboss-as-restcomm/pom.xml index 0db852f2e9..400dc5723e 100644 --- a/containers/sip-servlets-as10-drop-in/jboss-as-restcomm/pom.xml +++ b/containers/sip-servlets-as10-drop-in/jboss-as-restcomm/pom.xml @@ -27,7 +27,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../../pom.xml diff --git a/containers/sip-servlets-as10/pom.xml b/containers/sip-servlets-as10/pom.xml index d1172ffcce..4042cf5bd3 100644 --- a/containers/sip-servlets-as10/pom.xml +++ b/containers/sip-servlets-as10/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../pom.xml org.mobicents.servlet.sip.containers @@ -76,17 +76,17 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-impl - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 javax.sip diff --git a/containers/sip-servlets-as7-drop-in/build-restcomm-modules/pom.xml b/containers/sip-servlets-as7-drop-in/build-restcomm-modules/pom.xml index 4cb399559a..afc2ac739c 100644 --- a/containers/sip-servlets-as7-drop-in/build-restcomm-modules/pom.xml +++ b/containers/sip-servlets-as7-drop-in/build-restcomm-modules/pom.xml @@ -28,7 +28,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../../pom.xml diff --git a/containers/sip-servlets-as7-drop-in/jboss-as-mobicents/pom.xml b/containers/sip-servlets-as7-drop-in/jboss-as-mobicents/pom.xml index 929391cb6c..25733839b9 100644 --- a/containers/sip-servlets-as7-drop-in/jboss-as-mobicents/pom.xml +++ b/containers/sip-servlets-as7-drop-in/jboss-as-mobicents/pom.xml @@ -27,7 +27,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../../pom.xml diff --git a/containers/sip-servlets-as7/pom.xml b/containers/sip-servlets-as7/pom.xml index 6d8dd5f5ce..2f090cc2ac 100644 --- a/containers/sip-servlets-as7/pom.xml +++ b/containers/sip-servlets-as7/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../pom.xml org.mobicents.servlet.sip.containers @@ -51,17 +51,17 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-impl - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 javax.sip diff --git a/containers/sip-servlets-as8-drop-in/build-restcomm-modules/pom.xml b/containers/sip-servlets-as8-drop-in/build-restcomm-modules/pom.xml index 87fd79d7aa..3863f79b20 100644 --- a/containers/sip-servlets-as8-drop-in/build-restcomm-modules/pom.xml +++ b/containers/sip-servlets-as8-drop-in/build-restcomm-modules/pom.xml @@ -28,7 +28,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../../pom.xml diff --git a/containers/sip-servlets-as8-drop-in/jboss-as-restcomm/pom.xml b/containers/sip-servlets-as8-drop-in/jboss-as-restcomm/pom.xml index 60e24b8535..53338e2541 100644 --- a/containers/sip-servlets-as8-drop-in/jboss-as-restcomm/pom.xml +++ b/containers/sip-servlets-as8-drop-in/jboss-as-restcomm/pom.xml @@ -27,7 +27,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../../pom.xml diff --git a/containers/sip-servlets-as8/pom.xml b/containers/sip-servlets-as8/pom.xml index b3bec2b33b..ab8f380f13 100644 --- a/containers/sip-servlets-as8/pom.xml +++ b/containers/sip-servlets-as8/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../pom.xml org.mobicents.servlet.sip.containers @@ -67,17 +67,17 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-impl - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 javax.sip diff --git a/containers/sip-servlets-catalina-7/pom.xml b/containers/sip-servlets-catalina-7/pom.xml index 98e26ab216..4d28781e15 100644 --- a/containers/sip-servlets-catalina-7/pom.xml +++ b/containers/sip-servlets-catalina-7/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../pom.xml org.mobicents.servlet.sip.containers @@ -16,17 +16,17 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-impl - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 javax.sip diff --git a/containers/sip-servlets-catalina-8/pom.xml b/containers/sip-servlets-catalina-8/pom.xml index e6014e4fc6..16ccfe89c2 100644 --- a/containers/sip-servlets-catalina-8/pom.xml +++ b/containers/sip-servlets-catalina-8/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../pom.xml org.mobicents.servlet.sip.containers @@ -16,17 +16,17 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-impl - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 javax.sip diff --git a/containers/tomcat-7/pom.xml b/containers/tomcat-7/pom.xml index 75463f3c78..a9c7b67b16 100644 --- a/containers/tomcat-7/pom.xml +++ b/containers/tomcat-7/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../pom.xml org.mobicents.servlet.sip.containers @@ -29,48 +29,48 @@ org.mobicents.servlet.sip sip-servlets-impl - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-annotations - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-jruby - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-client - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip.containers sip-servlets-catalina-7 - 3.0.0-SNAPSHOT + 3.2.0-89 provided diff --git a/containers/tomcat-8/pom.xml b/containers/tomcat-8/pom.xml index 5e21fd9d5c..a7315c237d 100644 --- a/containers/tomcat-8/pom.xml +++ b/containers/tomcat-8/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../pom.xml org.mobicents.servlet.sip.containers @@ -29,48 +29,48 @@ org.mobicents.servlet.sip sip-servlets-impl - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-annotations - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-jruby - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-client - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip.containers sip-servlets-catalina-8 - 3.0.0-SNAPSHOT + 3.2.0-89 provided diff --git a/docs/pom.xml b/docs/pom.xml index 7eaf53ce8a..d66a16e08f 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -6,7 +6,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip.docs sip-servlets-docs diff --git a/docs/sources-asciidoc/pom.xml b/docs/sources-asciidoc/pom.xml index 4ea9e8b0c2..b89eca8d0c 100644 --- a/docs/sources-asciidoc/pom.xml +++ b/docs/sources-asciidoc/pom.xml @@ -6,7 +6,7 @@ org.mobicents.servlet.sip.docs sip-servlets-docs - 3.0.0-SNAPSHOT + 3.2.0-89 sip-servlets-asciidoc-sources @@ -19,11 +19,11 @@ 20MB TeleStax, Inc. UTF-8 - 1.5.3 - 1.5.0-alpha.11 + 1.5.5 + 1.5.0-alpha.15 1.5.0 - 1.5.4 - 1.7.21 + 1.5.5 + 1.7.26 diff --git a/management/sip-servlets-management/pom.xml b/management/sip-servlets-management/pom.xml index 37d39f7510..6c15067b0d 100644 --- a/management/sip-servlets-management/pom.xml +++ b/management/sip-servlets-management/pom.xml @@ -4,7 +4,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../../pom.xml diff --git a/pom.xml b/pom.xml index 5bc86d5ca9..4b5f287f21 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 pom Restcomm Sip Servlets @@ -89,7 +89,7 @@ 1.0.0.FINAL - 1.3.0-25 + 1.3.0-32 1.15.26 2.0.41 1.5.43 diff --git a/sip-servlets-annotations/pom.xml b/sip-servlets-annotations/pom.xml index 071a66e4cf..8187801fc6 100644 --- a/sip-servlets-annotations/pom.xml +++ b/sip-servlets-annotations/pom.xml @@ -3,12 +3,12 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml org.mobicents.servlet.sip sip-servlets-annotations - 3.0.0-SNAPSHOT + 3.2.0-89 jar Sip Servlets Specific Annotations https://github.com/RestComm/sip-servlets diff --git a/sip-servlets-application-router/pom.xml b/sip-servlets-application-router/pom.xml index a27d29801b..b7dd8e0d96 100644 --- a/sip-servlets-application-router/pom.xml +++ b/sip-servlets-application-router/pom.xml @@ -3,12 +3,12 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml org.mobicents.servlet.sip sip-servlets-application-router - 3.0.0-SNAPSHOT + 3.2.0-89 jar Sip Servlets Default Application Router https://github.com/RestComm/sip-servlets @@ -17,14 +17,14 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 diff --git a/sip-servlets-client/pom.xml b/sip-servlets-client/pom.xml index 1a154c03ed..9aa98cef9f 100644 --- a/sip-servlets-client/pom.xml +++ b/sip-servlets-client/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml sip-servlets-client @@ -15,7 +15,7 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 diff --git a/sip-servlets-core-api/pom.xml b/sip-servlets-core-api/pom.xml index 86bc334352..b6339091d3 100644 --- a/sip-servlets-core-api/pom.xml +++ b/sip-servlets-core-api/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml sip-servlets-core-api @@ -15,22 +15,22 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-jruby - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-client - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-annotations - 3.0.0-SNAPSHOT + 3.2.0-89 diff --git a/sip-servlets-examples/alerting-app/pom.xml b/sip-servlets-examples/alerting-app/pom.xml index ed5c0472a1..62a2a5ea29 100644 --- a/sip-servlets-examples/alerting-app/pom.xml +++ b/sip-servlets-examples/alerting-app/pom.xml @@ -4,7 +4,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml alerting-app-parent diff --git a/sip-servlets-examples/alerting-app/sip-servlets/pom.xml b/sip-servlets-examples/alerting-app/sip-servlets/pom.xml index 7e61dd2a69..e7b3839a6e 100644 --- a/sip-servlets-examples/alerting-app/sip-servlets/pom.xml +++ b/sip-servlets-examples/alerting-app/sip-servlets/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples alerting-app-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml alerting-app diff --git a/sip-servlets-examples/call-blocking/pom.xml b/sip-servlets-examples/call-blocking/pom.xml index fdd0f14c37..9f038062ec 100644 --- a/sip-servlets-examples/call-blocking/pom.xml +++ b/sip-servlets-examples/call-blocking/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml call-blocking diff --git a/sip-servlets-examples/call-forwarding-distributable/pom.xml b/sip-servlets-examples/call-forwarding-distributable/pom.xml index 08a543cf75..7b4db88333 100644 --- a/sip-servlets-examples/call-forwarding-distributable/pom.xml +++ b/sip-servlets-examples/call-forwarding-distributable/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml call-forwarding-distributable diff --git a/sip-servlets-examples/call-forwarding/pom.xml b/sip-servlets-examples/call-forwarding/pom.xml index 98a9baa96e..ce629fd0d4 100644 --- a/sip-servlets-examples/call-forwarding/pom.xml +++ b/sip-servlets-examples/call-forwarding/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml call-forwarding diff --git a/sip-servlets-examples/chatserver/pom.xml b/sip-servlets-examples/chatserver/pom.xml index b9d4b1e40b..b7088e627d 100644 --- a/sip-servlets-examples/chatserver/pom.xml +++ b/sip-servlets-examples/chatserver/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml chatroom-servlet diff --git a/sip-servlets-examples/click-to-call-servlet3/pom.xml b/sip-servlets-examples/click-to-call-servlet3/pom.xml index fd3cb5c10f..1bba126414 100644 --- a/sip-servlets-examples/click-to-call-servlet3/pom.xml +++ b/sip-servlets-examples/click-to-call-servlet3/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml click-to-call-servlet3.0 diff --git a/sip-servlets-examples/click-to-call/pom.xml b/sip-servlets-examples/click-to-call/pom.xml index f5d9d79fa7..9ed067473b 100644 --- a/sip-servlets-examples/click-to-call/pom.xml +++ b/sip-servlets-examples/click-to-call/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml click-to-call-servlet diff --git a/sip-servlets-examples/click2call-distributable/pom.xml b/sip-servlets-examples/click2call-distributable/pom.xml index d98a9faa48..0e017e1d2c 100644 --- a/sip-servlets-examples/click2call-distributable/pom.xml +++ b/sip-servlets-examples/click2call-distributable/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml click2call-distributable diff --git a/sip-servlets-examples/conference-demo-jsr309/pom.xml b/sip-servlets-examples/conference-demo-jsr309/pom.xml index bb6334992a..0f4b0a63e5 100644 --- a/sip-servlets-examples/conference-demo-jsr309/pom.xml +++ b/sip-servlets-examples/conference-demo-jsr309/pom.xml @@ -5,7 +5,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml 4.0.0 diff --git a/sip-servlets-examples/custom-call-forwarding-distributable/pom.xml b/sip-servlets-examples/custom-call-forwarding-distributable/pom.xml index acdb5ddc46..9f91993ed0 100644 --- a/sip-servlets-examples/custom-call-forwarding-distributable/pom.xml +++ b/sip-servlets-examples/custom-call-forwarding-distributable/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml custom-call-forwarding-distributable diff --git a/sip-servlets-examples/diameter-event-charging/pom.xml b/sip-servlets-examples/diameter-event-charging/pom.xml index ec6cdb1996..4b331fa30e 100644 --- a/sip-servlets-examples/diameter-event-charging/pom.xml +++ b/sip-servlets-examples/diameter-event-charging/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml diameter-event-charging diff --git a/sip-servlets-examples/diameter-openims/pom.xml b/sip-servlets-examples/diameter-openims/pom.xml index c1d30de4e8..dbf032904f 100644 --- a/sip-servlets-examples/diameter-openims/pom.xml +++ b/sip-servlets-examples/diameter-openims/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml diff --git a/sip-servlets-examples/diameter-ro-rf/pom.xml b/sip-servlets-examples/diameter-ro-rf/pom.xml index ec61d38f1d..f0b52334fb 100644 --- a/sip-servlets-examples/diameter-ro-rf/pom.xml +++ b/sip-servlets-examples/diameter-ro-rf/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml diameter-ro-rf diff --git a/sip-servlets-examples/location-service-distributable/pom.xml b/sip-servlets-examples/location-service-distributable/pom.xml index 295c57bba1..f6f72a2afb 100644 --- a/sip-servlets-examples/location-service-distributable/pom.xml +++ b/sip-servlets-examples/location-service-distributable/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml location-service-distributable diff --git a/sip-servlets-examples/location-service/pom.xml b/sip-servlets-examples/location-service/pom.xml index 50a6581898..6159a1af97 100644 --- a/sip-servlets-examples/location-service/pom.xml +++ b/sip-servlets-examples/location-service/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml location-service diff --git a/sip-servlets-examples/media-jsr309-servlet/pom.xml b/sip-servlets-examples/media-jsr309-servlet/pom.xml index afd98f3392..64d3c02b7c 100644 --- a/sip-servlets-examples/media-jsr309-servlet/pom.xml +++ b/sip-servlets-examples/media-jsr309-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml diff --git a/sip-servlets-examples/pom.xml b/sip-servlets-examples/pom.xml index 8b26a3d91f..508298f7e1 100644 --- a/sip-servlets-examples/pom.xml +++ b/sip-servlets-examples/pom.xml @@ -3,12 +3,12 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 pom Mobicents Sip Servlet Examples http://www.mobicents.org/examples.html @@ -84,13 +84,13 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-client - 3.0.0-SNAPSHOT + 3.2.0-89 provided diff --git a/sip-servlets-examples/shootist-sip-servlet-distributable/pom.xml b/sip-servlets-examples/shootist-sip-servlet-distributable/pom.xml index 47027f3376..9704c42655 100644 --- a/sip-servlets-examples/shootist-sip-servlet-distributable/pom.xml +++ b/sip-servlets-examples/shootist-sip-servlet-distributable/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml shootist-sip-servlet-distributable diff --git a/sip-servlets-examples/shootist-sip-servlet/pom.xml b/sip-servlets-examples/shootist-sip-servlet/pom.xml index 34094ea814..f93891bfa0 100644 --- a/sip-servlets-examples/shootist-sip-servlet/pom.xml +++ b/sip-servlets-examples/shootist-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml shootist-sip-servlet diff --git a/sip-servlets-examples/simple-sip-servlet-distributable/pom.xml b/sip-servlets-examples/simple-sip-servlet-distributable/pom.xml index a66c3dc1ea..21b19e20f2 100644 --- a/sip-servlets-examples/simple-sip-servlet-distributable/pom.xml +++ b/sip-servlets-examples/simple-sip-servlet-distributable/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml simple-sip-servlet-distributable @@ -15,7 +15,7 @@ org.mobicents.servlet.sip sip-servlets-client - 3.0.0-SNAPSHOT + 3.2.0-89 provided diff --git a/sip-servlets-examples/simple-sip-servlet/pom.xml b/sip-servlets-examples/simple-sip-servlet/pom.xml index 314e3fa0b9..bf493e93ed 100644 --- a/sip-servlets-examples/simple-sip-servlet/pom.xml +++ b/sip-servlets-examples/simple-sip-servlet/pom.xml @@ -3,13 +3,13 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml org.mobicents.servlet.sip.examples simple-sip-servlet war - 3.0.0-SNAPSHOT + 3.2.0-89 Simple Sip Servlet Example http://www.mobicents.org/examples.html diff --git a/sip-servlets-examples/speed-dial/pom.xml b/sip-servlets-examples/speed-dial/pom.xml index 4d8e923690..f540439464 100644 --- a/sip-servlets-examples/speed-dial/pom.xml +++ b/sip-servlets-examples/speed-dial/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml speed-dial diff --git a/sip-servlets-examples/uac-register/pom.xml b/sip-servlets-examples/uac-register/pom.xml index 00d33d6cb0..ff2c2fbca6 100644 --- a/sip-servlets-examples/uac-register/pom.xml +++ b/sip-servlets-examples/uac-register/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml uac-register diff --git a/sip-servlets-examples/websocket-b2bua/pom.xml b/sip-servlets-examples/websocket-b2bua/pom.xml index 384b5f599f..343b580086 100644 --- a/sip-servlets-examples/websocket-b2bua/pom.xml +++ b/sip-servlets-examples/websocket-b2bua/pom.xml @@ -3,13 +3,13 @@ org.mobicents.servlet.sip.examples sip-servlets-examples-parent - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml org.mobicents.servlet.sip.examples websockets-sip-servlet war - 3.0.0-SNAPSHOT + 3.2.0-89 Websockets Example http://www.mobicents.org/examples.html diff --git a/sip-servlets-impl/pom.xml b/sip-servlets-impl/pom.xml index 15d64ddca1..df18295587 100644 --- a/sip-servlets-impl/pom.xml +++ b/sip-servlets-impl/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml sip-servlets-impl @@ -23,31 +23,31 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-annotations - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-client - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-jruby - 3.0.0-SNAPSHOT + 3.2.0-89 diff --git a/sip-servlets-jruby/pom.xml b/sip-servlets-jruby/pom.xml index ac111f0d72..4643b2a711 100644 --- a/sip-servlets-jruby/pom.xml +++ b/sip-servlets-jruby/pom.xml @@ -3,12 +3,12 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml org.mobicents.servlet.sip sip-servlets-jruby - 3.0.0-SNAPSHOT + 3.2.0-89 jar Sip Servlets JRuby Integration https://github.com/RestComm/sip-servlets @@ -19,7 +19,7 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 provided diff --git a/sip-servlets-spec/pom.xml b/sip-servlets-spec/pom.xml index b5f27cb327..5af38aaef8 100644 --- a/sip-servlets-spec/pom.xml +++ b/sip-servlets-spec/pom.xml @@ -3,12 +3,12 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 jar Sip Servlets Specification Implementation https://github.com/RestComm/sip-servlets diff --git a/sip-servlets-test-suite/applications/annotated-servlet/pom.xml b/sip-servlets-test-suite/applications/annotated-servlet/pom.xml index 7b9333956e..c0681de9e0 100644 --- a/sip-servlets-test-suite/applications/annotated-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/annotated-servlet/pom.xml @@ -3,11 +3,11 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 annotated-servlet war - 3.0.0-SNAPSHOT + 3.2.0-89 Annoatated Sip Servlet Example diff --git a/sip-servlets-test-suite/applications/appkey-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/appkey-sip-servlet/pom.xml index 0966153460..7e9fe1adf4 100644 --- a/sip-servlets-test-suite/applications/appkey-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/appkey-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 appkey-sip-servlet war diff --git a/sip-servlets-test-suite/applications/b2bua-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/b2bua-sip-servlet/pom.xml index d9ff2b7d15..e11b99cdd0 100644 --- a/sip-servlets-test-suite/applications/b2bua-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/b2bua-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 b2bua-sip-servlet war diff --git a/sip-servlets-test-suite/applications/call-blocking-servlet/pom.xml b/sip-servlets-test-suite/applications/call-blocking-servlet/pom.xml index e550935b1b..04b71c69fc 100644 --- a/sip-servlets-test-suite/applications/call-blocking-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/call-blocking-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 call-blocking-servlet war diff --git a/sip-servlets-test-suite/applications/call-forwarding-b2bua-servlet/pom.xml b/sip-servlets-test-suite/applications/call-forwarding-b2bua-servlet/pom.xml index 8de49822f6..4eea1ca486 100644 --- a/sip-servlets-test-suite/applications/call-forwarding-b2bua-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/call-forwarding-b2bua-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 call-forwarding-b2bua-servlet war diff --git a/sip-servlets-test-suite/applications/call-forwarding-servlet/pom.xml b/sip-servlets-test-suite/applications/call-forwarding-servlet/pom.xml index d63f4a91fd..d0a1426f8b 100644 --- a/sip-servlets-test-suite/applications/call-forwarding-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/call-forwarding-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 call-forwarding-servlet war diff --git a/sip-servlets-test-suite/applications/chatroom-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/chatroom-sip-servlet/pom.xml index 300895dfa3..5fe2889263 100644 --- a/sip-servlets-test-suite/applications/chatroom-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/chatroom-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 chatroom-sip-servlet war diff --git a/sip-servlets-test-suite/applications/click-to-call-servlet/pom.xml b/sip-servlets-test-suite/applications/click-to-call-servlet/pom.xml index fc8aac5c38..8dcbf8f162 100644 --- a/sip-servlets-test-suite/applications/click-to-call-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/click-to-call-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 click-to-call-servlet war diff --git a/sip-servlets-test-suite/applications/dispatcher-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/dispatcher-sip-servlet/pom.xml index 89de2ab8ed..dbac12755e 100644 --- a/sip-servlets-test-suite/applications/dispatcher-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/dispatcher-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 dispatcher-sip-servlet war diff --git a/sip-servlets-test-suite/applications/distributable-servlet/pom.xml b/sip-servlets-test-suite/applications/distributable-servlet/pom.xml index 18e4d28563..d042f519aa 100644 --- a/sip-servlets-test-suite/applications/distributable-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/distributable-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 distributable-servlet war diff --git a/sip-servlets-test-suite/applications/handler-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/handler-sip-servlet/pom.xml index 2fc2e7235d..07a5a10566 100644 --- a/sip-servlets-test-suite/applications/handler-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/handler-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 handler-sip-servlet war diff --git a/sip-servlets-test-suite/applications/join-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/join-sip-servlet/pom.xml index f72a71b578..d57899693d 100644 --- a/sip-servlets-test-suite/applications/join-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/join-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 join-sip-servlet war diff --git a/sip-servlets-test-suite/applications/listeners-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/listeners-sip-servlet/pom.xml index 09941b177a..85d630ca51 100644 --- a/sip-servlets-test-suite/applications/listeners-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/listeners-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 listeners-sip-servlet war diff --git a/sip-servlets-test-suite/applications/location-service-servlet/pom.xml b/sip-servlets-test-suite/applications/location-service-servlet/pom.xml index f86ad6c0e6..c6cc2b4d30 100644 --- a/sip-servlets-test-suite/applications/location-service-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/location-service-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 location-service-servlet war diff --git a/sip-servlets-test-suite/applications/no-app-name-servlet/pom.xml b/sip-servlets-test-suite/applications/no-app-name-servlet/pom.xml index 9ea8ca3797..685b807251 100644 --- a/sip-servlets-test-suite/applications/no-app-name-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/no-app-name-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 no-app-name-servlet war diff --git a/sip-servlets-test-suite/applications/no-main-servlet-app/pom.xml b/sip-servlets-test-suite/applications/no-main-servlet-app/pom.xml index 5ae4c7eefe..329a42b046 100644 --- a/sip-servlets-test-suite/applications/no-main-servlet-app/pom.xml +++ b/sip-servlets-test-suite/applications/no-main-servlet-app/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 no-main-servlet-app war diff --git a/sip-servlets-test-suite/applications/notifier-servlet/pom.xml b/sip-servlets-test-suite/applications/notifier-servlet/pom.xml index 1078b77db9..974249f2c2 100644 --- a/sip-servlets-test-suite/applications/notifier-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/notifier-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 notifier-sip-servlet war diff --git a/sip-servlets-test-suite/applications/pom.xml b/sip-servlets-test-suite/applications/pom.xml index 6c0c79fc99..2e2acfa845 100644 --- a/sip-servlets-test-suite/applications/pom.xml +++ b/sip-servlets-test-suite/applications/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite sip-servlets-test-suite-parent - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications @@ -92,28 +92,28 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-impl - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-annotations - 3.0.0-SNAPSHOT + 3.2.0-89 provided org.mobicents.servlet.sip sip-servlets-client - 3.0.0-SNAPSHOT + 3.2.0-89 provided diff --git a/sip-servlets-test-suite/applications/proxy-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/proxy-sip-servlet/pom.xml index 852a020ac4..18085cc535 100644 --- a/sip-servlets-test-suite/applications/proxy-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/proxy-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 proxy-sip-servlet war diff --git a/sip-servlets-test-suite/applications/publish-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/publish-sip-servlet/pom.xml index 8f4229a5a2..621a24cc5a 100644 --- a/sip-servlets-test-suite/applications/publish-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/publish-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 publish-sip-servlet war diff --git a/sip-servlets-test-suite/applications/refer-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/refer-sip-servlet/pom.xml index 385b68107a..588c786358 100644 --- a/sip-servlets-test-suite/applications/refer-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/refer-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 refer-sip-servlet war diff --git a/sip-servlets-test-suite/applications/replaces-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/replaces-sip-servlet/pom.xml index edb6771d6e..b916d20dc6 100644 --- a/sip-servlets-test-suite/applications/replaces-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/replaces-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 replaces-sip-servlet war diff --git a/sip-servlets-test-suite/applications/same-instance-servlet/pom.xml b/sip-servlets-test-suite/applications/same-instance-servlet/pom.xml index b0dc1be5d7..9475125f43 100644 --- a/sip-servlets-test-suite/applications/same-instance-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/same-instance-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 same-instance-servlet war diff --git a/sip-servlets-test-suite/applications/servlet-mapping-servlet/pom.xml b/sip-servlets-test-suite/applications/servlet-mapping-servlet/pom.xml index ec5282b882..03ea7b2eb7 100644 --- a/sip-servlets-test-suite/applications/servlet-mapping-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/servlet-mapping-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 servlet-mapping-sip-servlet war diff --git a/sip-servlets-test-suite/applications/session-state-uac/pom.xml b/sip-servlets-test-suite/applications/session-state-uac/pom.xml index 228798da7b..2bf8f3f546 100644 --- a/sip-servlets-test-suite/applications/session-state-uac/pom.xml +++ b/sip-servlets-test-suite/applications/session-state-uac/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 session-state-uac war diff --git a/sip-servlets-test-suite/applications/session-state-uas/pom.xml b/sip-servlets-test-suite/applications/session-state-uas/pom.xml index 3ebc6f304e..07b5b9b895 100644 --- a/sip-servlets-test-suite/applications/session-state-uas/pom.xml +++ b/sip-servlets-test-suite/applications/session-state-uas/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 session-state-uas war diff --git a/sip-servlets-test-suite/applications/shootist-sip-servlet-auth/pom.xml b/sip-servlets-test-suite/applications/shootist-sip-servlet-auth/pom.xml index 84e2c722b3..81d6af2283 100644 --- a/sip-servlets-test-suite/applications/shootist-sip-servlet-auth/pom.xml +++ b/sip-servlets-test-suite/applications/shootist-sip-servlet-auth/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 shootist-sip-servlet-auth war diff --git a/sip-servlets-test-suite/applications/shootist-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/shootist-sip-servlet/pom.xml index 51879bf7fa..5c5fb64f4b 100644 --- a/sip-servlets-test-suite/applications/shootist-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/shootist-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 shootist-sip-servlet war diff --git a/sip-servlets-test-suite/applications/shootme-sip-servlet-auth/pom.xml b/sip-servlets-test-suite/applications/shootme-sip-servlet-auth/pom.xml index 06a523d314..bc9470af42 100644 --- a/sip-servlets-test-suite/applications/shootme-sip-servlet-auth/pom.xml +++ b/sip-servlets-test-suite/applications/shootme-sip-servlet-auth/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 shootme-sip-servlet-auth war diff --git a/sip-servlets-test-suite/applications/simple-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/simple-sip-servlet/pom.xml index 69506ea0bc..deeab513a2 100644 --- a/sip-servlets-test-suite/applications/simple-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/simple-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 simple-sip-servlet war diff --git a/sip-servlets-test-suite/applications/speed-dial-servlet/pom.xml b/sip-servlets-test-suite/applications/speed-dial-servlet/pom.xml index 5880ffdf9a..112feaf31b 100644 --- a/sip-servlets-test-suite/applications/speed-dial-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/speed-dial-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 speed-dial-servlet war diff --git a/sip-servlets-test-suite/applications/subscriber-servlet/pom.xml b/sip-servlets-test-suite/applications/subscriber-servlet/pom.xml index 8a3c5a55f8..4593a1cfda 100644 --- a/sip-servlets-test-suite/applications/subscriber-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/subscriber-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 subscriber-sip-servlet war diff --git a/sip-servlets-test-suite/applications/timers-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/timers-sip-servlet/pom.xml index 7607f4afe9..c5554b8ec2 100644 --- a/sip-servlets-test-suite/applications/timers-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/timers-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 timers-sip-servlet war diff --git a/sip-servlets-test-suite/applications/update-sip-servlet/pom.xml b/sip-servlets-test-suite/applications/update-sip-servlet/pom.xml index ea809c4412..21aff9d67d 100644 --- a/sip-servlets-test-suite/applications/update-sip-servlet/pom.xml +++ b/sip-servlets-test-suite/applications/update-sip-servlet/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite.applications sip-servlets-test-suite-applications - 3.0.0-SNAPSHOT + 3.2.0-89 update-sip-servlet war diff --git a/sip-servlets-test-suite/pom.xml b/sip-servlets-test-suite/pom.xml index 392be122d9..0c34d10535 100644 --- a/sip-servlets-test-suite/pom.xml +++ b/sip-servlets-test-suite/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip sip-servlets-bootstrap - 3.0.0-SNAPSHOT + 3.2.0-89 ../pom.xml org.mobicents.servlet.sip.testsuite diff --git a/sip-servlets-test-suite/testsuite/pom.xml b/sip-servlets-test-suite/testsuite/pom.xml index 8ac55b77a7..ce834ac9f1 100644 --- a/sip-servlets-test-suite/testsuite/pom.xml +++ b/sip-servlets-test-suite/testsuite/pom.xml @@ -3,7 +3,7 @@ org.mobicents.servlet.sip.testsuite sip-servlets-test-suite-parent - 3.0.0-SNAPSHOT + 3.2.0-89 sip-servlets-test-suite jar @@ -26,32 +26,32 @@ org.mobicents.servlet.sip sip-servlets-spec - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-core-api - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip.containers sip-servlets-catalina-7 - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-impl - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip sip-servlets-application-router - 3.0.0-SNAPSHOT + 3.2.0-89 org.mobicents.servlet.sip.containers sip-servlets-tomcat-7 - 3.0.0-SNAPSHOT + 3.2.0-89