Class LocaleProvider
java.lang.Object
org.glassfish.jersey.message.internal.LocaleProvider
- All Implemented Interfaces:
RuntimeDelegate.HeaderDelegate<Locale>,HeaderDelegateProvider<Locale>
Locale header delegate provider.- Author:
- Paul Sandoz, Marek Potociar
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LocaleProvider
public LocaleProvider()
-
-
Method Details
-
supports
Description copied from interface:HeaderDelegateProviderAscertain if the Provider supports a particular type.- Specified by:
supportsin interfaceHeaderDelegateProvider<Locale>- Parameters:
type- the type that is to be supported.- Returns:
- true if the type is supported, otherwise false.
-
toString
- Specified by:
toStringin interfaceRuntimeDelegate.HeaderDelegate<Locale>
-
fromString
- Specified by:
fromStringin interfaceRuntimeDelegate.HeaderDelegate<Locale>
-