Apache CXF API

org.apache.cxf.jaxrs.impl
Class ProvidersImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.ProvidersImpl
All Implemented Interfaces:
javax.ws.rs.ext.Providers

public class ProvidersImpl
extends Object
implements javax.ws.rs.ext.Providers


Constructor Summary
ProvidersImpl(Message m)
           
 
Method Summary
<T> javax.ws.rs.ext.ContextResolver<T>
getContextResolver(Class<T> contextType, javax.ws.rs.core.MediaType mediaType)
           
<T extends Throwable>
javax.ws.rs.ext.ExceptionMapper<T>
getExceptionMapper(Class<T> type)
           
<T> javax.ws.rs.ext.MessageBodyReader<T>
getMessageBodyReader(Class<T> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
           
<T> javax.ws.rs.ext.MessageBodyWriter<T>
getMessageBodyWriter(Class<T> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvidersImpl

public ProvidersImpl(Message m)
Method Detail

getMessageBodyReader

public <T> javax.ws.rs.ext.MessageBodyReader<T> getMessageBodyReader(Class<T> type,
                                                                     Type genericType,
                                                                     Annotation[] annotations,
                                                                     javax.ws.rs.core.MediaType mediaType)
Specified by:
getMessageBodyReader in interface javax.ws.rs.ext.Providers

getMessageBodyWriter

public <T> javax.ws.rs.ext.MessageBodyWriter<T> getMessageBodyWriter(Class<T> type,
                                                                     Type genericType,
                                                                     Annotation[] annotations,
                                                                     javax.ws.rs.core.MediaType mediaType)
Specified by:
getMessageBodyWriter in interface javax.ws.rs.ext.Providers

getContextResolver

public <T> javax.ws.rs.ext.ContextResolver<T> getContextResolver(Class<T> contextType,
                                                                 javax.ws.rs.core.MediaType mediaType)
Specified by:
getContextResolver in interface javax.ws.rs.ext.Providers

getExceptionMapper

public <T extends Throwable> javax.ws.rs.ext.ExceptionMapper<T> getExceptionMapper(Class<T> type)
Specified by:
getExceptionMapper in interface javax.ws.rs.ext.Providers

Apache CXF API

Apache CXF