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