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

All Superinterfaces:
HttpHandler
All Known Implementing Classes:
AbstractCallbackHandler, SimpleCallbackHandler

public interface HttpCallbackHandler
extends HttpHandler

HTTP Callback Handler


Method Summary
 boolean handle(HttpServletRequest request, Callback[] callbacks)
          One or second phase callback handling
 boolean handle(HttpServletRequest request, HttpServletResponse response, Callback[] callbacks)
          One or two phase callback handling
 
Methods inherited from interface org.openmdx.security.auth.servlet.cci.HttpHandler
destroy, init
 

Method Detail

handle

boolean handle(HttpServletRequest request,
               HttpServletResponse response,
               Callback[] callbacks)
               throws IOException,
                      UnsupportedCallbackException
One or two phase callback handling

Parameters:
request -
response -
callbacks -
Returns:
true in case of two-phase handling, i.e. if a body has been added to the response and callback handling will be resumed using handle(HttpServletRequest,Callback[]).
Throws:
IOException
UnsupportedCallbackException

handle

boolean handle(HttpServletRequest request,
               Callback[] callbacks)
               throws IOException,
                      UnsupportedCallbackException
One or second phase callback handling

Parameters:
request -
callbacks -
return - true in case of successfull reply processing, false if callbacks is null or if the reply has been repeated.
Throws:
IOException
UnsupportedCallbackException


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