|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is a WebLogic SIP Server specific extension of the interface javax.servlet.sip.Proxy. It adds the functionality required to support the Path header, RFC 3327. This extension adds a parameter :
Method Summary | |
boolean |
getAddToPath()
Returns true if subsequent invocations of proxyTo(URI)
will add a Path header to the proxied request, false otherwise. |
SipURI |
getPathURI()
Returns a SipURI that the application can use to
add parameters to the Path header. |
void |
setAddToPath(boolean p)
Specifies whether branches initiated in this proxy operation should include a Path header for the REGISTER request for this servlet engine or not. |
Methods inherited from interface javax.servlet.sip.Proxy |
cancel, getOriginalRequest, getParallel, getRecordRoute, getRecordRouteURI, getRecurse, getSequentialSearchTimeout, getStateful, getSupervised, proxyTo, proxyTo, setParallel, setRecordRoute, setRecurse, setSequentialSearchTimeout, setStateful, setSupervised |
Method Detail |
public boolean getAddToPath()
proxyTo(URI)
will add a Path header to the proxied request, false otherwise.
public SipURI getPathURI()
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
Registar and have it returned in subsequent requests for the Registerd UA.
Parameters added through a URI returned by this method can
be retrieved from a subsequent request in the same dialog by
calling SipServletRequest#getParameter
.
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.
java.lang.IllegalStateException
- if addToPath is not enabledpublic void setAddToPath(boolean p)
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. The detailed procedure of Path header handling is defined in RFC 3327.
p
- if true the engine will add Path header, otherwise it won't
|
Documentation is available at http://download.oracle.com/docs/cd/E13209_01/wlcp/wlss22/ Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |