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