org.openmdx.security.auth.servlet.cci
Interface HttpHandler

All Known Subinterfaces:
HttpAuthenticationHandler, HttpCallbackHandler, HttpExceptionHandler, HttpSubjectHandler
All Known Implementing Classes:
AbstractAuthenticationHandler, AbstractCallbackHandler, AbstractHandler, AbstractRemoteAuthenticationHandler, AbstractSubjectHandler, InsecureExceptionHandler, RemoteAuthenticationHandler, RemoteAuthenticationHandler, RemoteAuthenticationHandler, SimpleAuthenticationHandler, SimpleCallbackHandler, SimplePrivateKeyProvider, SimpleSubjectHandler, VerboseSubjectHandler

public interface HttpHandler

HTTP Handler Base Interface


Method Summary
 void destroy()
          Called by the servlet to indicate to a HTTP handler that the servlet is being taken out of service.
 void init(ServletConfig configuration)
          Initialize the HttpCallbackHandler
 

Method Detail

init

void init(ServletConfig configuration)
          throws ServletException
Initialize the HttpCallbackHandler

Parameters:
configuration - TODO
Throws:
ServletException

destroy

void destroy()
Called by the servlet to indicate to a HTTP handler that the servlet is being taken out of service. This method is only called once all threads within the servlet's service method have exited or after a timeout period has passed. After the servlet calls this method, it will not call any of the handler's methods again.$

This method gives the HTTP hanlder an opportunity to clean up any resources that are being held (for example, memory, file handles, threads) and make sure that any persistent state is synchronized with the handler's current state in memory.

Throws:
ServletException


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.