Package tv.phantombot.httpserver
Class HTTPNoAuthHandler
java.lang.Object
tv.phantombot.httpserver.HTTPNoAuthHandler
- All Implemented Interfaces:
HttpRequestHandler
- Author:
- gmt2001
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets theHttpAuthenticationHandler
assigned to this endpointvoid
Handles the HTTP request and sends a response back to the client Only gets called if theHttpAuthenticationHandler
returnedtrue
register()
Registers thisHttpRequestHandler
with theHttpServerPageHandler
-
Constructor Details
-
HTTPNoAuthHandler
public HTTPNoAuthHandler()
-
-
Method Details
-
register
Description copied from interface:HttpRequestHandler
Registers thisHttpRequestHandler
with theHttpServerPageHandler
- Specified by:
register
in interfaceHttpRequestHandler
- Returns:
-
getAuthHandler
Description copied from interface:HttpRequestHandler
Gets theHttpAuthenticationHandler
assigned to this endpoint- Specified by:
getAuthHandler
in interfaceHttpRequestHandler
- Returns:
- An
HttpAuthenticationHandler
-
handleRequest
Description copied from interface:HttpRequestHandler
Handles the HTTP request and sends a response back to the client Only gets called if theHttpAuthenticationHandler
returnedtrue
- Specified by:
handleRequest
in interfaceHttpRequestHandler
- Parameters:
ctx
- TheChannelHandlerContext
of the sessionreq
- TheFullHttpRequest
containing the request
-