@ManagedObject(value="Sip context handler collection") public class SipContextHandlerCollection extends AbstractSipHandler implements RequestCustomizer
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Constructor and Description |
|---|
SipContextHandlerCollection(org.eclipse.jetty.server.handler.HandlerCollection contexts) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContext(SipAppContext context) |
void |
customizeRequest(SipRequest request) |
protected void |
doStart() |
protected void |
doStop() |
javax.servlet.sip.ar.SipApplicationRouter |
getApplicationRouter() |
SipAppContext |
getContext(java.lang.String name) |
SipAppContext[] |
getSipContexts() |
void |
handle(SipMessage message) |
protected boolean |
isSipDeployed(SipAppContext context) |
void |
removeContext(SipAppContext context) |
void |
setApplicationRouter(javax.servlet.sip.ar.SipApplicationRouter applicationRouter) |
getServer, setServeraddBean, addBean, addBean, addEventListener, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic SipContextHandlerCollection(@Name(value="contexts")
org.eclipse.jetty.server.handler.HandlerCollection contexts)
protected void doStart()
throws java.lang.Exception
doStart in class org.eclipse.jetty.util.component.ContainerLifeCyclejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class org.eclipse.jetty.util.component.ContainerLifeCyclejava.lang.Exceptionpublic void handle(SipMessage message) throws java.io.IOException, javax.servlet.ServletException
handle in interface SipHandlerjava.io.IOExceptionjavax.servlet.ServletExceptionpublic SipAppContext getContext(java.lang.String name)
@ManagedAttribute(value="SIP contexts",
readonly=true)
public SipAppContext[] getSipContexts()
public void addContext(SipAppContext context)
protected boolean isSipDeployed(SipAppContext context)
public void removeContext(SipAppContext context)
@ManagedAttribute(value="SIP application router",
readonly=true)
public javax.servlet.sip.ar.SipApplicationRouter getApplicationRouter()
public void setApplicationRouter(javax.servlet.sip.ar.SipApplicationRouter applicationRouter)
public void customizeRequest(SipRequest request) throws java.io.IOException
customizeRequest in interface RequestCustomizerjava.io.IOExceptionCopyright © 2015. All Rights Reserved.