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