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