Class RealmLocalizationResource

java.lang.Object
org.keycloak.services.resources.admin.RealmLocalizationResource

public class RealmLocalizationResource extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • saveRealmLocalizationText

      @Path("{locale}/{key}") @PUT @Consumes("text/plain") public void saveRealmLocalizationText(@PathParam("locale") String locale, @PathParam("key") String key, String text)
    • createOrUpdateRealmLocalizationTextsFromFile

      @POST @Path("{locale}") @Consumes("multipart/form-data") public void createOrUpdateRealmLocalizationTextsFromFile(@PathParam("locale") String locale)
      Import localization from uploaded JSON file
    • createOrUpdateRealmLocalizationTexts

      @POST @Path("{locale}") @Consumes("application/json") public void createOrUpdateRealmLocalizationTexts(@PathParam("locale") String locale, Map<String,String> localizationTexts)
    • deleteRealmLocalizationTexts

      @Path("{locale}") @DELETE public void deleteRealmLocalizationTexts(@PathParam("locale") String locale)
    • deleteRealmLocalizationText

      @Path("{locale}/{key}") @DELETE public void deleteRealmLocalizationText(@PathParam("locale") String locale, @PathParam("key") String key)
    • getRealmLocalizationLocales

      @GET @Produces("application/json") public Stream<String> getRealmLocalizationLocales()
    • getRealmLocalizationTexts

      @Path("{locale}") @GET @Produces("application/json") public Map<String,String> getRealmLocalizationTexts(@PathParam("locale") String locale, @Deprecated @QueryParam("useRealmDefaultLocaleFallback") Boolean useFallback)
    • getRealmLocalizationText

      @Path("{locale}/{key}") @GET @Produces("text/plain") public String getRealmLocalizationText(@PathParam("locale") String locale, @PathParam("key") String key)