Package org.yamcs.http
Class HttpHandler
java.lang.Object
org.yamcs.http.HttpHandler
- Direct Known Subclasses:
ApiHandler
,BodyHandler
,FaviconHandler
,RobotsTxtHandler
,SpnegoAuthModule
,StaticFileHandler
,WellKnownHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doHandle
(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest msg, User user) static String
getAccessTokenFromCookie
(io.netty.handler.codec.http.HttpRequest req) abstract void
handle
(HandlerContext ctx) abstract boolean
-
Field Details
-
MIME
-
log
-
-
Constructor Details
-
HttpHandler
public HttpHandler()
-
-
Method Details
-
requireAuth
public abstract boolean requireAuth() -
handle
-
doHandle
protected void doHandle(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest msg, User user) -
getAccessTokenFromCookie
-