T
- a JAX-RS type that corresponds to the value of a HTTP header.public static interface RuntimeDelegate.HeaderDelegate<T>
T
.T fromString(String value)
T
.value
- the string value.T
.IllegalArgumentException
- if the supplied string cannot be
parsed or is null
.String toString(T value)
value
- the value of type T
.IllegalArgumentException
- if the supplied object cannot be
serialized or is null
.Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.