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
-
Method Summary
-
Constructor Details
-
LocaleProvider
public LocaleProvider()
-
-
Method Details
-
supports
Description copied from interface:HeaderDelegateProvider
Ascertain if the Provider supports a particular type.- Specified by:
supports
in interfaceHeaderDelegateProvider<Locale>
- Parameters:
type
- the type that is to be supported.- Returns:
- true if the type is supported, otherwise false.
-
toString
- Specified by:
toString
in interfaceRuntimeDelegate.HeaderDelegate<Locale>
-
fromString
- Specified by:
fromString
in interfaceRuntimeDelegate.HeaderDelegate<Locale>
-