|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.resteasy.plugins.delegates.MediaTypeHeaderDelegate
public class MediaTypeHeaderDelegate
| Constructor Summary | |
|---|---|
MediaTypeHeaderDelegate()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
fromString(java.lang.String type)
Parse the supplied value and create an instance of T. |
static MediaType |
parse(java.lang.String type)
|
java.lang.String |
toString(java.lang.Object o)
Convert the supplied value to a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaTypeHeaderDelegate()
| Method Detail |
|---|
public java.lang.Object fromString(java.lang.String type)
throws java.lang.IllegalArgumentException
RuntimeDelegate.HeaderDelegateT.
fromString in interface RuntimeDelegate.HeaderDelegatetype - the string value
T
java.lang.IllegalArgumentException - if the supplied string cannot be
parsed or is nullpublic static MediaType parse(java.lang.String type)
public java.lang.String toString(java.lang.Object o)
RuntimeDelegate.HeaderDelegate
toString in interface RuntimeDelegate.HeaderDelegateo - the value of type T
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||