com.faunos.util.net.http
Class ExceptionStagelet

java.lang.Object
  extended by com.faunos.util.net.http.FileChannelStagelet
      extended by com.faunos.util.net.http.ExceptionStagelet
All Implemented Interfaces:
Handlet, Stagelet

public class ExceptionStagelet
extends FileChannelStagelet

A boiler plate HTTP 500 response that prints a stack trace.

Author:
Babak Farhang
See Also:
ExceptionResponseFactory

Field Summary
 
Fields inherited from class com.faunos.util.net.http.FileChannelStagelet
content
 
Constructor Summary
ExceptionStagelet(Exception e, StageletStack stack, boolean persistConnection)
          Creates a new instance using the given exception.
 
Method Summary
 
Methods inherited from class com.faunos.util.net.http.FileChannelStagelet
discard, getHeaders, init, read, state, unwind, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionStagelet

public ExceptionStagelet(Exception e,
                         StageletStack stack,
                         boolean persistConnection)
Creates a new instance using the given exception.



SourceForge.net Logo