Class LocaleProvider
java.lang.Object
org.glassfish.jersey.message.internal.LocaleProvider
- All Implemented Interfaces:
javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<Locale>
,HeaderDelegateProvider<Locale>
Locale
header delegate provider
.-
Constructor Summary
Constructors -
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 interfacejavax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<Locale>
-
fromString
- Specified by:
fromString
in interfacejavax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<Locale>
-