edu.internet2.middleware.shibboleth.common.profile
Class AbstractErrorHandler

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.profile.AbstractErrorHandler
All Implemented Interfaces:
ProfileHandler
Direct Known Subclasses:
JSPErrorHandler, VelocityErrorHandler

public abstract class AbstractErrorHandler
extends Object
implements ProfileHandler

Error handlers are invoked when an error is encountered during request processing. Error handlers expect the error to be reported to be bound to the servlet request attribute identified by ERROR_KEY and be of type Throwable.


Field Summary
static String ERROR_KEY
          Servlet request attribute to which the error is bound.
 
Constructor Summary
AbstractErrorHandler()
           
 
Method Summary
abstract  void processRequest(org.opensaml.ws.transport.InTransport in, org.opensaml.ws.transport.OutTransport out)
          Processes an incoming request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_KEY

public static final String ERROR_KEY
Servlet request attribute to which the error is bound.

See Also:
Constant Field Values
Constructor Detail

AbstractErrorHandler

public AbstractErrorHandler()
Method Detail

processRequest

public abstract void processRequest(org.opensaml.ws.transport.InTransport in,
                                    org.opensaml.ws.transport.OutTransport out)
Processes an incoming request.

Specified by:
processRequest in interface ProfileHandler
Parameters:
in - the incoming request transport
out - the outgoing response transport


Copyright © 2006-2010 Internet2. All Rights Reserved.