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 ServicesLogger` | `logger`
    `protected org.jboss.resteasy.spi.HttpRequest` | `request`
    `protected org.jboss.resteasy.spi.HttpResponse` | `response`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerVersionResource()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `VersionRepresentation` | `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 ServicesLogger 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 VersionRepresentation getVersion()

Copyright © 2016 JBoss by Red Hat. All rights reserved.