org.apache.cxf.jaxrs.impl
Class MediaTypeHeaderProvider

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.MediaTypeHeaderProvider
All Implemented Interfaces:
javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.MediaType>

public class MediaTypeHeaderProvider
extends Object
implements javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.MediaType>


Constructor Summary
MediaTypeHeaderProvider()
           
 
Method Summary
 javax.ws.rs.core.MediaType fromString(String mType)
           
 String toString(javax.ws.rs.core.MediaType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaTypeHeaderProvider

public MediaTypeHeaderProvider()
Method Detail

fromString

public javax.ws.rs.core.MediaType fromString(String mType)
Specified by:
fromString in interface javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.MediaType>

toString

public String toString(javax.ws.rs.core.MediaType type)
Specified by:
toString in interface javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<javax.ws.rs.core.MediaType>


Apache CXF