| Package | Description |
|---|---|
| com.linecorp.armeria.client.logging |
Logging client decorators.
|
| com.linecorp.armeria.common.logging | |
| com.linecorp.armeria.internal.logging | |
| com.linecorp.armeria.server.logging |
Logging and metric-collecting service decorators.
|
| Modifier and Type | Method and Description |
|---|---|
static Function<? super HttpClient,ContentPreviewingClient> |
ContentPreviewingClient.newDecorator(ContentPreviewerFactory contentPreviewerFactory)
Creates a new
ContentPreviewingClient decorator with the specified
ContentPreviewerFactory. |
| Modifier and Type | Method and Description |
|---|---|
ContentPreviewerFactory |
ContentPreviewerFactoryBuilder.build()
Returns a newly-created
ContentPreviewerFactory based on the properties of this builder. |
static ContentPreviewerFactory |
ContentPreviewerFactory.text(int maxLength)
Returns a new
ContentPreviewerFactory which creates a ContentPreviewer. |
static ContentPreviewerFactory |
ContentPreviewerFactory.text(int maxLength,
Charset defaultCharset)
Returns a new
ContentPreviewerFactory which creates a ContentPreviewer. |
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
ContentPreviewingUtil.setUpResponseContentPreviewer(ContentPreviewerFactory factory,
RequestContext ctx,
HttpResponse res)
Sets up the response
ContentPreviewer to set
RequestLogBuilder.responseContentPreview(String) when the preview is available. |
| Modifier and Type | Method and Description |
|---|---|
static Function<? super HttpService,ContentPreviewingService> |
ContentPreviewingService.newDecorator(ContentPreviewerFactory contentPreviewerFactory)
Creates a new
ContentPreviewingService decorator with the specified
ContentPreviewerFactory. |
Copyright © 2020 LeanCloud. All rights reserved.