public final class JettyHttpContainer extends org.eclipse.jetty.server.handler.AbstractHandler implements Container
Container implementation based on Jetty Handler.org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandlerorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerorg.eclipse.jetty.util.component.LifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGDEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart()
Inform this container that the server has been started.
|
void |
doStop()
Inform this container that the server is being stopped.
|
ApplicationHandler |
getApplicationHandler() |
ResourceConfig |
getConfiguration() |
void |
handle(String target,
org.eclipse.jetty.server.Request request,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
void |
reload() |
void |
reload(ResourceConfig configuration) |
destroy, doError, getServer, setServeraddBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stoppublic void handle(String target, org.eclipse.jetty.server.Request request, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
handle in interface org.eclipse.jetty.server.Handlerhandle in class org.eclipse.jetty.server.handler.AbstractHandlerIOExceptionjavax.servlet.ServletExceptionpublic ResourceConfig getConfiguration()
public void reload()
public void reload(ResourceConfig configuration)
public ApplicationHandler getApplicationHandler()
protected void doStart()
throws Exception
doStart in class org.eclipse.jetty.server.handler.AbstractHandlerException - if a problem occurred during server startup.public void doStop()
throws Exception
doStop in class org.eclipse.jetty.server.handler.AbstractHandlerException - if a problem occurred during server shutdown.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.