Constructor and Description |
---|
JweWriterInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext ctx) |
protected JweEncryptionProvider |
getInitializedEncryptionProvider(JweHeaders headers) |
protected void |
protectHttpHeadersIfNeeded(javax.ws.rs.ext.WriterInterceptorContext ctx,
JweHeaders jweHeaders) |
void |
setEncryptionProvider(JweEncryptionProvider encryptionProvider) |
void |
setProtectedHttpHeaders(Set<String> protectedHttpHeaders) |
void |
setProtectHttpHeaders(boolean protectHttpHeaders) |
void |
setUseJweOutputStream(boolean useJweOutputStream) |
protected static final Logger LOG
public void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext ctx) throws IOException, javax.ws.rs.WebApplicationException
aroundWriteTo
in interface javax.ws.rs.ext.WriterInterceptor
IOException
javax.ws.rs.WebApplicationException
protected JweEncryptionProvider getInitializedEncryptionProvider(JweHeaders headers)
public void setUseJweOutputStream(boolean useJweOutputStream)
public void setEncryptionProvider(JweEncryptionProvider encryptionProvider)
protected void protectHttpHeadersIfNeeded(javax.ws.rs.ext.WriterInterceptorContext ctx, JweHeaders jweHeaders)
public void setProtectHttpHeaders(boolean protectHttpHeaders)
Apache CXF