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

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

@Priority(value=1002)
public class JwsJsonWriterInterceptor
extends AbstractJwsJsonWriterProvider
implements javax.ws.rs.ext.WriterInterceptor


Field Summary
 
Fields inherited from class org.apache.cxf.rs.security.jose.jaxrs.AbstractJwsJsonWriterProvider
LOG
 
Constructor Summary
JwsJsonWriterInterceptor()
           
 
Method Summary
 void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext ctx)
           
 void setContentTypeRequired(boolean contentTypeRequired)
           
 void setUseJwsJsonOutputStream(boolean useJwsJsonOutputStream)
           
 
Methods inherited from class org.apache.cxf.rs.security.jose.jaxrs.AbstractJwsJsonWriterProvider
getInitializedSigProviders, setSignatureProvider, setSignatureProviders, writeJws
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JwsJsonWriterInterceptor

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

setUseJwsJsonOutputStream

public void setUseJwsJsonOutputStream(boolean useJwsJsonOutputStream)


Apache CXF