org.keycloak.services.resources

## Class WelcomeResource

- java.lang.Object
- - org.keycloak.services.resources.WelcomeResource

-     @Path(value="/")
      public class WelcomeResource
      extends Object

  Author:
    Stian Thorgersen

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | `session`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WelcomeResource()`

  - ### Method Summary

    Methods
    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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### session

          @Context
          protected KeycloakSession session

  - ### Constructor Detail

    - #### WelcomeResource

          public WelcomeResource()

  - ### Method Detail

    - #### getWelcomePage

          @GET
          @Produces(value="text/html")
          public javax.ws.rs.core.Response getWelcomePage()
                                                   throws URISyntaxException

      Welcome page of Keycloak
      Returns:
      Throws:
        `URISyntaxException`

    - #### getResource

          @GET
          @Path(value="/welcome-content/{path}")
          @Produces(value="text/html")
          public javax.ws.rs.core.Response getResource(@PathParam(value="path")
                                                                String path)

      Resources for welcome page
      Parameters:
        `path` -
      Returns:

Copyright © 2015. All Rights Reserved.