org.apache.cxf.rs.security.jose.jaxrs
Class JwsJwtMessageBodyWriter
java.lang.Object
org.apache.cxf.rs.security.jose.jaxrs.AbstractJwsWriterProvider
org.apache.cxf.rs.security.jose.jaxrs.JwsJwtMessageBodyWriter
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyWriter<JwtToken>
public class JwsJwtMessageBodyWriter
- extends AbstractJwsWriterProvider
- implements javax.ws.rs.ext.MessageBodyWriter<JwtToken>
|
Method Summary |
long |
getSize(JwtToken token,
Class<?> cls,
Type type,
Annotation[] anns,
javax.ws.rs.core.MediaType mt)
|
boolean |
isWriteable(Class<?> cls,
Type type,
Annotation[] anns,
javax.ws.rs.core.MediaType mt)
|
void |
writeTo(JwtToken token,
Class<?> cls,
Type type,
Annotation[] anns,
javax.ws.rs.core.MediaType mt,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream os)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JwsJwtMessageBodyWriter
public JwsJwtMessageBodyWriter()
getSize
public long getSize(JwtToken token,
Class<?> cls,
Type type,
Annotation[] anns,
javax.ws.rs.core.MediaType mt)
- Specified by:
getSize in interface javax.ws.rs.ext.MessageBodyWriter<JwtToken>
isWriteable
public boolean isWriteable(Class<?> cls,
Type type,
Annotation[] anns,
javax.ws.rs.core.MediaType mt)
- Specified by:
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<JwtToken>
writeTo
public void writeTo(JwtToken token,
Class<?> cls,
Type type,
Annotation[] anns,
javax.ws.rs.core.MediaType mt,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream os)
throws IOException,
javax.ws.rs.WebApplicationException
- Specified by:
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<JwtToken>
- Throws:
IOException
javax.ws.rs.WebApplicationException
Apache CXF