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

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

@Priority(value=1001)
public class JwsWriterInterceptor
extends AbstractJwsWriterProvider
implements javax.ws.rs.ext.WriterInterceptor


Constructor Summary
JwsWriterInterceptor()
           
 
Method Summary
 void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext ctx)
           
 void setContentTypeRequired(boolean contentTypeRequired)
           
 void setUseJwsOutputStream(boolean useJwsOutputStream)
           
 void setWriter(JoseHeadersWriter writer)
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jaxrs.AbstractJwsWriterProvider
getInitializedSigProvider, setSignatureProvider, writeJws
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JwsWriterInterceptor

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

setContentTypeRequired

public void setContentTypeRequired(boolean contentTypeRequired)

setUseJwsOutputStream

public void setUseJwsOutputStream(boolean useJwsOutputStream)

setWriter

public void setWriter(JoseHeadersWriter writer)


Apache CXF