@Path(value="/") public class WelcomeResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.ws.rs.core.HttpHeaders |
headers |
| Constructor and Description |
|---|
WelcomeResource(boolean bootstrap) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createUser(javax.ws.rs.core.MultivaluedMap<String,String> formData) |
javax.ws.rs.core.Response |
getResource(String path)
Resources for welcome page
|
javax.ws.rs.core.Response |
getWelcomePage()
Welcome page of Keycloak
|
@GET
@Produces(value="text/html; charset=utf-8")
public javax.ws.rs.core.Response getWelcomePage()
throws URISyntaxException
URISyntaxException@POST @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response createUser(javax.ws.rs.core.MultivaluedMap<String,String> formData)
@GET
@Path(value="/welcome-content/{path}")
@Produces(value="text/html; charset=utf-8")
public javax.ws.rs.core.Response getResource(@PathParam(value="path")
String path)
path - Copyright © 2016 JBoss by Red Hat. All rights reserved.