org.keycloak.services.resources

## Class ServerVersionResource

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

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

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static org.jboss.logging.Logger` | `logger`
    `protected org.jboss.resteasy.spi.HttpRequest` | `request`
    `protected org.jboss.resteasy.spi.HttpResponse` | `response`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerVersionResource()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Version` | `getVersion()`
    `javax.ws.rs.core.Response` | `getVersionPreflight()`

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

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

- - ### Field Detail

    - #### logger

          protected static final org.jboss.logging.Logger logger

    - #### request

          @Context
          protected org.jboss.resteasy.spi.HttpRequest request

    - #### response

          @Context
          protected org.jboss.resteasy.spi.HttpResponse response

  - ### Constructor Detail

    - #### ServerVersionResource

          public ServerVersionResource()

  - ### Method Detail

    - #### getVersionPreflight

          @OPTIONS
          @Produces(value="application/json")
          public javax.ws.rs.core.Response getVersionPreflight()

    - #### getVersion

          @GET
          @Produces(value="application/json")
          public Version getVersion()

Copyright © 2015. All Rights Reserved.