@Priority(value=1002) public class JwsWriterInterceptor extends AbstractJwsWriterProvider implements javax.ws.rs.ext.WriterInterceptor
Constructor and Description |
---|
JwsWriterInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext ctx) |
protected void |
protectHttpHeadersIfNeeded(javax.ws.rs.ext.WriterInterceptorContext ctx,
JwsHeaders jwsHeaders) |
void |
setContentTypeRequired(boolean contentTypeRequired) |
void |
setEncodePayload(boolean encodePayload) |
void |
setProtectedHttpHeaders(Set<String> protectedHttpHeaders) |
void |
setProtectHttpHeaders(boolean protectHttpHeaders) |
void |
setUseJwsOutputStream(boolean useJwsOutputStream) |
getInitializedSigProvider, setRequestContextProperty, setSignatureProvider, writeJws
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
public void setContentTypeRequired(boolean contentTypeRequired)
public void setUseJwsOutputStream(boolean useJwsOutputStream)
public void setEncodePayload(boolean encodePayload)
protected void protectHttpHeadersIfNeeded(javax.ws.rs.ext.WriterInterceptorContext ctx, JwsHeaders jwsHeaders)
public void setProtectHttpHeaders(boolean protectHttpHeaders)
Apache CXF