org.abstracthorizon.danube.http.util
Class ErrorConnectionHandler

java.lang.Object
  extended by 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

Constructor Summary
ErrorConnectionHandler()
          Constructor
 
Method Summary
 void handleConnection(Connection connection)
          Returns simple http with error description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorConnectionHandler

public ErrorConnectionHandler()
Constructor

Method Detail

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.