@Priority(value=1002) public class JwsJsonWriterInterceptor extends AbstractJwsJsonWriterProvider implements javax.ws.rs.ext.WriterInterceptor
LOG
Constructor and Description |
---|
JwsJsonWriterInterceptor() |
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 |
setUseJwsJsonOutputStream(boolean useJwsJsonOutputStream) |
getInitializedSigProviders, getPropertyLocations, setSignatureProvider, setSignatureProviders, 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 setUseJwsJsonOutputStream(boolean useJwsJsonOutputStream)
public void setEncodePayload(boolean encodePayload)
protected void protectHttpHeadersIfNeeded(javax.ws.rs.ext.WriterInterceptorContext ctx, JwsHeaders jwsHeaders)
public void setProtectHttpHeaders(boolean protectHttpHeaders)
Apache CXF