|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface RuntimeDelegate.HeaderDelegate<T>
Defines the contract for a delegate that is responsible for
converting between the String form of a HTTP header and
the corresponding JAX-RS type T.
| Method Summary | |
|---|---|
T |
fromString(java.lang.String value)
Parse the supplied value and create an instance of T. |
java.lang.String |
toString(T value)
Convert the supplied value to a String. |
| Method Detail |
|---|
T fromString(java.lang.String value)
throws java.lang.IllegalArgumentException
T.
value - the string value
T
java.lang.IllegalArgumentException - if the supplied string cannot be
parsed or is nulljava.lang.String toString(T value)
value - the value of type T
java.lang.IllegalArgumentException - if the supplied object cannot be
serialized or is null
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24