Class AdminMessageFormatter
- java.lang.Object
-
- org.keycloak.services.resources.admin.AdminMessageFormatter
-
- All Implemented Interfaces:
BiFunction<String,Object[],String>
public class AdminMessageFormatter extends Object implements BiFunction<String,Object[],String>
Message formatter for Admin GUI/API messages.- Author:
- Vlastimil Elias
-
-
Constructor Summary
Constructors Constructor Description AdminMessageFormatter(KeycloakSession session, UserModel user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apply(String s, Object[] objects)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Constructor Detail
-
AdminMessageFormatter
public AdminMessageFormatter(KeycloakSession session, UserModel user)
- Parameters:
session
- to get context (including current Realm) fromuser
- to resolve locale for
-
-