public class MediaTypeHeaderDelegate extends Object implements RuntimeDelegate.HeaderDelegate
Constructor and Description |
---|
MediaTypeHeaderDelegate() |
public Object fromString(String type) throws IllegalArgumentException
RuntimeDelegate.HeaderDelegate
T
.fromString
in interface RuntimeDelegate.HeaderDelegate
type
- the string valueT
IllegalArgumentException
- if the supplied string cannot be
parsed or is nullpublic String toString(Object o)
RuntimeDelegate.HeaderDelegate
toString
in interface RuntimeDelegate.HeaderDelegate
o
- the value of type T
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.