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

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.jaxrs.JweWriterInterceptor
All Implemented Interfaces:
javax.ws.rs.ext.WriterInterceptor

@Priority(value=1000)
public class JweWriterInterceptor
extends Object
implements javax.ws.rs.ext.WriterInterceptor


Constructor Summary
JweWriterInterceptor()
           
 
Method Summary
 void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext ctx)
           
protected  JweEncryptionProvider getInitializedEncryptionProvider()
           
 void setEncryptionProvider(JweEncryptionProvider encryptionProvider)
           
 void setUseJweOutputStream(boolean useJweOutputStream)
           
 void setWriter(JoseHeadersWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JweWriterInterceptor

public JweWriterInterceptor()
Method Detail

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()

setUseJweOutputStream

public void setUseJweOutputStream(boolean useJweOutputStream)

setWriter

public void setWriter(JoseHeadersWriter writer)

setEncryptionProvider

public void setEncryptionProvider(JweEncryptionProvider encryptionProvider)


Apache CXF