public abstract class JettyConnection extends AdaptrisConnectionImp implements JettyServletRegistrar
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.jetty.servlet.ServletContextHandler |
context |
protected org.eclipse.jetty.server.Server |
server |
log| Constructor and Description |
|---|
JettyConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addServlet(ServletWrapper wrapper)
Add a servlet to the jetty engine.
|
protected static java.lang.String[] |
asArray(java.lang.String s) |
protected void |
closeConnection()
Close the underlying connection.
|
protected void |
initConnection()
Initialise the underlying connection.
|
void |
removeServlet(ServletWrapper wrapper)
Remove a servlet from the jetty engine.
|
protected void |
startConnection()
Start the underlying connection.
|
protected void |
stopConnection()
Stop the underlying connection.
|
addExceptionListener, addMessageConsumer, addMessageProducer, changeState, cloneForTesting, close, connectionErrorHandler, getConnectionErrorHandler, getLookupName, getUniqueId, getWorkersFirstOnShutdown, init, prepare, prepareConnection, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, retrieveExceptionListeners, retrieveMessageConsumers, retrieveMessageProducers, setConnectionErrorHandler, setLookupName, setUniqueId, setWorkersFirstOnShutdown, start, stop, workersFirstOnShutdownprotected transient org.eclipse.jetty.server.Server server
protected transient org.eclipse.jetty.servlet.ServletContextHandler context
protected void closeConnection()
AdaptrisConnectionImpcloseConnection in class AdaptrisConnectionImpAdaptrisConnectionImp.closeConnection()protected void initConnection()
throws CoreException
AdaptrisConnectionImpinitConnection in class AdaptrisConnectionImpCoreException - wrapping any exception.AdaptrisConnectionImp.initConnection()public void removeServlet(ServletWrapper wrapper)
JettyServletRegistrarremoveServlet in interface JettyServletRegistrarwrapper - the servlet wrapperpublic void addServlet(ServletWrapper wrapper)
JettyServletRegistraraddServlet in interface JettyServletRegistrarprotected void startConnection()
throws CoreException
AdaptrisConnectionImpstartConnection in class AdaptrisConnectionImpCoreException - wrapping any exception.AdaptrisConnectionImp.startConnection()protected void stopConnection()
AdaptrisConnectionImpstopConnection in class AdaptrisConnectionImpAdaptrisConnectionImp.stopConnection()protected static java.lang.String[] asArray(java.lang.String s)