public class EntityTagDelegate extends Object implements RuntimeDelegate.HeaderDelegate<EntityTag>
Constructor and Description |
---|
EntityTagDelegate() |
Modifier and Type | Method and Description |
---|---|
EntityTag |
fromString(String value)
Parse the supplied value and create an instance of
T . |
String |
toString(EntityTag value)
Convert the supplied value to a String.
|
public EntityTag fromString(String value) throws IllegalArgumentException
RuntimeDelegate.HeaderDelegate
T
.fromString
in interface RuntimeDelegate.HeaderDelegate<EntityTag>
value
- the string value.T
.IllegalArgumentException
- if the supplied string cannot be
parsed or is null
.public String toString(EntityTag value)
RuntimeDelegate.HeaderDelegate
toString
in interface RuntimeDelegate.HeaderDelegate<EntityTag>
value
- the value of type T
.Copyright © 2017 JBoss by Red Hat. All rights reserved.