Class DumpHandler

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.server.Handler.Abstract
org.eclipse.jetty.server.handler.DumpHandler
All Implemented Interfaces:
Handler, Request.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, org.eclipse.jetty.util.thread.Invocable

@ManagedObject public class DumpHandler extends Handler.Abstract
Dumps GET and POST requests as HTML response content. Useful for testing and debugging. The following request query parameters are understood:
flush
A boolean parameter, which if true causes the response to be flushed before the content is generated
empty
A boolean parameter, which if true causes the response to be empty
read
An integer parameter, which if set causes a specific number of bytes of content to be read, else the entire content is read.
date
A String parameter, which if set is used as the value of a Date header in the response
ISE
A boolean parameter, which if true causes handling method to throw an IllegalStateException
error
An integer parameter, which if set is used as the response status code.