|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.message.internal.EntityTagProvider
@Singleton public class EntityTagProvider
ETag header delegate provider.
| Constructor Summary | |
|---|---|
EntityTagProvider()
|
|
| Method Summary | |
|---|---|
EntityTag |
fromString(String header)
Parse the supplied value and create an instance of T. |
boolean |
supports(Class<?> type)
Ascertain if the Provider supports a particular type. |
String |
toString(EntityTag header)
Convert the supplied value to a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityTagProvider()
| Method Detail |
|---|
public boolean supports(Class<?> type)
HeaderDelegateProvider
supports in interface HeaderDelegateProvider<EntityTag>type - the type that is to be supported.
public String toString(EntityTag header)
RuntimeDelegate.HeaderDelegate
toString in interface RuntimeDelegate.HeaderDelegate<EntityTag>header - the value of type T.
public EntityTag fromString(String header)
RuntimeDelegate.HeaderDelegateT.
fromString in interface RuntimeDelegate.HeaderDelegate<EntityTag>header - the string value.
T.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||