@Path(value="/") @Scope(value="prototype") public class RootResource extends RootResourceSupport
| Modifier and Type | Class and Description |
|---|---|
static class |
RootResource.WelcomeModel |
| Modifier and Type | Field and Description |
|---|---|
static int |
REASON_CODE_INVALID_USERNAME_OR_PASSWORD |
static int |
REASON_CODE_UNAUTHORIZED |
static int |
REASON_SIGNED_OUT |
| Constructor and Description |
|---|
RootResource() |
| Modifier and Type | Method and Description |
|---|---|
ApiResource |
getApiResourceV2() |
ManageResource |
getManageResource() |
javax.ws.rs.core.UriInfo |
getUriInfo() |
Thymeleaf |
getWelcome(int reasonCode,
java.lang.String username,
java.lang.String password) |
javax.ws.rs.core.Response |
healthCheck$GET() |
PubUtils |
newPubUtils() |
javax.ws.rs.core.Response |
resolveCallback(java.lang.String pushRequestId) |
javax.ws.rs.core.Response |
signIn(java.lang.String username,
java.lang.String password,
java.lang.String sessionId) |
javax.ws.rs.core.Response |
signOut(java.lang.String sessionId) |
apple_touch_icon_png, apple_touch_icon_precomposed_png, managerStatus, renderCSS, renderGIFs, renderHtml, renderICOs, renderJavaScript, renderPDFs, renderPNGs, renderText, renderTXTs, trafficbasedsspsitemap_xmlpublic static final int REASON_CODE_INVALID_USERNAME_OR_PASSWORD
public static final int REASON_CODE_UNAUTHORIZED
public static final int REASON_SIGNED_OUT
public PubUtils newPubUtils()
public javax.ws.rs.core.UriInfo getUriInfo()
getUriInfo in class RootResourceSupport@GET @Produces(value="text/html") public Thymeleaf getWelcome(@QueryParam(value="r") int reasonCode, @QueryParam(value="username") java.lang.String username, @QueryParam(value="password") java.lang.String password) throws java.io.IOException
java.io.IOException@POST
@Path(value="sign-in")
@Produces(value="text/html")
public javax.ws.rs.core.Response signIn(@FormParam(value="username")
java.lang.String username,
@FormParam(value="password")
java.lang.String password,
@CookieParam(value="session-id")
java.lang.String sessionId)
throws java.lang.Exception
java.lang.Exception@GET
@Path(value="sign-out")
@Produces(value="text/html")
public javax.ws.rs.core.Response signOut(@CookieParam(value="session-id")
java.lang.String sessionId)
throws java.lang.Exception
java.lang.Exception@Path(value="api/v3") public ApiResource getApiResourceV2() throws java.lang.Exception
java.lang.Exception@Path(value="manage") public ManageResource getManageResource()
@GET
@Path(value="/q/{pushRequestId}")
public javax.ws.rs.core.Response resolveCallback(@PathParam(value="pushRequestId")
java.lang.String pushRequestId)
throws java.net.URISyntaxException
java.net.URISyntaxException@GET @Path(value="health-check") @Produces(value="text/html") public javax.ws.rs.core.Response healthCheck$GET()