Class JweJsonWriterInterceptor

java.lang.Object
org.apache.cxf.rs.security.jose.jaxrs.AbstractJweJsonWriterProvider
org.apache.cxf.rs.security.jose.jaxrs.JweJsonWriterInterceptor
All Implemented Interfaces:
jakarta.ws.rs.ext.WriterInterceptor

@Priority(1001) public class JweJsonWriterInterceptor extends AbstractJweJsonWriterProvider implements jakarta.ws.rs.ext.WriterInterceptor
  • Constructor Details

    • JweJsonWriterInterceptor

      public JweJsonWriterInterceptor()
  • Method Details

    • aroundWriteTo

      public void aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext ctx) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      aroundWriteTo in interface jakarta.ws.rs.ext.WriterInterceptor
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException
    • setUseJweOutputStream

      public void setUseJweOutputStream(boolean useJweOutputStream)
    • protectHttpHeadersIfNeeded

      protected void protectHttpHeadersIfNeeded(jakarta.ws.rs.ext.WriterInterceptorContext ctx, org.apache.cxf.rs.security.jose.jwe.JweHeaders jweHeaders)
    • setProtectHttpHeaders

      public void setProtectHttpHeaders(boolean protectHttpHeaders)
    • setProtectedHttpHeaders

      public void setProtectedHttpHeaders(Set<String> protectedHttpHeaders)