public class JEEBridge
extends org.eclipse.jetty.server.Server
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Constructor and Description |
|---|
JEEBridge(io.dropwizard.setup.Environment environment,
org.eclipse.jetty.util.thread.ThreadPool threadPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnector(org.eclipse.jetty.server.Connector connector) |
void |
addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener) |
void |
clearAttributes() |
protected void |
doStart() |
protected void |
doStop() |
Object |
getAttribute(String name) |
Enumeration<String> |
getAttributeNames() |
org.eclipse.jetty.server.Connector[] |
getConnectors() |
org.eclipse.jetty.server.Handler |
getHandler() |
org.eclipse.jetty.server.Handler[] |
getHandlers() |
String |
getState() |
long |
getStopTimeout() |
void |
handle(org.eclipse.jetty.server.HttpChannel<?> connection) |
void |
handle(String target,
org.eclipse.jetty.server.Request baseRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
handleAsync(org.eclipse.jetty.server.HttpChannel<?> connection) |
boolean |
isFailed() |
boolean |
isRunning() |
boolean |
isStarted() |
boolean |
isStarting() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
removeAttribute(String name) |
void |
removeConnector(org.eclipse.jetty.server.Connector connector) |
void |
removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener) |
void |
setAttribute(String name,
Object attribute) |
void |
setHandler(org.eclipse.jetty.server.Handler handler) |
dump, getDateField, getSessionIdManager, getStopAtShutdown, getThreadPool, getURI, getVersion, handleOptions, isDumpAfterStart, isDumpBeforeStop, join, main, setConnectors, setDumpAfterStart, setDumpBeforeStop, setSessionIdManager, setStopAtShutdown, setStopTimeout, start, toStringdestroy, expandChildren, setServerexpandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassaddBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, stop, unmanage, updateBean, updateBeansgetState, start, stoppublic JEEBridge(io.dropwizard.setup.Environment environment,
org.eclipse.jetty.util.thread.ThreadPool threadPool)
public org.eclipse.jetty.server.Connector[] getConnectors()
getConnectors in class org.eclipse.jetty.server.Serverpublic void addConnector(org.eclipse.jetty.server.Connector connector)
addConnector in class org.eclipse.jetty.server.Serverpublic void removeConnector(org.eclipse.jetty.server.Connector connector)
removeConnector in class org.eclipse.jetty.server.Serverpublic void clearAttributes()
clearAttributes in interface org.eclipse.jetty.util.AttributesclearAttributes in class org.eclipse.jetty.server.Serverpublic Object getAttribute(String name)
getAttribute in interface org.eclipse.jetty.util.AttributesgetAttribute in class org.eclipse.jetty.server.Serverpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface org.eclipse.jetty.util.AttributesgetAttributeNames in class org.eclipse.jetty.server.Serverpublic void removeAttribute(String name)
removeAttribute in interface org.eclipse.jetty.util.AttributesremoveAttribute in class org.eclipse.jetty.server.Serverpublic void setAttribute(String name, Object attribute)
setAttribute in interface org.eclipse.jetty.util.AttributessetAttribute in class org.eclipse.jetty.server.Serverpublic void handle(org.eclipse.jetty.server.HttpChannel<?> connection)
throws IOException,
javax.servlet.ServletException
handle in class org.eclipse.jetty.server.ServerIOExceptionjavax.servlet.ServletExceptionpublic void handleAsync(org.eclipse.jetty.server.HttpChannel<?> connection)
throws IOException,
javax.servlet.ServletException
handleAsync in class org.eclipse.jetty.server.ServerIOExceptionjavax.servlet.ServletExceptionpublic org.eclipse.jetty.server.Handler getHandler()
getHandler in class org.eclipse.jetty.server.handler.HandlerWrapperpublic org.eclipse.jetty.server.Handler[] getHandlers()
getHandlers in interface org.eclipse.jetty.server.HandlerContainergetHandlers in class org.eclipse.jetty.server.handler.HandlerWrapperpublic void setHandler(org.eclipse.jetty.server.Handler handler)
setHandler in class org.eclipse.jetty.server.handler.HandlerWrapperpublic void handle(String target, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
handle in interface org.eclipse.jetty.server.Handlerhandle in class org.eclipse.jetty.server.handler.HandlerWrapperIOExceptionjavax.servlet.ServletExceptionpublic boolean isRunning()
isRunning in interface org.eclipse.jetty.util.component.LifeCycleisRunning in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic boolean isStarted()
isStarted in interface org.eclipse.jetty.util.component.LifeCycleisStarted in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic boolean isStarting()
isStarting in interface org.eclipse.jetty.util.component.LifeCycleisStarting in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic boolean isStopping()
isStopping in interface org.eclipse.jetty.util.component.LifeCycleisStopping in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic boolean isStopped()
isStopped in interface org.eclipse.jetty.util.component.LifeCycleisStopped in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic boolean isFailed()
isFailed in interface org.eclipse.jetty.util.component.LifeCycleisFailed in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic void addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
addLifeCycleListener in interface org.eclipse.jetty.util.component.LifeCycleaddLifeCycleListener in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic void removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener listener)
removeLifeCycleListener in interface org.eclipse.jetty.util.component.LifeCycleremoveLifeCycleListener in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic String getState()
getState in class org.eclipse.jetty.util.component.AbstractLifeCyclepublic long getStopTimeout()
getStopTimeout in class org.eclipse.jetty.util.component.AbstractLifeCycleprotected void doStart()
throws Exception
doStart in class org.eclipse.jetty.server.ServerExceptionCopyright © 2016. All rights reserved.