public class ContentLengthFilter extends Object implements javax.ws.rs.client.ClientRequestFilter
A client request filter to remove content-length. It is required for calls to only allow Apache and Resteasy to set the content-length header.
Constructor and Description |
---|
ContentLengthFilter() |
ContentLengthFilter(boolean removeZeroLengthHeader) |
Modifier and Type | Method and Description |
---|---|
void |
filter(javax.ws.rs.client.ClientRequestContext requestContext) |
Copyright © 2016–2022. All rights reserved.