Package org.seaborne.delta.server.http
Class HttpErrorHandler
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.server.handler.AbstractHandler
-
- org.eclipse.jetty.server.handler.ErrorHandler
-
- org.seaborne.delta.server.http.HttpErrorHandler
-
- All Implemented Interfaces:
org.eclipse.jetty.server.Handler,org.eclipse.jetty.util.component.Container,org.eclipse.jetty.util.component.Destroyable,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Dumpable.DumpableContainer,org.eclipse.jetty.util.component.LifeCycle
public class HttpErrorHandler extends org.eclipse.jetty.server.handler.ErrorHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.server.handler.ErrorHandler
org.eclipse.jetty.server.handler.ErrorHandler.ErrorPageMapper
-
Nested classes/interfaces inherited from class org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandler
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
-
-
Field Summary
Fields Modifier and Type Field Description static StringMETHOD_DELETEstatic StringMETHOD_GETstatic StringMETHOD_HEADstatic StringMETHOD_OPTIONSstatic StringMETHOD_PATCHstatic StringMETHOD_POSTstatic StringMETHOD_PUTstatic StringMETHOD_TRACE
-
Constructor Summary
Constructors Constructor Description HttpErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(String target, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)-
Methods inherited from class org.eclipse.jetty.server.handler.ErrorHandler
badMessageError, doError, errorPageForMethod, getCacheControl, getErrorHandler, getShowMessageInTitle, isShowServlet, isShowStacks, setCacheControl, setShowMessageInTitle, setShowServlet, setShowStacks
-
Methods inherited from class org.eclipse.jetty.server.handler.AbstractHandler
destroy, getServer, setServer
-
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeans
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
METHOD_DELETE
public static final String METHOD_DELETE
- See Also:
- Constant Field Values
-
METHOD_HEAD
public static final String METHOD_HEAD
- See Also:
- Constant Field Values
-
METHOD_GET
public static final String METHOD_GET
- See Also:
- Constant Field Values
-
METHOD_OPTIONS
public static final String METHOD_OPTIONS
- See Also:
- Constant Field Values
-
METHOD_POST
public static final String METHOD_POST
- See Also:
- Constant Field Values
-
METHOD_PUT
public static final String METHOD_PUT
- See Also:
- Constant Field Values
-
METHOD_TRACE
public static final String METHOD_TRACE
- See Also:
- Constant Field Values
-
METHOD_PATCH
public static final String METHOD_PATCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
handle
public 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
- Specified by:
handlein interfaceorg.eclipse.jetty.server.Handler- Overrides:
handlein classorg.eclipse.jetty.server.handler.ErrorHandler- Throws:
IOExceptionjavax.servlet.ServletException
-
-