@Path(value="/") public class WelcomeResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected KeycloakSession |
session |
| Constructor and Description |
|---|
WelcomeResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getResource(String path)
Resources for welcome page
|
javax.ws.rs.core.Response |
getWelcomePage()
Welcome page of Keycloak
|
@Context protected KeycloakSession session
@GET
@Produces(value="text/html")
public javax.ws.rs.core.Response getWelcomePage()
throws URISyntaxException
URISyntaxException@GET
@Path(value="/welcome-content/{path}")
@Produces(value="text/html")
public javax.ws.rs.core.Response getResource(@PathParam(value="path")
String path)
path - Copyright © 2014. All Rights Reserved.