com.bradmcevoy.http.http11
Class Http11Protocol

java.lang.Object
  extended by com.bradmcevoy.http.http11.Http11Protocol
All Implemented Interfaces:
HttpExtension

public class Http11Protocol
extends java.lang.Object
implements HttpExtension

Author:
brad

Constructor Summary
Http11Protocol(Http11ResponseHandler responseHandler, HandlerHelper handlerHelper)
          OPTIONS authentication is disabled by default
Http11Protocol(Http11ResponseHandler responseHandler, HandlerHelper handlerHelper, boolean enableOptionsAuth)
           
Http11Protocol(java.util.Set<Handler> handlers, HandlerHelper handlerHelper)
           
 
Method Summary
 java.util.List<CustomPostHandler> getCustomPostHandlers()
           
 HandlerHelper getHandlerHelper()
           
 java.util.Set<Handler> getHandlers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Http11Protocol

public Http11Protocol(java.util.Set<Handler> handlers,
                      HandlerHelper handlerHelper)

Http11Protocol

public Http11Protocol(Http11ResponseHandler responseHandler,
                      HandlerHelper handlerHelper)
OPTIONS authentication is disabled by default

Parameters:
responseHandler -
handlerHelper -

Http11Protocol

public Http11Protocol(Http11ResponseHandler responseHandler,
                      HandlerHelper handlerHelper,
                      boolean enableOptionsAuth)
Method Detail

getHandlers

public java.util.Set<Handler> getHandlers()
Specified by:
getHandlers in interface HttpExtension
Returns:
- all method handlers that this extension supports.

getHandlerHelper

public HandlerHelper getHandlerHelper()

getCustomPostHandlers

public java.util.List<CustomPostHandler> getCustomPostHandlers()
Specified by:
getCustomPostHandlers in interface HttpExtension


Copyright © 2011. All Rights Reserved.