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.HeaderDelegate
T
.fromString
in interface RuntimeDelegate.HeaderDelegate<CacheControl>
value
- the string valueT
IllegalArgumentException
- if the supplied string cannot be
parsed or is nullpublic String toString(CacheControl value)
RuntimeDelegate.HeaderDelegate
toString
in interface RuntimeDelegate.HeaderDelegate<CacheControl>
value
- the value of type T
Copyright © 2018 JBoss by Red Hat. All rights reserved.