Class RootService
- java.lang.Object
-
- org.objectweb.joram.tools.rest.jms.RootService
-
- All Implemented Interfaces:
jakarta.ws.rs.container.ContainerRequestFilter
@Path("/") @Singleton public final class RootService extends Object implements jakarta.ws.rs.container.ContainerRequestFilter
-
-
Field Summary
Fields Modifier and Type Field Description private static StringAUTHENTICATION_SCHEMEprivate static StringAUTHORIZATION_PROPERTYprivate static booleanDEBUGprivate Helperhelperprivate jakarta.servlet.http.HttpServletRequesthttpServletRequeststatic Loggerlogger
-
Constructor Summary
Constructors Constructor Description RootService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(jakarta.ws.rs.container.ContainerRequestContext requestContext)Stringinfo(jakarta.ws.rs.core.UriInfo uriInfo)
-
-
-
Field Detail
-
logger
public static final Logger logger
-
DEBUG
private static final boolean DEBUG
-
AUTHORIZATION_PROPERTY
private static final String AUTHORIZATION_PROPERTY
- See Also:
- Constant Field Values
-
AUTHENTICATION_SCHEME
private static final String AUTHENTICATION_SCHEME
- See Also:
- Constant Field Values
-
helper
private final Helper helper
-
httpServletRequest
@Context private jakarta.servlet.http.HttpServletRequest httpServletRequest
-
-
Method Detail
-
info
@GET @Produces("text/html") public String info(@Context jakarta.ws.rs.core.UriInfo uriInfo)
-
filter
public void filter(jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException- Specified by:
filterin interfacejakarta.ws.rs.container.ContainerRequestFilter- Throws:
IOException
-
-