org.abstracthorizon.danube.http.util
Class ErrorConnectionHandler
java.lang.Object
org.abstracthorizon.danube.http.util.ErrorConnectionHandler
- All Implemented Interfaces:
- ConnectionHandler
public class ErrorConnectionHandler
- extends Object
- implements ConnectionHandler
Default error connection handler.
It outputs simple html with response status and response code.
- Author:
- Daniel Sendula
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorConnectionHandler
public ErrorConnectionHandler()
- Constructor
handleConnection
public void handleConnection(Connection connection)
- Returns simple http with error description
- Specified by:
handleConnection
in interface ConnectionHandler
- Parameters:
connection
- http connection
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.