Package org.keycloak.services.resources
Class ThemeResource
java.lang.Object
org.keycloak.services.resources.ThemeResource
Theme resource
- Author:
- Stian Thorgersen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getLocalizationTexts
(String realmName, String theme, String localeString, String themeType, boolean showSource) jakarta.ws.rs.core.Response
getResource
(String version, String themType, String themeName, String path) Get theme content
-
Constructor Details
-
ThemeResource
public ThemeResource()
-
-
Method Details
-
getResource
@GET @Path("/{version}/{themeType}/{themeName}/{path:.*}") public jakarta.ws.rs.core.Response getResource(@PathParam("version") String version, @PathParam("themeType") String themType, @PathParam("themeName") String themeName, @PathParam("path") String path) Get theme content- Parameters:
themType
-themeName
-path
-- Returns:
-
getLocalizationTexts
@GET @Path("/{realm}/{themeType}/{locale}") @Produces("application/json") public jakarta.ws.rs.core.Response getLocalizationTexts(@PathParam("realm") String realmName, @QueryParam("theme") String theme, @PathParam("locale") String localeString, @PathParam("themeType") String themeType, @QueryParam("source") boolean showSource) throws IOException - Throws:
IOException
-