org.apache.cxf.rs.security.jose.jaxrs
Class JsonWebKeysProvider

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jaxrs.JsonWebKeysProvider
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<JsonWebKeys>

public class JsonWebKeysProvider
extends Object
implements javax.ws.rs.ext.MessageBodyReader<JsonWebKeys>


Constructor Summary
JsonWebKeysProvider()
           
 
Method Summary
 boolean isReadable(Class<?> cls, Type type, Annotation[] anns, javax.ws.rs.core.MediaType mt)
           
 JsonWebKeys readFrom(Class<JsonWebKeys> cls, Type t, Annotation[] anns, javax.ws.rs.core.MediaType mt, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonWebKeysProvider

public JsonWebKeysProvider()
Method Detail

isReadable

public boolean isReadable(Class<?> cls,
                          Type type,
                          Annotation[] anns,
                          javax.ws.rs.core.MediaType mt)
Specified by:
isReadable in interface javax.ws.rs.ext.MessageBodyReader<JsonWebKeys>

readFrom

public JsonWebKeys readFrom(Class<JsonWebKeys> cls,
                            Type t,
                            Annotation[] anns,
                            javax.ws.rs.core.MediaType mt,
                            javax.ws.rs.core.MultivaluedMap<String,String> headers,
                            InputStream is)
                     throws IOException,
                            javax.ws.rs.WebApplicationException
Specified by:
readFrom in interface javax.ws.rs.ext.MessageBodyReader<JsonWebKeys>
Throws:
IOException
javax.ws.rs.WebApplicationException


Apache CXF