Class ThemeResource

java.lang.Object
org.keycloak.services.resources.ThemeResource

@Path("/resources") public class ThemeResource extends Object
Theme resource
Author:
Stian Thorgersen
  • 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