Package org.keycloak.services.resources
Class ThemeResource
java.lang.Object
org.keycloak.services.resources.ThemeResource
Theme resource
- Author:
 - Stian Thorgersen
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetLocalizationTexts(String realmName, String theme, String localeString, String themeType, boolean showSource) jakarta.ws.rs.core.ResponsegetResource(String version, String themeType, String themeName, String path) Get theme contentjakarta.ws.rs.core.Response 
- 
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 themeType, @PathParam("themeName") String themeName, @PathParam("path") String path) Get theme content- Parameters:
 version-themeType-themeName-path-- Returns:
 
 - 
localizationTextPreflight
@Path("/{realm}/{themeType}/{locale}") @OPTIONS public jakarta.ws.rs.core.Response localizationTextPreflight() - 
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
 
 -