Package tv.phantombot.httpserver
Class HTTPNoAuthHandler
java.lang.Object
tv.phantombot.httpserver.HTTPNoAuthHandler
- All Implemented Interfaces:
- HttpRequestHandler
- Author:
- gmt2001
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets theHttpAuthenticationHandlerassigned to this endpointvoidHandles the HTTP request and sends a response back to the client Only gets called if theHttpAuthenticationHandlerreturnedtrueregister()Registers thisHttpRequestHandlerwith theHttpServerPageHandler
- 
Constructor Details- 
HTTPNoAuthHandlerpublic HTTPNoAuthHandler()
 
- 
- 
Method Details- 
registerDescription copied from interface:HttpRequestHandlerRegisters thisHttpRequestHandlerwith theHttpServerPageHandler- Specified by:
- registerin interface- HttpRequestHandler
- Returns:
 
- 
getAuthHandlerDescription copied from interface:HttpRequestHandlerGets theHttpAuthenticationHandlerassigned to this endpoint- Specified by:
- getAuthHandlerin interface- HttpRequestHandler
- Returns:
- An HttpAuthenticationHandler
 
- 
handleRequestDescription copied from interface:HttpRequestHandlerHandles the HTTP request and sends a response back to the client Only gets called if theHttpAuthenticationHandlerreturnedtrue- Specified by:
- handleRequestin interface- HttpRequestHandler
- Parameters:
- ctx- The- ChannelHandlerContextof the session
- req- The- FullHttpRequestcontaining the request
 
 
-