org.apache.cxf.rs.security.jose.jaxrs
Class JweWriterInterceptor
java.lang.Object
org.apache.cxf.rs.security.jose.jaxrs.JweWriterInterceptor
- All Implemented Interfaces:
- javax.ws.rs.ext.WriterInterceptor
@Priority(value=1001)
public class JweWriterInterceptor
- extends Object
- implements javax.ws.rs.ext.WriterInterceptor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JweWriterInterceptor
public JweWriterInterceptor()
aroundWriteTo
public void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext ctx)
throws IOException,
javax.ws.rs.WebApplicationException
- Specified by:
aroundWriteTo in interface javax.ws.rs.ext.WriterInterceptor
- Throws:
IOException
javax.ws.rs.WebApplicationException
getInitializedEncryptionProvider
protected JweEncryptionProvider getInitializedEncryptionProvider(JweHeaders headers)
setUseJweOutputStream
public void setUseJweOutputStream(boolean useJweOutputStream)
setEncryptionProvider
public void setEncryptionProvider(JweEncryptionProvider encryptionProvider)
Apache CXF