@Singleton public class EntityTagProvider extends Object implements HeaderDelegateProvider<EntityTag>
ETag header delegate provider.| Constructor and Description |
|---|
EntityTagProvider() |
| Modifier and Type | Method and Description |
|---|---|
EntityTag |
fromString(String header) |
boolean |
supports(Class<?> type)
Ascertain if the Provider supports a particular type.
|
String |
toString(EntityTag header) |
public boolean supports(Class<?> type)
HeaderDelegateProvidersupports in interface HeaderDelegateProvider<EntityTag>type - the type that is to be supported.public String toString(EntityTag header)
toString in interface RuntimeDelegate.HeaderDelegate<EntityTag>public EntityTag fromString(String header)
fromString in interface RuntimeDelegate.HeaderDelegate<EntityTag>Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.