Class StringHeaderProvider
java.lang.Object
org.glassfish.jersey.message.internal.StringHeaderProvider
- All Implemented Interfaces:
RuntimeDelegate.HeaderDelegate<String>
,HeaderDelegateProvider<String>
@Singleton
public class StringHeaderProvider
extends Object
implements HeaderDelegateProvider<String>
String
header delegate provider
.- Author:
- Paul Sandoz, Marek Potociar
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StringHeaderProvider
public StringHeaderProvider()
-
-
Method Details
-
supports
Description copied from interface:HeaderDelegateProvider
Ascertain if the Provider supports a particular type.- Specified by:
supports
in interfaceHeaderDelegateProvider<String>
- 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<String>
-
fromString
- Specified by:
fromString
in interfaceRuntimeDelegate.HeaderDelegate<String>
-