Class JsonWebKeysProvider
java.lang.Object
org.apache.cxf.rs.security.jose.jaxrs.JsonWebKeysProvider
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys>,jakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys>
public class JsonWebKeysProvider
extends Object
implements jakarta.ws.rs.ext.MessageBodyReader<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys>, jakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetSize(org.apache.cxf.rs.security.jose.jwk.JsonWebKeys t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) booleanisReadable(Class<?> cls, Type type, Annotation[] anns, jakarta.ws.rs.core.MediaType mt) booleanisWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) org.apache.cxf.rs.security.jose.jwk.JsonWebKeysreadFrom(Class<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys> cls, Type t, Annotation[] anns, jakarta.ws.rs.core.MediaType mt, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream is) voidwriteTo(org.apache.cxf.rs.security.jose.jwk.JsonWebKeys t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
-
Constructor Details
-
JsonWebKeysProvider
public JsonWebKeysProvider()
-
-
Method Details
-
isReadable
public boolean isReadable(Class<?> cls, Type type, Annotation[] anns, jakarta.ws.rs.core.MediaType mt) - Specified by:
isReadablein interfacejakarta.ws.rs.ext.MessageBodyReader<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys>
-
readFrom
public org.apache.cxf.rs.security.jose.jwk.JsonWebKeys readFrom(Class<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys> cls, Type t, Annotation[] anns, jakarta.ws.rs.core.MediaType mt, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream is) throws IOException, jakarta.ws.rs.WebApplicationException- Specified by:
readFromin interfacejakarta.ws.rs.ext.MessageBodyReader<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys>- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteablein interfacejakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys>
-
getSize
public long getSize(org.apache.cxf.rs.security.jose.jwk.JsonWebKeys t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
getSizein interfacejakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys>
-
writeTo
public void writeTo(org.apache.cxf.rs.security.jose.jwk.JsonWebKeys t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException- Specified by:
writeToin interfacejakarta.ws.rs.ext.MessageBodyWriter<org.apache.cxf.rs.security.jose.jwk.JsonWebKeys>- Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-