Package org.keycloak.services.resources
Class WelcomeResource
- java.lang.Object
-
- org.keycloak.services.resources.WelcomeResource
-
@Path("/") public class WelcomeResource extends Object
- Author:
- Stian Thorgersen
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.jboss.logging.Logger
logger
-
Constructor Summary
Constructors Constructor Description WelcomeResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 pagejavax.ws.rs.core.Response
getWelcomePage()
Welcome page of Keycloak
-
-
-
Method Detail
-
getWelcomePage
@GET @Produces("text/html; charset=utf-8") public javax.ws.rs.core.Response getWelcomePage() throws URISyntaxException
Welcome page of Keycloak- Returns:
- Throws:
URISyntaxException
-
createUser
@POST @Consumes("application/x-www-form-urlencoded") @Produces("text/html; charset=utf-8") public javax.ws.rs.core.Response createUser(javax.ws.rs.core.MultivaluedMap<String,String> formData)
-
getResource
@GET @Path("/welcome-content/{path}") @Produces("text/html; charset=utf-8") public javax.ws.rs.core.Response getResource(@PathParam("path") String path)
Resources for welcome page- Parameters:
path
-- Returns:
-
-