| Package | Description |
|---|---|
| com.linecorp.armeria.server.encoding |
HTTP content encoding service.
|
| Modifier and Type | Method and Description |
|---|---|
static EncodingServiceBuilder |
EncodingService.builder()
Returns a new
EncodingServiceBuilder. |
EncodingServiceBuilder |
EncodingServiceBuilder.encodableContentTypePredicate(Predicate<MediaType> encodableContentTypePredicate)
Sets the specified
Predicate to evaluate whether the content type of the HttpResponse is
encodable or not. |
EncodingServiceBuilder |
EncodingServiceBuilder.encodableContentTypes(Iterable<MediaType> contentTypes)
Sets the specified
MediaTypes to evaluate whether the content type of the HttpResponse
is encodable or not. |
EncodingServiceBuilder |
EncodingServiceBuilder.encodableContentTypes(MediaType... contentTypes)
Sets the specified
MediaTypes to evaluate whether the content type of the HttpResponse
is encodable or not. |
EncodingServiceBuilder |
EncodingServiceBuilder.encodableRequestHeadersPredicate(Predicate<? super RequestHeaders> encodableRequestHeadersPredicate)
Sets the specified
Predicate to evaluate whether the corresponding HttpResponse of the
HttpRequest whose RequestHeaders is the input of the Predicate
is encodable or not. |
EncodingServiceBuilder |
EncodingServiceBuilder.minBytesToForceChunkedEncoding(int minBytesToForceChunkedAndEncoding)
Sets the specified minimum length to force chunked encoding.
|
Copyright © 2020 LeanCloud. All rights reserved.