@Path(value="/js") public class JsResource extends Object
Constructor and Description |
---|
JsResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getJs()
Get keycloak.js file for javascript clients
|
javax.ws.rs.core.Response |
getJsWithVersion(String version) |
javax.ws.rs.core.Response |
getMinJs() |
javax.ws.rs.core.Response |
getMinJsWithVersion(String version) |
@GET @Path(value="/keycloak.js") @Produces(value="text/javascript") public javax.ws.rs.core.Response getJs()
@GET @Path(value="/{version}/keycloak.js") @Produces(value="text/javascript") public javax.ws.rs.core.Response getJsWithVersion(@PathParam(value="version") String version)
@GET @Path(value="/keycloak.min.js") @Produces(value="text/javascript") public javax.ws.rs.core.Response getMinJs()
@GET @Path(value="/{version}/keycloak.min.js") @Produces(value="text/javascript") public javax.ws.rs.core.Response getMinJsWithVersion(@PathParam(value="version") String version)
Copyright © 2015. All rights reserved.