- makeContextAware(Executor) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(Callable<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(Runnable) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(Function<T, R>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(BiFunction<T, U, V>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(Consumer<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(BiConsumer<T, U>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(FutureListener<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(ChannelFutureListener) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(GenericFutureListener<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(CompletionStage<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(CompletableFuture<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- makeContextAware(Executor) - Method in interface com.linecorp.armeria.common.RequestContext
-
Returns an
Executor
that will execute callbacks in the given
executor
, making sure to
propagate the current
RequestContext
into the callback execution.
- makeContextAware(ExecutorService) - Method in interface com.linecorp.armeria.common.RequestContext
-
Returns an
ExecutorService
that will execute callbacks in the given
executor
, making
sure to propagate the current
RequestContext
into the callback execution.
- makeContextAware(Callable<T>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(Runnable) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(Function<T, R>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(BiFunction<T, U, V>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(Consumer<T>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(BiConsumer<T, U>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(FutureListener<T>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(ChannelFutureListener) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(GenericFutureListener<T>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(CompletionStage<T>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- makeContextAware(CompletableFuture<T>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- ManagedHttpHealthCheckService - Class in com.linecorp.armeria.server.healthcheck
-
- ManagedHttpHealthCheckService() - Constructor for class com.linecorp.armeria.server.healthcheck.ManagedHttpHealthCheckService
-
- MANIFEST_JSON_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
- mapCurrent(Function<? super RequestContext, T>, Supplier<T>) - Static method in interface com.linecorp.armeria.common.RequestContext
-
Maps the context of the
Request
that is being handled in the current thread.
- mappedPath() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- mappedPath() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Returns the path with its context path removed.
- mappedPath() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- mapping() - Method in class com.linecorp.armeria.server.PathMapped
-
- mappingResult() - Method in class com.linecorp.armeria.server.PathMapped
-
- match(MediaType...) - Method in class com.linecorp.armeria.common.MediaTypeSet
-
Finds the
MediaType
in this
List
that matches one of the specified media ranges.
- match(Iterable<MediaType>) - Method in class com.linecorp.armeria.common.MediaTypeSet
-
Finds the
MediaType
in this
List
that matches one of the specified media ranges.
- matchHeaders(Iterable<? extends CharSequence>) - Method in class com.linecorp.armeria.common.MediaTypeSet
-
Finds the
MediaType
in this
List
that matches one of the media ranges specified in the
specified string.
- matchHeaders(CharSequence...) - Method in class com.linecorp.armeria.common.MediaTypeSet
-
Finds the
MediaType
in this
List
that matches one of the media ranges specified in the
specified string.
- MAX_FORWARDS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"max-forwards"
.
- maxAge() - Method in class com.linecorp.armeria.server.cors.CorsConfig
-
Gets the maxAge setting.
- maxAge(long) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
-
When making a preflight request the client has to perform two request with can be inefficient.
- maxCacheEntries(int) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
-
Sets the maximum allowed number of cached file entries.
- maxCacheEntries() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
-
Returns the maximum allowed number of cached file entries.
- maxCacheEntrySizeBytes(int) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
-
Returns the maximum allowed size of a cached file entry.
- maxCacheEntrySizeBytes() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
-
Returns the maximum allowed size of a cached file entry.
- maxHttp1ChunkSize(int) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
-
Sets the maximum length of each chunk in an HTTP/1 response content.
- maxHttp1ChunkSize(int) - Method in class com.linecorp.armeria.server.ServerBuilder
-
Sets the maximum length of each chunk in an HTTP/1 response content.
- maxHttp1HeaderSize(int) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
-
Sets the maximum length of all headers in an HTTP/1 response.
- maxHttp1HeaderSize(int) - Method in class com.linecorp.armeria.server.ServerBuilder
-
Sets the maximum length of all headers in an HTTP/1 response.
- maxHttp1InitialLineLength(int) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
-
Sets the maximum length of an HTTP/1 response initial line.
- maxHttp1InitialLineLength(int) - Method in class com.linecorp.armeria.server.ServerBuilder
-
Sets the maximum length of an HTTP/1 response initial line.
- maxNumConnections(int) - Method in class com.linecorp.armeria.server.ServerBuilder
-
Sets the maximum allowed number of open connections.
- maxNumConnections() - Method in class com.linecorp.armeria.server.ServerConfig
-
Returns the maximum allowed number of open connections.
- maxRequestLength() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- maxRequestLength() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Returns the maximum length of the current
Request
.
- maxRequestLength() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- maxResponseLength() - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
Returns the maximum length of the received
Response
.
- maxResponseLength() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- maxResponseLength() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- maxTotalAttempts(int) - Method in class com.linecorp.armeria.client.retry.RetryingClientBuilder
-
Sets the maximum number of total attempts.
- MBOX - Static variable in class com.linecorp.armeria.common.MediaType
-
- measureAll(MeterRegistry) - Static method in class com.linecorp.armeria.common.metric.MoreMeters
-
Returns a newly-created immutable
Map
which contains all values of
Meter
s in the
specified
MeterRegistry
.
- MediaType - Class in com.linecorp.armeria.common
-
- mediaType() - Method in class com.linecorp.armeria.common.SerializationFormat
-
Returns the primary
MediaType
of this format.
- mediaType() - Method in class com.linecorp.armeria.server.file.HttpVfs.AbstractEntry
-
- mediaType() - Method in interface com.linecorp.armeria.server.file.HttpVfs.Entry
-
Returns the MIME type of the entry.
- MediaTypeJsonDeserializer - Class in com.linecorp.armeria.common
-
- MediaTypeJsonDeserializer() - Constructor for class com.linecorp.armeria.common.MediaTypeJsonDeserializer
-
Creates a new instance.
- MediaTypeJsonSerializer - Class in com.linecorp.armeria.common
-
- MediaTypeJsonSerializer() - Constructor for class com.linecorp.armeria.common.MediaTypeJsonSerializer
-
Creates a new instance.
- mediaTypes() - Method in class com.linecorp.armeria.common.SerializationFormat
-
Returns the media types accepted by this format.
- MediaTypeSet - Class in com.linecorp.armeria.common
-
An immutable
Set
of
MediaType
s which provides useful methods for content negotiation.
- MediaTypeSet(MediaType...) - Constructor for class com.linecorp.armeria.common.MediaTypeSet
-
Creates a new instance.
- MediaTypeSet(Iterable<MediaType>) - Constructor for class com.linecorp.armeria.common.MediaTypeSet
-
Creates a new instance.
- merge(Iterable<ServiceSpecification>) - Static method in class com.linecorp.armeria.server.docs.ServiceSpecification
-
- MeterIdPrefix - Class in com.linecorp.armeria.common.metric
-
A common prefix of
Meter.Id
which consists of
Meter
name and
Tag
s.
- MeterIdPrefix(String) - Constructor for class com.linecorp.armeria.common.metric.MeterIdPrefix
-
Creates a new instance with no
Tag
s.
- MeterIdPrefix(String, String...) - Constructor for class com.linecorp.armeria.common.metric.MeterIdPrefix
-
Creates a new instance.
- MeterIdPrefix(String, Iterable<Tag>) - Constructor for class com.linecorp.armeria.common.metric.MeterIdPrefix
-
Creates a new instance.
- MeterIdPrefixFunction - Interface in com.linecorp.armeria.common.metric
-
- meterRegistry() - Method in interface com.linecorp.armeria.client.ClientFactory
-
- meterRegistry(MeterRegistry) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
-
- meterRegistry() - Method in class com.linecorp.armeria.client.DecoratingClientFactory
-
- meterRegistry() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- meterRegistry() - Method in interface com.linecorp.armeria.common.RequestContext
-
- meterRegistry() - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- meterRegistry() - Method in class com.linecorp.armeria.server.Server
-
- meterRegistry(MeterRegistry) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- meterRegistry() - Method in class com.linecorp.armeria.server.ServerConfig
-
- meterTag() - Method in class com.linecorp.armeria.server.AbstractPathMapping
-
- meterTag() - Method in interface com.linecorp.armeria.server.file.HttpVfs
-
Returns the value of the
"vfs"
Tag
in a
Meter
.
- meterTag() - Method in interface com.linecorp.armeria.server.PathMapping
-
Returns the value of the
"pathMapping"
Tag
in a
Meter
.
- METHOD - Static variable in interface com.linecorp.armeria.client.circuitbreaker.KeyedCircuitBreakerMapping.KeySelector
-
- method() - Method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Returns the
METHOD
of this message.
- method() - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- method(HttpMethod) - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- method() - Method in class com.linecorp.armeria.common.DefaultRpcRequest
-
- METHOD - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
":method"
.
- method() - Method in interface com.linecorp.armeria.common.HttpHeaders
-
- method(HttpMethod) - Method in interface com.linecorp.armeria.common.HttpHeaders
-
- method() - Method in interface com.linecorp.armeria.common.HttpRequest
-
Returns the method of this request.
- method(HttpMethod) - Method in interface com.linecorp.armeria.common.HttpRequest
-
Sets the method of this request.
- method() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- method() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- method() - Method in interface com.linecorp.armeria.common.RequestContext
-
Returns the HTTP method of the current
Request
.
- method() - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- method() - Method in interface com.linecorp.armeria.common.RpcRequest
-
Returns the method name.
- method() - Method in interface com.linecorp.armeria.server.PathMappingContext
-
- METHOD_NOT_ALLOWED - Static variable in class com.linecorp.armeria.common.HttpStatus
-
405 Method Not Allowed.
- MethodInfo - Class in com.linecorp.armeria.server.docs
-
Metadata about a function of a
Service
.
- MethodInfo(String, TypeSignature, Iterable<FieldInfo>, Iterable<TypeSignature>, Iterable<EndpointInfo>) - Constructor for class com.linecorp.armeria.server.docs.MethodInfo
-
Creates a new instance.
- MethodInfo(String, TypeSignature, Iterable<FieldInfo>, Iterable<TypeSignature>, Iterable<EndpointInfo>, Iterable<HttpHeaders>, Iterable<String>, String) - Constructor for class com.linecorp.armeria.server.docs.MethodInfo
-
Creates a new instance.
- methods() - Method in class com.linecorp.armeria.server.docs.ServiceInfo
-
Returns the metadata about the methods available in the service.
- MetricCollectingCircuitBreakerListener - Class in com.linecorp.armeria.client.circuitbreaker
-
- MetricCollectingCircuitBreakerListener(MeterRegistry) - Constructor for class com.linecorp.armeria.client.circuitbreaker.MetricCollectingCircuitBreakerListener
-
Creates a new instance with the default name .
- MetricCollectingCircuitBreakerListener(MeterRegistry, String) - Constructor for class com.linecorp.armeria.client.circuitbreaker.MetricCollectingCircuitBreakerListener
-
Creates a new instance with the specified
Meter
name.
- MetricCollectingClient<I extends Request,O extends Response> - Class in com.linecorp.armeria.client.metric
-
- MetricCollectingService<I extends Request,O extends Response> - Class in com.linecorp.armeria.server.metric
-
- MICROSOFT_EXCEL - Static variable in class com.linecorp.armeria.common.MediaType
-
- MICROSOFT_POWERPOINT - Static variable in class com.linecorp.armeria.common.MediaType
-
- MICROSOFT_WORD - Static variable in class com.linecorp.armeria.common.MediaType
-
- minimumRequestThreshold(long) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
-
Sets the minimum number of requests within a time window necessary to detect a remote service fault.
- MISDIRECTED_REQUEST - Static variable in class com.linecorp.armeria.common.HttpStatus
-
421 Misdirected Request.
- mode(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.healthcheck.ManagedHttpHealthCheckService
-
Judge the turning mode.
- MoreMeters - Class in com.linecorp.armeria.common.metric
-
- MoreNamingConventions - Class in com.linecorp.armeria.common.metric
-
- MOVED_PERMANENTLY - Static variable in class com.linecorp.armeria.common.HttpStatus
-
301 Moved Permanently.
- MP4_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
-
- MP4_VIDEO - Static variable in class com.linecorp.armeria.common.MediaType
-
- MPEG_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
-
- MPEG_VIDEO - Static variable in class com.linecorp.armeria.common.MediaType
-
- MULTI_STATUS - Static variable in class com.linecorp.armeria.common.HttpStatus
-
207 Multi-Status (WebDAV, RFC2518).
- MULTIPLE_CHOICES - Static variable in class com.linecorp.armeria.common.HttpStatus
-
300 Multiple Choices.
- NACL_APPLICATION - Static variable in class com.linecorp.armeria.common.MediaType
-
Media type for NaCl applications.
- NACL_PORTABLE_APPLICATION - Static variable in class com.linecorp.armeria.common.MediaType
-
Media type for NaCl portable applications.
- name() - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreaker
-
Returns the name of the circuit breaker.
- name() - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
-
Returns the name.
- name(String) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
-
Returns the name concatenated by the specified suffix
.
- name() - Method in class com.linecorp.armeria.server.docs.EnumInfo
-
- name() - Method in class com.linecorp.armeria.server.docs.EnumValueInfo
-
Returns the name of the enum value.
- name() - Method in class com.linecorp.armeria.server.docs.ExceptionInfo
-
- name() - Method in class com.linecorp.armeria.server.docs.FieldInfo
-
Returns the fully qualified type name of the field.
- name() - Method in class com.linecorp.armeria.server.docs.MethodInfo
-
Returns the name of the function.
- name() - Method in interface com.linecorp.armeria.server.docs.NamedTypeInfo
-
Returns the fully qualified type name.
- name() - Method in class com.linecorp.armeria.server.docs.ServiceInfo
-
Returns the fully qualified type name of the service.
- name() - Method in class com.linecorp.armeria.server.docs.StructInfo
-
- name() - Method in class com.linecorp.armeria.server.docs.TypeSignature
-
Returns the name of the type.
- name() - Method in class com.linecorp.armeria.server.throttling.ThrottlingStrategy
-
- namedTypeDescriptor() - Method in class com.linecorp.armeria.server.docs.TypeSignature
-
Returns the descriptor of the type if and only if this type signature represents a named type.
- NamedTypeInfo - Interface in com.linecorp.armeria.server.docs
-
Metadata about a named type.
- nameWithoutParameters() - Method in class com.linecorp.armeria.common.MediaType
-
Returns a name of this
MediaType
only consisting of the type and the sub type.
- NativeLibraries - Class in com.linecorp.armeria.common.util
-
- negotiatedProduceType() - Method in class com.linecorp.armeria.server.PathMappingResult
-
- negotiatedProduceType() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- negotiatedResponseMediaType() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- negotiatedResponseMediaType() - Method in class com.linecorp.armeria.server.PathMappingResult
-
Returns the negotiated producible media type.
- negotiatedResponseMediaType() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Returns the negotiated producible media type.
- negotiatedResponseMediaType() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- NETWORK_AUTHENTICATION_REQUIRED - Static variable in class com.linecorp.armeria.common.HttpStatus
-
511 Network Authentication Required (RFC6585).
- never() - Static method in interface com.linecorp.armeria.client.retry.RetryStrategy
-
- never() - Static method in class com.linecorp.armeria.server.throttling.ThrottlingStrategy
-
- newClient(String, Class<T>, ClientOptionValue<?>...) - Method in class com.linecorp.armeria.client.AbstractClientFactory
-
- newClient(String, Class<T>, ClientOptions) - Method in class com.linecorp.armeria.client.AbstractClientFactory
-
- newClient(URI, Class<T>, ClientOptionValue<?>...) - Method in class com.linecorp.armeria.client.AbstractClientFactory
-
- newClient(String, Class<T>, ClientOptionValue<?>...) - Method in interface com.linecorp.armeria.client.ClientFactory
-
Creates a new client that connects to the specified uri
.
- newClient(String, Class<T>, ClientOptions) - Method in interface com.linecorp.armeria.client.ClientFactory
-
Creates a new client that connects to the specified uri
.
- newClient(URI, Class<T>, ClientOptionValue<?>...) - Method in interface com.linecorp.armeria.client.ClientFactory
-
Creates a new client that connects to the specified
URI
using the default
ClientFactory
.
- newClient(URI, Class<T>, ClientOptions) - Method in interface com.linecorp.armeria.client.ClientFactory
-
Creates a new client that connects to the specified
URI
using the default
ClientFactory
.
- newClient(String, Class<T>, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new client that connects to the specified
uri
using the default
ClientFactory
.
- newClient(String, Class<T>, ClientOptions) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new client that connects to the specified
uri
using the default
ClientFactory
.
- newClient(ClientFactory, String, Class<T>, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new client that connects to the specified
uri
using an alternative
ClientFactory
.
- newClient(ClientFactory, String, Class<T>, ClientOptions) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new client that connects to the specified
uri
using an alternative
ClientFactory
.
- newClient(URI, Class<T>, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new client that connects to the specified
URI
using the default
ClientFactory
.
- newClient(URI, Class<T>, ClientOptions) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new client that connects to the specified
URI
using the default
ClientFactory
.
- newClient(ClientFactory, URI, Class<T>, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new client that connects to the specified
URI
using an alternative
ClientFactory
.
- newClient(ClientFactory, URI, Class<T>, ClientOptions) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new client that connects to the specified
URI
using an alternative
ClientFactory
.
- newClient(URI, Class<T>, ClientOptions) - Method in class com.linecorp.armeria.client.DecoratingClientFactory
-
- newCounter(Meter.Id) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
-
- newDecoder() - Method in class com.linecorp.armeria.client.encoding.DeflateStreamDecoderFactory
-
- newDecoder() - Method in class com.linecorp.armeria.client.encoding.GzipStreamDecoderFactory
-
- newDecoder() - Method in interface com.linecorp.armeria.client.encoding.StreamDecoderFactory
-
- newDecorator(CircuitBreaker, CircuitBreakerStrategy<HttpResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
-
- newDecorator(CircuitBreakerMapping, CircuitBreakerStrategy<HttpResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
-
- newDecorator(CircuitBreaker, CircuitBreakerStrategy<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
-
- newDecorator(CircuitBreakerMapping, CircuitBreakerStrategy<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
-
- newDecorator() - Static method in class com.linecorp.armeria.client.encoding.HttpDecodingClient
-
Creates a new
HttpDecodingClient
decorator with the default encodings of 'gzip' and 'deflate'.
- newDecorator(StreamDecoderFactory...) - Static method in class com.linecorp.armeria.client.encoding.HttpDecodingClient
-
- newDecorator(Iterable<? extends StreamDecoderFactory>) - Static method in class com.linecorp.armeria.client.encoding.HttpDecodingClient
-
- newDecorator(int) - Static method in class com.linecorp.armeria.client.limit.ConcurrencyLimitingHttpClient
-
Creates a new
Client
decorator that limits the concurrent number of active HTTP requests.
- newDecorator(int, long, TimeUnit) - Static method in class com.linecorp.armeria.client.limit.ConcurrencyLimitingHttpClient
-
Creates a new
Client
decorator that limits the concurrent number of active HTTP requests.
- newDecorator() - Static method in class com.linecorp.armeria.client.logging.LoggingClient
-
- newDecorator(LogLevel) - Static method in class com.linecorp.armeria.client.logging.LoggingClient
-
- newDecorator() - Method in class com.linecorp.armeria.client.logging.LoggingClientBuilder
-
Returns a newly-created
LoggingClient
decorator based on the properties of this builder.
- newDecorator(MeterIdPrefixFunction) - Static method in class com.linecorp.armeria.client.metric.MetricCollectingClient
-
- newDecorator(RetryStrategy<HttpRequest, HttpResponse>) - Static method in class com.linecorp.armeria.client.retry.RetryingHttpClient
-
Creates a new
Client
decorator that handles failures of an invocation and retries HTTP requests.
- newDecorator(RetryStrategy<HttpRequest, HttpResponse>, int) - Static method in class com.linecorp.armeria.client.retry.RetryingHttpClient
-
Creates a new
Client
decorator that handles failures of an invocation and retries HTTP requests.
- newDecorator(RetryStrategy<HttpRequest, HttpResponse>, int, long) - Static method in class com.linecorp.armeria.client.retry.RetryingHttpClient
-
Creates a new
Client
decorator that handles failures of an invocation and retries HTTP requests.
- newDecorator() - Method in class com.linecorp.armeria.client.retry.RetryingHttpClientBuilder
-
Returns a newly-created decorator that decorates a
Client
with a new
RetryingHttpClient
based on the properties of this builder.
- newDecorator(RetryStrategy<RpcRequest, RpcResponse>) - Static method in class com.linecorp.armeria.client.retry.RetryingRpcClient
-
Creates a new
Client
decorator that handles failures of an invocation and retries RPC requests.
- newDecorator(RetryStrategy<RpcRequest, RpcResponse>, int) - Static method in class com.linecorp.armeria.client.retry.RetryingRpcClient
-
Creates a new
Client
decorator that handles failures of an invocation and retries RPC requests.
- newDecorator(RetryStrategy<RpcRequest, RpcResponse>, int, long) - Static method in class com.linecorp.armeria.client.retry.RetryingRpcClient
-
Creates a new
Client
decorator that handles failures of an invocation and retries RPC requests.
- newDecorator() - Method in class com.linecorp.armeria.client.retry.RetryingRpcClientBuilder
-
Returns a newly-created decorator that decorates a
Client
with a new
RetryingRpcClient
based on the properties of this builder.
- newDecorator(LoggingDecorator) - Method in class com.linecorp.armeria.server.annotation.decorator.LoggingDecoratorFactoryFunction
-
Creates a new decorator with the specified parameter
.
- newDecorator(RateLimitingDecorator) - Method in class com.linecorp.armeria.server.annotation.decorator.RateLimitingDecoratorFactoryFunction
-
Creates a new decorator with the specified parameter
.
- newDecorator(T) - Method in interface com.linecorp.armeria.server.annotation.DecoratorFactoryFunction
-
Creates a new decorator with the specified parameter
.
- newDecorator(Iterable<? extends Authorizer<HttpRequest>>) - Static method in class com.linecorp.armeria.server.auth.HttpAuthService
-
- newDecorator(Authorizer<HttpRequest>...) - Static method in class com.linecorp.armeria.server.auth.HttpAuthService
-
- newDecorator() - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
-
- newDecorator() - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
-
Returns a newly-created decorator that decorates a
Service
with a new
CorsService
based on the properties of this builder.
- newDecorator() - Static method in class com.linecorp.armeria.server.logging.LoggingService
-
- newDecorator(LogLevel) - Static method in class com.linecorp.armeria.server.logging.LoggingService
-
- newDecorator() - Method in class com.linecorp.armeria.server.logging.LoggingServiceBuilder
-
Returns a newly-created
LoggingService
decorator based on the properties of this builder.
- newDecorator(MeterIdPrefixFunction) - Static method in class com.linecorp.armeria.server.metric.MetricCollectingService
-
- newDecorator(ThrottlingStrategy<HttpRequest>) - Static method in class com.linecorp.armeria.server.throttling.ThrottlingHttpService
-
- newDecorator(ThrottlingStrategy<RpcRequest>) - Static method in class com.linecorp.armeria.server.throttling.ThrottlingRpcService
-
- newDerivedClient(T, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new derived client that connects to the same
URI
with the specified
client
and the specified
additionalOptions
.
- newDerivedClient(T, Iterable<ClientOptionValue<?>>) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new derived client that connects to the same
URI
with the specified
client
and the specified
additionalOptions
.
- newDerivedClient(T, Function<? super ClientOptions, ClientOptions>) - Static method in class com.linecorp.armeria.client.Clients
-
Creates a new derived client that connects to the same
URI
with the specified
client
but with different
ClientOption
s.
- newDerivedContext() - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
- newDerivedContext(Request) - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
- newDerivedContext() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- newDerivedContext(Request) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- newDerivedContext() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- newDerivedContext(Request) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- newDerivedContext() - Method in interface com.linecorp.armeria.common.RequestContext
-
- newDerivedContext(Request) - Method in interface com.linecorp.armeria.common.RequestContext
-
- newDerivedContext() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- newDerivedContext(Request) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- newDerivedContext() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- newDerivedContext(Request) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- newDerivedContext() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- newDerivedContext(Request) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- newDistributionSummary(MeterRegistry, String, Iterable<Tag>) - Static method in class com.linecorp.armeria.common.metric.MoreMeters
-
- newDistributionSummary(Meter.Id, DistributionStatisticConfig, double) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
-
- newEndpoint(URI) - Static method in class com.linecorp.armeria.client.AbstractClientFactory
-
Creates a new
Endpoint
from the authority part of the specified
URI
.
- newEventLoopGroup(int) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
-
- newEventLoopGroup(int, boolean) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
-
- newEventLoopGroup(int, String) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
-
- newEventLoopGroup(int, String, boolean) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
-
- newEventLoopGroup(int, ThreadFactory) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
-
- newFactory(ClientFactory) - Method in interface com.linecorp.armeria.client.ClientFactoryProvider
-
- newFunctionCounter(Meter.Id, T, ToDoubleFunction<T>) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
-
- newFunctionTimer(Meter.Id, T, ToLongFunction<T>, ToDoubleFunction<T>, TimeUnit) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
-
- newGauge(Meter.Id, T, ToDoubleFunction<T>) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
-
- newHeaderEntry(int, AsciiString, String, DefaultHeaders.HeaderEntry<AsciiString, String>) - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- newHealthyResponse(ServiceRequestContext) - Method in class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
-
Creates a new response which is sent when the
Server
is healthy.
- newLongTaskTimer(Meter.Id) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
-
- newMeter(Meter.Id, Meter.Type, Iterable<Measurement>) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
-
- newMeterBinder(String) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
-
- newMeterBinder(MeterIdPrefix) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
-
- newPerHostAndMethodDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategy<HttpResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
-
- newPerHostAndMethodDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategy<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
-
- newPerHostDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategy<HttpResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
-
- newPerHostDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategy<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
-
- newPerMethodDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategy<HttpResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
-
- newPerMethodDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategy<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
-
- newRegistry() - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
-
- newRegistry(MetricRegistry) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
-
- newRegistry(HierarchicalNameMapper) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
-
- newRegistry(MetricRegistry, HierarchicalNameMapper) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
-
- newRegistry(HierarchicalNameMapper, Clock) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
-
- newRegistry(MetricRegistry, HierarchicalNameMapper, Clock) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
-
- newRegistry() - Static method in class com.linecorp.armeria.common.metric.PrometheusMeterRegistries
-
- newRegistry(CollectorRegistry) - Static method in class com.linecorp.armeria.common.metric.PrometheusMeterRegistries
-
- newRegistry(CollectorRegistry, Clock) - Static method in class com.linecorp.armeria.common.metric.PrometheusMeterRegistries
-
- newSelector(EndpointGroup) - Method in interface com.linecorp.armeria.client.endpoint.EndpointSelectionStrategy
-
- newSelector(EndpointGroup) - Method in class com.linecorp.armeria.client.endpoint.StickyEndpointSelectionStrategy
-
Creates a new StickyEndpointSelector
.
- newTimer(MeterRegistry, String, Iterable<Tag>) - Static method in class com.linecorp.armeria.common.metric.MoreMeters
-
- newTimer(Meter.Id, DistributionStatisticConfig, PauseDetector) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
-
- newUnhealthyResponse(ServiceRequestContext) - Method in class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
-
Creates a new response which is sent when the
Server
is unhealthy.
- newValue(T) - Method in class com.linecorp.armeria.client.ClientOption
-
Creates a new value of this option.
- nextDelayMillis(int) - Method in class com.linecorp.armeria.client.retry.AbstractBackoff
-
- nextDelayMillis(int) - Method in interface com.linecorp.armeria.client.retry.Backoff
-
Returns the number of milliseconds to wait for before attempting a retry.
- nextDelayMillis(int) - Method in class com.linecorp.armeria.client.retry.BackoffWrapper
-
- nextEventLoop() - Method in class com.linecorp.armeria.server.Server
-
- NO_CONTENT - Static variable in class com.linecorp.armeria.common.HttpStatus
-
204 No Content.
- NON_AUTHORITATIVE_INFORMATION - Static variable in class com.linecorp.armeria.common.HttpStatus
-
203 Non-Authoritative Information (since HTTP/1.1).
- nonce() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
-
- NONE - Static variable in class com.linecorp.armeria.client.ClientDecoration
-
- NONE - Static variable in class com.linecorp.armeria.common.SerializationFormat
-
No serialization format.
- NONE - Static variable in interface com.linecorp.armeria.server.file.HttpVfs.Entry
-
A non-existent entry.
- NonNullByDefault - Annotation Type in com.linecorp.armeria.common.util
-
An annotation that signifies the return values, parameters and fields are non-nullable by default
leveraging the JSR-305
Nonnull
annotation.
- NonWrappingRequestContext - Class in com.linecorp.armeria.common
-
- NonWrappingRequestContext(MeterRegistry, SessionProtocol, HttpMethod, String, String, Request) - Constructor for class com.linecorp.armeria.common.NonWrappingRequestContext
-
Creates a new instance.
- noop() - Static method in interface com.linecorp.armeria.client.pool.KeyedChannelPoolHandler
-
Returns an instance that does nothing.
- NOOP - Static variable in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
- NoopMeterRegistry - Class in com.linecorp.armeria.common.metric
-
- NoopSubscriber<T> - Class in com.linecorp.armeria.common.stream
-
A Subscriber
that discards all elements silently.
- NoopSubscriber() - Constructor for class com.linecorp.armeria.common.stream.NoopSubscriber
-
- NOT_ACCEPTABLE - Static variable in class com.linecorp.armeria.common.HttpStatus
-
406 Not Acceptable.
- NOT_EXTENDED - Static variable in class com.linecorp.armeria.common.HttpStatus
-
510 Not Extended (RFC2774).
- NOT_FOUND - Static variable in class com.linecorp.armeria.common.HttpStatus
-
404 Not Found.
- NOT_IMPLEMENTED - Static variable in class com.linecorp.armeria.common.HttpStatus
-
501 Not Implemented.
- NOT_MODIFIED - Static variable in class com.linecorp.armeria.common.HttpStatus
-
304 Not Modified.
- notifyListeners(T) - Method in class com.linecorp.armeria.common.util.AbstractListenable
-
- numActiveRequests() - Method in class com.linecorp.armeria.client.limit.ConcurrencyLimitingClient
-
Returns the number of the
Request
s that are being executed.
- numCommonBlockingTaskThreads() - Static method in class com.linecorp.armeria.common.Flags
-
- numCommonWorkers() - Static method in class com.linecorp.armeria.common.Flags
-
- numConnections() - Method in class com.linecorp.armeria.server.Server
-
Returns the number of open connections on this
Server
.
- numWildcards() - Method in class com.linecorp.armeria.common.MediaType
-
Returns the number of wildcards of this
MediaType
.
- OAUTH1A - Static variable in class com.linecorp.armeria.server.auth.AuthTokenExtractors
-
- OAuth1aToken - Class in com.linecorp.armeria.server.auth
-
- OAUTH2 - Static variable in class com.linecorp.armeria.server.auth.AuthTokenExtractors
-
- OAuth2Token - Class in com.linecorp.armeria.server.auth
-
- obtrudeException(Throwable) - Method in class com.linecorp.armeria.common.DefaultRpcResponse
-
- OCTET_STREAM - Static variable in class com.linecorp.armeria.common.MediaType
-
- of(String) - Static method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreaker
-
Creates a new
CircuitBreaker
that has the specified name and the default configurations.
- of(Class<I>, Class<O>, Function<T, R>) - Static method in class com.linecorp.armeria.client.ClientDecoration
-
Creates a new instance from a single decorator
Function
.
- of(ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.ClientOptions
-
- of(Iterable<ClientOptionValue<?>>) - Static method in class com.linecorp.armeria.client.ClientOptions
-
- of(ClientOptions, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.ClientOptions
-
- of(ClientOptions, Iterable<ClientOptionValue<?>>) - Static method in class com.linecorp.armeria.client.ClientOptions
-
- of(ClientOptions, ClientOptions) - Static method in class com.linecorp.armeria.client.ClientOptions
-
- of(String) - Static method in class com.linecorp.armeria.client.endpoint.dns.DnsAddressEndpointGroup
-
- of(String, int) - Static method in class com.linecorp.armeria.client.endpoint.dns.DnsAddressEndpointGroup
-
- of(String) - Static method in class com.linecorp.armeria.client.endpoint.dns.DnsServiceEndpointGroup
-
- of(String, Function<byte[], Endpoint>) - Static method in class com.linecorp.armeria.client.endpoint.dns.DnsTextEndpointGroup
-
- of(EndpointGroup, String) - Static method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroup
-
- of(EndpointGroup, String, Duration) - Static method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroup
-
- of(ClientFactory, EndpointGroup, String, Duration) - Static method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroup
-
- of(String, int) - Static method in class com.linecorp.armeria.client.Endpoint
-
- of(String) - Static method in class com.linecorp.armeria.client.Endpoint
-
Creates a new host
Endpoint
with unspecified port number.
- of(String, int, int) - Static method in class com.linecorp.armeria.client.Endpoint
-
- of(ClassLoader, String, String) - Static method in class com.linecorp.armeria.client.endpoint.PropertiesEndpointGroup
-
Creates a new
EndpointGroup
instance that loads the host names (or IP address) and the port
numbers of the
Endpoint
from the
resourceName
resource file.
- of(ClassLoader, String, String, int) - Static method in class com.linecorp.armeria.client.endpoint.PropertiesEndpointGroup
-
Creates a new
EndpointGroup
instance that loads the host names (or IP address) and the port
numbers of the
Endpoint
from the
resourceName
resource file.
- of(Properties, String) - Static method in class com.linecorp.armeria.client.endpoint.PropertiesEndpointGroup
-
- of(Properties, String, int) - Static method in class com.linecorp.armeria.client.endpoint.PropertiesEndpointGroup
-
- of(String, ClientOptionValue<?>...) - Static method in interface com.linecorp.armeria.client.HttpClient
-
Creates a new HTTP client that connects to the specified
uri
using the default
ClientFactory
.
- of(String, ClientOptions) - Static method in interface com.linecorp.armeria.client.HttpClient
-
Creates a new HTTP client that connects to the specified
uri
using the default
ClientFactory
.
- of(ClientFactory, String, ClientOptionValue<?>...) - Static method in interface com.linecorp.armeria.client.HttpClient
-
Creates a new HTTP client that connects to the specified
uri
using an alternative
ClientFactory
.
- of(ClientFactory, String, ClientOptions) - Static method in interface com.linecorp.armeria.client.HttpClient
-
Creates a new HTTP client that connects to the specified
uri
using an alternative
ClientFactory
.
- of(URI, ClientOptionValue<?>...) - Static method in interface com.linecorp.armeria.client.HttpClient
-
Creates a new HTTP client that connects to the specified
URI
using the default
ClientFactory
.
- of(URI, ClientOptions) - Static method in interface com.linecorp.armeria.client.HttpClient
-
Creates a new HTTP client that connects to the specified
URI
using the default
ClientFactory
.
- of(ClientFactory, URI, ClientOptionValue<?>...) - Static method in interface com.linecorp.armeria.client.HttpClient
-
Creates a new HTTP client that connects to the specified
URI
using an alternative
ClientFactory
.
- of(ClientFactory, URI, ClientOptions) - Static method in interface com.linecorp.armeria.client.HttpClient
-
Creates a new HTTP client that connects to the specified
URI
using an alternative
ClientFactory
.
- of(String) - Static method in interface com.linecorp.armeria.client.retry.Backoff
-
- of(HttpMethod, String) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP request with empty content.
- of(HttpMethod, String, MediaType, String) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP request.
- of(HttpMethod, String, MediaType, String, Object...) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP request.
- of(HttpMethod, String, MediaType, byte[]) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP request.
- of(HttpMethod, String, MediaType, byte[], int, int) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP request.
- of(HttpMethod, String, MediaType, HttpData) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP request.
- of(HttpMethod, String, MediaType, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP request.
- of(int) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP response.
- of(HttpStatus) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP response.
- of(HttpStatus, MediaType, String) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP response of the specified
HttpStatus
.
- of(HttpStatus, MediaType, String, Object...) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP response of the specified
HttpStatus
.
- of(HttpStatus, MediaType, byte[]) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP response of the specified
HttpStatus
.
- of(HttpStatus, MediaType, byte[], int, int) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP response of the specified
HttpStatus
.
- of(HttpStatus, MediaType, HttpData) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP response of the specified
HttpStatus
.
- of(HttpStatus, MediaType, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP response of the specified
HttpStatus
.
- of(HttpHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP message with empty content.
- of(HttpHeaders, HttpData) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP message.
- of(HttpHeaders, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP message.
- of(Iterable<HttpHeaders>, HttpHeaders, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Creates a new HTTP message.
- of(byte[]) - Static method in interface com.linecorp.armeria.common.HttpData
-
Creates a new instance from the specified byte array.
- of(byte[], int, int) - Static method in interface com.linecorp.armeria.common.HttpData
-
Creates a new instance from the specified byte array, offset
and length
.
- of(Charset, String) - Static method in interface com.linecorp.armeria.common.HttpData
-
Converts the specified
text
into an
HttpData
.
- of(ByteBuf) - Static method in interface com.linecorp.armeria.common.HttpData
-
- of(Charset, String, Object...) - Static method in interface com.linecorp.armeria.common.HttpData
-
Converts the specified formatted string into an
HttpData
.
- of(String) - Static method in class com.linecorp.armeria.common.HttpHeaderNames
-
Lower-cases and converts the specified header name into an
AsciiString
.
- of() - Static method in interface com.linecorp.armeria.common.HttpHeaders
-
Returns new empty HTTP headers.
- of(HttpMethod, String) - Static method in interface com.linecorp.armeria.common.HttpHeaders
-
Returns new HTTP request headers.
- of(int) - Static method in interface com.linecorp.armeria.common.HttpHeaders
-
Returns new HTTP response headers.
- of(HttpStatus) - Static method in interface com.linecorp.armeria.common.HttpHeaders
-
Returns new HTTP response headers.
- of(AsciiString, String) - Static method in interface com.linecorp.armeria.common.HttpHeaders
-
Returns new HTTP headers with a single entry.
- of(AsciiString, String, AsciiString, String) - Static method in interface com.linecorp.armeria.common.HttpHeaders
-
Returns new HTTP headers with two entries.
- of(AsciiString, String, AsciiString, String, AsciiString, String) - Static method in interface com.linecorp.armeria.common.HttpHeaders
-
Returns new HTTP headers with three entries.
- of(AsciiString, String, AsciiString, String, AsciiString, String, AsciiString, String) - Static method in interface com.linecorp.armeria.common.HttpHeaders
-
Returns new HTTP headers with four entries.
- of() - Static method in interface com.linecorp.armeria.common.HttpParameters
-
Returns a new empty HTTP parameters map.
- of(HttpMethod, String) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new HTTP request with empty content and closes the stream.
- of(HttpMethod, String, MediaType, String) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new HTTP request and closes the stream.
- of(HttpMethod, String, MediaType, String, Object...) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new HTTP request and closes the stream.
- of(HttpMethod, String, MediaType, byte[]) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new HTTP request and closes the stream.
- of(HttpMethod, String, MediaType, byte[], int, int) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new HTTP request and closes the stream.
- of(HttpMethod, String, MediaType, HttpData) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new HTTP request and closes the stream.
- of(HttpMethod, String, MediaType, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new HTTP request and closes the stream.
- of(HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new
HttpRequest
with empty content and closes the stream.
- of(HttpHeaders, HttpData) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
- of(HttpHeaders, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
- of(HttpHeaders, HttpObject...) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
- of(AggregatedHttpMessage) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
- of(HttpHeaders, Publisher<? extends HttpObject>) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new instance from an existing
HttpHeaders
and
Publisher
.
- of(int) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
- of(HttpStatus) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
- of(HttpStatus, MediaType, String) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified
HttpStatus
and closes the stream.
- of(String) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of OK status with the content as UTF_8 and closes the stream.
- of(String, Object...) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of OK status with the content as UTF_8 and closes the stream.
- of(MediaType, String) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of OK status with the content and closes the stream.
- of(MediaType, String, Object...) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of OK status with the content and closes the stream.
- of(HttpStatus, MediaType, String, Object...) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified
HttpStatus
and closes the stream.
- of(HttpStatus, MediaType, byte[]) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified
HttpStatus
and closes the stream.
- of(HttpStatus, MediaType, byte[], int, int) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified
HttpStatus
and closes the stream.
- of(HttpStatus, MediaType, HttpData) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified
HttpStatus
and closes the stream.
- of(HttpStatus, MediaType, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified
HttpStatus
and closes the stream.
- of(HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified headers.
- of(HttpHeaders, HttpData) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified headers and content.
- of(HttpHeaders, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified objects and closes the stream.
- of(HttpObject...) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response of the specified objects and closes the stream.
- of(AggregatedHttpMessage) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
- of(Publisher<? extends HttpObject>) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response whose stream is produced from an existing Publisher
.
- of(Class<?>, String) - Static method in interface com.linecorp.armeria.common.RpcRequest
-
Creates a new instance with no parameter.
- of(Class<?>, String, Object) - Static method in interface com.linecorp.armeria.common.RpcRequest
-
Creates a new instance with a single parameter.
- of(Class<?>, String, Iterable<?>) - Static method in interface com.linecorp.armeria.common.RpcRequest
-
Creates a new instance with the specified parameters.
- of(Class<?>, String, Object...) - Static method in interface com.linecorp.armeria.common.RpcRequest
-
Creates a new instance with the specified parameters.
- of(Object) - Static method in interface com.linecorp.armeria.common.RpcResponse
-
- of(SerializationFormat, SessionProtocol) - Static method in class com.linecorp.armeria.common.Scheme
-
- of(String) - Static method in class com.linecorp.armeria.common.SerializationFormat
-
- of(String) - Static method in enum com.linecorp.armeria.common.SessionProtocol
-
- of() - Static method in interface com.linecorp.armeria.common.stream.StreamMessage
-
Creates a new
StreamMessage
that will publish no objects, just a close event.
- of(T) - Static method in interface com.linecorp.armeria.common.stream.StreamMessage
-
- of(T, T) - Static method in interface com.linecorp.armeria.common.stream.StreamMessage
-
Creates a new
StreamMessage
that will publish the two
obj1
and
obj2
.
- of(T...) - Static method in interface com.linecorp.armeria.common.stream.StreamMessage
-
- of(Cookie...) - Static method in interface com.linecorp.armeria.server.annotation.Cookies
-
Creates an instance with a copy of the specified set of
Cookie
s.
- of(String, String) - Static method in class com.linecorp.armeria.server.auth.BasicToken
-
Creates a new
BasicToken
from the given
username
and
password
.
- of(Map<String, String>) - Static method in class com.linecorp.armeria.server.auth.OAuth1aToken
-
- of(String) - Static method in class com.linecorp.armeria.server.auth.OAuth2Token
-
- of(String, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- of(PathMapping, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- of(int) - Static method in exception com.linecorp.armeria.server.HttpResponseException
-
- of(HttpStatus) - Static method in exception com.linecorp.armeria.server.HttpResponseException
-
- of(AggregatedHttpMessage) - Static method in exception com.linecorp.armeria.server.HttpResponseException
-
- of(HttpResponse) - Static method in exception com.linecorp.armeria.server.HttpResponseException
-
- of(int) - Static method in exception com.linecorp.armeria.server.HttpStatusException
-
- of(HttpStatus) - Static method in exception com.linecorp.armeria.server.HttpStatusException
-
- of(String) - Static method in interface com.linecorp.armeria.server.PathMapping
-
Creates a new
PathMapping
that matches the specified
pathPattern
. e.g.
- of(String, String) - Static method in class com.linecorp.armeria.server.PathMappingResult
-
Creates a new instance with the specified path
and query
, without any path parameters.
- of(String, String, Map<String, String>) - Static method in class com.linecorp.armeria.server.PathMappingResult
-
Creates a new instance with the specified path
, query
and the extracted path parameters.
- of(String, String, Map<String, String>, int) - Static method in class com.linecorp.armeria.server.PathMappingResult
-
Creates a new instance with the specified path
, query
, the extracted path parameters
and the score.
- of(SocketAddress, SocketAddress) - Static method in class com.linecorp.armeria.server.ProxiedAddresses
-
Creates a new instance.
- of(BiFunction<ServiceRequestContext, T, CompletionStage<Boolean>>, String) - Static method in class com.linecorp.armeria.server.throttling.ThrottlingStrategy
-
- of(BiFunction<ServiceRequestContext, T, CompletionStage<Boolean>>) - Static method in class com.linecorp.armeria.server.throttling.ThrottlingStrategy
-
- ofAscii(String) - Static method in interface com.linecorp.armeria.common.HttpData
-
Converts the specified
text
into a US-ASCII
HttpData
.
- ofAscii(String, Object...) - Static method in interface com.linecorp.armeria.common.HttpData
-
Converts the specified formatted string into a US-ASCII
HttpData
.
- ofBase(String) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new type signature for a base type.
- ofCatchAll(Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- ofCatchAll() - Static method in interface com.linecorp.armeria.server.PathMapping
-
Returns a singleton
PathMapping
that always matches any path.
- ofClassPath(String) - Static method in interface com.linecorp.armeria.server.file.HttpVfs
-
Creates a new
HttpVfs
with the specified
rootDir
in the current class path.
- ofClassPath(ClassLoader, String) - Static method in interface com.linecorp.armeria.server.file.HttpVfs
-
Creates a new
HttpVfs
with the specified
rootDir
in the current class path.
- ofCompositeService(List<CompositeServiceEntry<I, O>>) - Static method in class com.linecorp.armeria.server.Routers
-
- ofContainer(String, TypeSignature...) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new container type with the specified container type name and the type signatures of the
elements it contains.
- ofContainer(String, Iterable<TypeSignature>) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new container type with the specified container type name and the type signatures of the
elements it contains.
- ofDefault(String) - Static method in interface com.linecorp.armeria.common.metric.MeterIdPrefixFunction
-
Returns the default function that creates a
MeterIdPrefix
with the specified name and
the
Tag
s derived from the
RequestLog
properties.
- ofDefaultName() - Static method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreaker
-
Creates a new
CircuitBreaker
that has a default name and the default configurations.
- ofExact(String, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- ofExact(String) - Static method in interface com.linecorp.armeria.server.PathMapping
-
Creates a new
PathMapping
that performs an exact match.
- ofFailed(Throwable) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
- ofFailure(Throwable) - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new failed HTTP response.
- ofFailure(Throwable) - Static method in interface com.linecorp.armeria.common.RpcResponse
-
- offerChannel(K, Channel) - Method in class com.linecorp.armeria.client.pool.DefaultKeyedChannelPool
-
- ofFileSystem(String) - Static method in interface com.linecorp.armeria.server.file.HttpVfs
-
Creates a new
HttpVfs
with the specified
rootDir
in an O/S file system.
- ofFileSystem(Path) - Static method in interface com.linecorp.armeria.server.file.HttpVfs
-
Creates a new
HttpVfs
with the specified
rootDir
in an O/S file system.
- offset() - Method in class com.linecorp.armeria.common.DefaultHttpData
-
- offset() - Method in interface com.linecorp.armeria.common.HttpData
-
- offset() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- ofGlob(String, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- ofGlob(String) - Static method in interface com.linecorp.armeria.server.PathMapping
-
Creates a new
PathMapping
that matches a
path with
the specified glob expression, where
"*"
matches a path component non-recursively and
"**"
matches path components recursively.
- ofGroup(String) - Static method in class com.linecorp.armeria.client.Endpoint
-
- ofList(TypeSignature) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new type signature for the list with the specified element type signature.
- ofList(Class<?>) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new type signature for the list with the specified named element type.
- ofMap(TypeSignature, TypeSignature) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new type signature for the map with the specified key and value type signatures.
- ofMap(Class<?>, Class<?>) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new type signature for the map with the specified named key and value types.
- ofNamed(Class<?>) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new named type signature for the specified type.
- ofNamed(String, Object) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new named type signature for the provided name and arbitrary descriptor.
- ofPrefix(String, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- ofPrefix(String) - Static method in interface com.linecorp.armeria.server.PathMapping
-
Creates a new
PathMapping
that matches a
path
under the specified directory prefix.
- ofPrefix(String, boolean) - Static method in interface com.linecorp.armeria.server.PathMapping
-
Creates a new
PathMapping
that matches a
path
under the specified directory prefix.
- ofRegex(Pattern, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- ofRegex(Pattern) - Static method in interface com.linecorp.armeria.server.PathMapping
-
Creates a new
PathMapping
that matches a
path with
the specified regular expression and extracts the values of the named groups.
- ofRegex(String) - Static method in interface com.linecorp.armeria.server.PathMapping
-
Creates a new
PathMapping
that matches a
path with
the specified regular expression and extracts the values of the named groups.
- ofSet(TypeSignature) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new type signature for the set with the specified element type signature.
- ofSet(Class<?>) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new type signature for the set with the specified named element type.
- ofThrift() - Static method in class com.linecorp.armeria.common.SerializationFormat
-
- ofUnresolved(String) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
-
Creates a new unresolved type signature with the specified type name.
- ofUtf8(String) - Static method in interface com.linecorp.armeria.common.HttpData
-
Converts the specified
text
into a UTF-8
HttpData
.
- ofUtf8(String, Object...) - Static method in interface com.linecorp.armeria.common.HttpData
-
Converts the specified formatted string into a UTF-8
HttpData
.
- ofVirtualHost(Iterable<ServiceConfig>) - Static method in class com.linecorp.armeria.server.Routers
-
- OGG_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
-
- OGG_CONTAINER - Static variable in class com.linecorp.armeria.common.MediaType
-
- OGG_VIDEO - Static variable in class com.linecorp.armeria.common.MediaType
-
- OK - Static variable in class com.linecorp.armeria.common.HttpStatus
-
200 OK.
- onChild(BiConsumer<? super RequestContext, ? super RequestContext>) - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- onChild(BiConsumer<? super RequestContext, ? super RequestContext>) - Method in interface com.linecorp.armeria.common.RequestContext
-
Registers callback
to be run when this context is replaced by a child context.
- onChild(BiConsumer<? super RequestContext, ? super RequestContext>) - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- onComplete() - Method in class com.linecorp.armeria.common.stream.NoopSubscriber
-
- onDemand(Runnable) - Method in interface com.linecorp.armeria.common.stream.StreamWriter
-
Performs the specified task
when there are enough demands from the Subscriber
.
- OneElementFixedStreamMessage<T> - Class in com.linecorp.armeria.common.stream
-
A FixedStreamMessage
that only publishes one object.
- OneElementFixedStreamMessage(T) - Constructor for class com.linecorp.armeria.common.stream.OneElementFixedStreamMessage
-
- onEnter(Runnable) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- onEnter(Consumer<? super RequestContext>) - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- onEnter(Consumer<? super RequestContext>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- onEnter(Runnable) - Method in interface com.linecorp.armeria.common.RequestContext
-
- onEnter(Consumer<? super RequestContext>) - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- onError(Throwable) - Method in class com.linecorp.armeria.common.stream.NoopSubscriber
-
- onEventCountUpdated(CircuitBreaker, EventCount) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListener
-
Invoked when the circuit breaker's internal
EventCount
is updated.
- onEventCountUpdated(CircuitBreaker, EventCount) - Method in class com.linecorp.armeria.client.circuitbreaker.MetricCollectingCircuitBreakerListener
-
- onExit(Runnable) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- onExit(Consumer<? super RequestContext>) - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- onExit(Consumer<? super RequestContext>) - Method in interface com.linecorp.armeria.common.RequestContext
-
- onExit(Runnable) - Method in interface com.linecorp.armeria.common.RequestContext
-
- onExit(Consumer<? super RequestContext>) - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- onFailure() - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreaker
-
Reports a remote invocation failure.
- onFailure(ServiceRequestContext, HttpRequest, Throwable) - Method in class com.linecorp.armeria.server.auth.HttpAuthService
-
Invoked when req
is failed.
- onFailure(ServiceRequestContext, HttpRequest, Throwable) - Method in class com.linecorp.armeria.server.throttling.ThrottlingHttpService
-
Invoked when req
is throttled.
- onFailure(ServiceRequestContext, RpcRequest, Throwable) - Method in class com.linecorp.armeria.server.throttling.ThrottlingRpcService
-
Invoked when req
is throttled.
- onFailure(ServiceRequestContext, I, Throwable) - Method in class com.linecorp.armeria.server.throttling.ThrottlingService
-
Invoked when req
is throttled.
- onNext(T) - Method in class com.linecorp.armeria.common.stream.NoopSubscriber
-
- onRequestLog(RequestLog) - Method in interface com.linecorp.armeria.common.logging.RequestLogListener
-
- onRequestRejected(CircuitBreaker) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListener
-
Invoked when the circuit breaker rejects a request.
- onRequestRejected(CircuitBreaker) - Method in class com.linecorp.armeria.client.circuitbreaker.MetricCollectingCircuitBreakerListener
-
- onRequestTimeoutChange(long) - Method in interface com.linecorp.armeria.server.RequestTimeoutChangeListener
-
Invoked when the request timeout of the current request has been changed.
- onRetryingComplete(ClientRequestContext) - Static method in class com.linecorp.armeria.client.retry.RetryingClient
-
This should be called when retrying is finished.
- onServerErrorStatus() - Static method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerStrategy
-
- onServerErrorStatus() - Static method in interface com.linecorp.armeria.client.retry.RetryStrategy
-
- onServerErrorStatus(Backoff) - Static method in interface com.linecorp.armeria.client.retry.RetryStrategy
-
- onStateChanged(CircuitBreaker, CircuitState) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListener
-
Invoked when the circuit state is changed.
- onStateChanged(CircuitBreaker, CircuitState) - Method in class com.linecorp.armeria.client.circuitbreaker.MetricCollectingCircuitBreakerListener
-
- onStatus(BiFunction<HttpStatus, Throwable, Boolean>) - Static method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerStrategy
-
- onStatus(BiFunction<HttpStatus, Throwable, Backoff>) - Static method in interface com.linecorp.armeria.client.retry.RetryStrategy
-
Returns the
RetryStrategy
that decides to retry the request using the specified
backoffFunction
.
- onSubscribe(Subscription) - Method in class com.linecorp.armeria.common.stream.NoopSubscriber
-
- onSuccess() - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreaker
-
Reports a remote invocation success.
- onSuccess(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.auth.HttpAuthService
-
Invoked when req
is successful.
- onSuccess(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.throttling.ThrottlingService
-
Invoked when req
is not throttled.
- OOXML_DOCUMENT - Static variable in class com.linecorp.armeria.common.MediaType
-
- OOXML_PRESENTATION - Static variable in class com.linecorp.armeria.common.MediaType
-
- OOXML_SHEET - Static variable in class com.linecorp.armeria.common.MediaType
-
- OPENDOCUMENT_GRAPHICS - Static variable in class com.linecorp.armeria.common.MediaType
-
- OPENDOCUMENT_PRESENTATION - Static variable in class com.linecorp.armeria.common.MediaType
-
- OPENDOCUMENT_SPREADSHEET - Static variable in class com.linecorp.armeria.common.MediaType
-
- OPENDOCUMENT_TEXT - Static variable in class com.linecorp.armeria.common.MediaType
-
- option() - Method in class com.linecorp.armeria.common.util.AbstractOptionValue
-
Returns the option that this option value holder belongs to.
- options() - Method in interface com.linecorp.armeria.client.ClientBuilderParams
-
Returns the options of the client.
- options() - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
- options() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- options() - Method in class com.linecorp.armeria.client.DefaultClientBuilderParams
-
- options() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- options(String) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP OPTIONS request.
- options() - Method in class com.linecorp.armeria.client.UserClient
-
- Options - Annotation Type in com.linecorp.armeria.server.annotation
-
- Order - Annotation Type in com.linecorp.armeria.server.annotation
-
Specifies an order which is used to sort the annotated service methods.
- orElse(EndpointGroup) - Method in interface com.linecorp.armeria.client.endpoint.EndpointGroup
-
- orElse(Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.file.HttpFileService
-
- ORIGIN - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"origin"
.
- origin() - Method in class com.linecorp.armeria.server.cors.CorsConfig
-
Returns the allowed origin.
- origins() - Method in class com.linecorp.armeria.server.cors.CorsConfig
-
Returns the set of allowed origins.
- overridePath(String) - Method in interface com.linecorp.armeria.server.PathMappingContext
-
- Param - Annotation Type in com.linecorp.armeria.server.annotation
-
Annotation for mapping a parameter of a request onto the following elements.
- parameters() - Method in class com.linecorp.armeria.common.MediaType
-
Returns a multimap containing the parameters of this media type.
- parameters() - Method in class com.linecorp.armeria.server.docs.MethodInfo
-
Returns the metadata about the parameters of the function.
- paramNames() - Method in interface com.linecorp.armeria.server.PathMapping
-
Returns the names of the path parameters extracted by this mapping.
- params() - Method in class com.linecorp.armeria.common.DefaultRpcRequest
-
- params() - Method in interface com.linecorp.armeria.common.RpcRequest
-
Returns the parameters.
- parse(String) - Static method in class com.linecorp.armeria.client.Endpoint
-
Parse the authority part of a URI.
- parse(String) - Static method in class com.linecorp.armeria.common.MediaType
-
Parses a media type from its string representation.
- parse(String) - Static method in class com.linecorp.armeria.common.Scheme
-
- parsedPathCacheSpec() - Static method in class com.linecorp.armeria.common.Flags
-
Returns the value of the parsedPathCache
parameter.
- PARTIAL_CONTENT - Static variable in class com.linecorp.armeria.common.HttpStatus
-
206 Partial Content.
- password() - Method in class com.linecorp.armeria.server.auth.BasicToken
-
- patch(String, HttpData) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP PATCH request with the specified content.
- patch(String, byte[]) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP PATCH request with the specified content.
- patch(String, String) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP PATCH request with the specified content.
- patch(String, String, Charset) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP PATCH request with the specified content.
- Patch - Annotation Type in com.linecorp.armeria.server.annotation
-
- path() - Method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Returns the
PATH
of this message.
- path() - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- path(String) - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- PATH - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
":path"
.
- path() - Method in interface com.linecorp.armeria.common.HttpHeaders
-
- path(String) - Method in interface com.linecorp.armeria.common.HttpHeaders
-
- path() - Method in interface com.linecorp.armeria.common.HttpRequest
-
Returns the path of this request.
- path(String) - Method in interface com.linecorp.armeria.common.HttpRequest
-
Sets the path of this request.
- path() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the absolute path part of the
Request
URI, excluding the query part,
as defined in
RFC3986.
- path() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- path() - Method in interface com.linecorp.armeria.common.RequestContext
-
Returns the absolute path part of the current
Request
URI, excluding the query part,
as defined in
RFC3986.
- path() - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- Path - Annotation Type in com.linecorp.armeria.server.annotation
-
Annotation for mapping dynamic web requests onto specific method.
- path() - Method in class com.linecorp.armeria.server.docs.EndpointInfo
-
Returns the path of this endpoint.
- path() - Method in interface com.linecorp.armeria.server.PathMappingContext
-
Returns the absolute path retrieved from the request,
as defined in
RFC3986.
- path() - Method in class com.linecorp.armeria.server.PathMappingResult
-
- PathMapped<T> - Class in com.linecorp.armeria.server
-
- pathMapping() - Method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- pathMapping() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- PathMapping - Interface in com.linecorp.armeria.server
-
Matches the absolute path part of a URI and extracts path parameters from it.
- pathMapping() - Method in class com.linecorp.armeria.server.ServiceConfig
-
- pathMapping() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- pathMapping() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- pathMappingContext() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- PathMappingContext - Interface in com.linecorp.armeria.server
-
Holds the parameters which are required to find a service available to handle the request.
- pathMappingContext() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- pathMappingContext() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- PathMappingResult - Class in com.linecorp.armeria.server
-
- pathMappings() - Method in interface com.linecorp.armeria.server.ServiceWithPathMappings
-
- pathParam(String) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Returns the value of the specified path parameter.
- pathParams() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- pathParams() - Method in class com.linecorp.armeria.server.PathMappingResult
-
Returns the path parameters extracted by the
PathMapping
.
- pathParams() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- pathParams() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- PAYMENT_REQUIRED - Static variable in class com.linecorp.armeria.common.HttpStatus
-
402 Payment Required.
- PDF - Static variable in class com.linecorp.armeria.common.MediaType
-
- peel(Throwable) - Static method in class com.linecorp.armeria.common.util.Exceptions
-
- pendingResponses() - Method in class com.linecorp.armeria.server.GracefulShutdownSupport
-
Returns the number of pending responses.
- PLAIN_TEXT_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
- PNG - Static variable in class com.linecorp.armeria.common.MediaType
-
- PoolKey - Class in com.linecorp.armeria.client.pool
-
- PoolKey(String, String, int, SessionProtocol) - Constructor for class com.linecorp.armeria.client.pool.PoolKey
-
Creates a new key with the specified host
, ipAddr
, port
and
sessionProtocol
.
- port(int) - Method in class com.linecorp.armeria.client.endpoint.dns.DnsAddressEndpointGroupBuilder
-
- port() - Method in class com.linecorp.armeria.client.Endpoint
-
Returns the port number of this endpoint.
- port(int) - Method in class com.linecorp.armeria.client.Endpoint
-
Returns the port number of this endpoint.
- port() - Method in class com.linecorp.armeria.client.pool.PoolKey
-
Returns the port number of the server associated with this key.
- port(int, String) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- port(int, SessionProtocol...) - Method in class com.linecorp.armeria.server.ServerBuilder
-
Adds a new
ServerPort
that listens to the specified
port
of all available network
interfaces using the specified
SessionProtocol
s.
- port(int, Iterable<SessionProtocol>) - Method in class com.linecorp.armeria.server.ServerBuilder
-
Adds a new
ServerPort
that listens to the specified
port
of all available network
interfaces using the specified
SessionProtocol
s.
- port(InetSocketAddress, String) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- port(InetSocketAddress, SessionProtocol...) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- port(InetSocketAddress, Iterable<SessionProtocol>) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- port(ServerPort) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- ports() - Method in class com.linecorp.armeria.server.ServerConfig
-
- post(String, HttpData) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP POST request with the specified content.
- post(String, byte[]) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP POST request with the specified content.
- post(String, String) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP POST request with the specified content.
- post(String, String, Charset) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP POST request with the specified content.
- Post - Annotation Type in com.linecorp.armeria.server.annotation
-
- POSTSCRIPT - Static variable in class com.linecorp.armeria.common.MediaType
-
- PRAGMA - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"pragma"
.
- PRECONDITION_FAILED - Static variable in class com.linecorp.armeria.common.HttpStatus
-
412 Precondition Failed.
- PRECONDITION_REQUIRED - Static variable in class com.linecorp.armeria.common.HttpStatus
-
428 Precondition Required (RFC6585).
- PREFER - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"prefer"
.
- prefix() - Method in class com.linecorp.armeria.server.AbstractPathMapping
-
- prefix() - Method in interface com.linecorp.armeria.server.PathMapping
-
Returns the prefix of this path mapping if it is a prefix mapping, or
Optional.empty()
otherwise.
- preflightResponseHeader(String, Object...) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
-
Returns HTTP response headers that should be added to a CORS preflight response.
- preflightResponseHeader(AsciiString, Object...) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
-
Returns HTTP response headers that should be added to a CORS preflight response.
- preflightResponseHeader(AsciiString, Iterable<T>) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
-
Returns HTTP response headers that should be added to a CORS preflight response.
- preflightResponseHeader(AsciiString, Supplier<T>) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
-
Returns HTTP response headers that should be added to a CORS preflight response.
- preflightResponseHeaders() - Method in class com.linecorp.armeria.server.cors.CorsConfig
-
Returns HTTP response headers that should be added to a CORS preflight response.
- PROCESSING - Static variable in class com.linecorp.armeria.common.HttpStatus
-
102 Processing (WebDAV, RFC2518).
- Produces - Annotation Type in com.linecorp.armeria.server.annotation
-
Specifies a media type which would be produced by the service method or class.
- ProducesBinary - Annotation Type in com.linecorp.armeria.server.annotation
-
An alias for @Produces("application/binary")
.
- ProducesGroup - Annotation Type in com.linecorp.armeria.server.annotation
-
The containing annotation type for
Produces
.
- ProducesJson - Annotation Type in com.linecorp.armeria.server.annotation
-
An alias for @Produces("application/json; charset=utf-8")
.
- ProducesOctetStream - Annotation Type in com.linecorp.armeria.server.annotation
-
An alias for @Produces("application/octet-stream")
.
- ProducesText - Annotation Type in com.linecorp.armeria.server.annotation
-
An alias for @Produces("text/plain; charset=utf-8")
.
- ProduceType - Annotation Type in com.linecorp.armeria.server.annotation
-
- ProduceTypes - Annotation Type in com.linecorp.armeria.server.annotation
-
- produceTypes() - Method in interface com.linecorp.armeria.server.PathMappingContext
-
Returns a list of
MediaType
that is ordered by client-side preferences.
- producibleMediaTypes() - Method in class com.linecorp.armeria.server.VirtualHost
-
Returns
MediaTypeSet
that consists of media types producible by this virtual host.
- prometheus() - Static method in class com.linecorp.armeria.common.metric.MoreNamingConventions
-
- PrometheusExpositionService - Class in com.linecorp.armeria.server.metric
-
- PrometheusExpositionService(CollectorRegistry) - Constructor for class com.linecorp.armeria.server.metric.PrometheusExpositionService
-
Creates a new instance.
- PrometheusMeterRegistries - Class in com.linecorp.armeria.common.metric
-
- PropertiesEndpointGroup - Class in com.linecorp.armeria.client.endpoint
-
- PROTOBUF - Static variable in class com.linecorp.armeria.common.MediaType
-
- protocol(SessionProtocol) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
-
- protocol() - Method in class com.linecorp.armeria.server.ServerPort
-
- protocols() - Method in class com.linecorp.armeria.server.ServerPort
-
- ProtocolViolationException - Exception in com.linecorp.armeria.common
-
- ProtocolViolationException() - Constructor for exception com.linecorp.armeria.common.ProtocolViolationException
-
Creates a new exception.
- ProtocolViolationException(String) - Constructor for exception com.linecorp.armeria.common.ProtocolViolationException
-
Creates a new instance with the specified message
.
- ProtocolViolationException(String, Throwable) - Constructor for exception com.linecorp.armeria.common.ProtocolViolationException
-
Creates a new instance with the specified message
and cause
.
- ProtocolViolationException(Throwable) - Constructor for exception com.linecorp.armeria.common.ProtocolViolationException
-
Creates a new instance with the specified cause
.
- ProtocolViolationException(String, Throwable, boolean, boolean) - Constructor for exception com.linecorp.armeria.common.ProtocolViolationException
-
Creates a new instance with the specified message
, cause
, suppression enabled or
disabled, and writable stack trace enabled or disabled.
- proxiedAddresses() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- ProxiedAddresses - Class in com.linecorp.armeria.server
-
An interface to provide source and destination addresses delivered from a proxy server.
- proxiedAddresses() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Returns the proxied addresses if the current
Request
is received through a proxy.
- proxiedAddresses() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- PROXY_AUTHENTICATE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"proxy-authenticate"
.
- PROXY_AUTHENTICATION_REQUIRED - Static variable in class com.linecorp.armeria.common.HttpStatus
-
407 Proxy Authentication Required.
- PROXY_AUTHORIZATION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"proxy-authorization"
.
- PROXY_CONNECTION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
- proxyProtocolMaxTlvSize(int) - Method in class com.linecorp.armeria.server.ServerBuilder
-
Sets the maximum size of additional data for PROXY protocol.
- proxyProtocolMaxTlvSize() - Method in class com.linecorp.armeria.server.ServerConfig
-
Returns the maximum size of additional data (TLV, Tag-Length-Value).
- PSD - Static variable in class com.linecorp.armeria.common.MediaType
-
The media type for the Photoshop File Format (
psd
files) as defined by
IANA, and
found in
/etc/mime.types
, e.g.
- PublisherBasedStreamMessage<T> - Class in com.linecorp.armeria.common.stream
-
- PublisherBasedStreamMessage(Publisher<? extends T>) - Constructor for class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
-
Creates a new instance with the specified delegate Publisher
.
- push(RequestContext) - Static method in interface com.linecorp.armeria.common.RequestContext
-
- push(RequestContext, boolean) - Static method in interface com.linecorp.armeria.common.RequestContext
-
- push() - Method in interface com.linecorp.armeria.common.RequestContext
-
Pushes the specified context to the thread-local stack.
- push(boolean) - Method in interface com.linecorp.armeria.common.RequestContext
-
Pushes the specified context to the thread-local stack.
- pushIfAbsent() - Method in interface com.linecorp.armeria.common.RequestContext
-
Pushes this context to the thread-local stack if there is no current context.
- put(String, HttpData) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP PUT request with the specified content.
- put(String, byte[]) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP PUT request with the specified content.
- put(String, String) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP PUT request with the specified content.
- put(String, String, Charset) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP PUT request with the specified content.
- Put - Annotation Type in com.linecorp.armeria.server.annotation
-
- random(long, long) - Static method in interface com.linecorp.armeria.client.retry.Backoff
-
Returns a
Backoff
that computes backoff delay which is a random value between
minDelayMillis
and
maxDelayMillis
chosen by
ThreadLocalRandom
.
- random(long, long, Supplier<Random>) - Static method in interface com.linecorp.armeria.client.retry.Backoff
-
Returns a
Backoff
that computes backoff delay which is a random value between
minDelayMillis
and
maxDelayMillis
.
- RANGE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"range"
.
- RateLimitingDecorator - Annotation Type in com.linecorp.armeria.server.annotation.decorator
-
- RateLimitingDecoratorFactoryFunction - Class in com.linecorp.armeria.server.annotation.decorator
-
- RateLimitingDecoratorFactoryFunction() - Constructor for class com.linecorp.armeria.server.annotation.decorator.RateLimitingDecoratorFactoryFunction
-
- RateLimitingDecorators - Annotation Type in com.linecorp.armeria.server.annotation.decorator
-
- RateLimitingThrottlingStrategy<T extends Request> - Class in com.linecorp.armeria.server.throttling
-
- RateLimitingThrottlingStrategy(double, String) - Constructor for class com.linecorp.armeria.server.throttling.RateLimitingThrottlingStrategy
-
Creates a new strategy with specified name.
- RateLimitingThrottlingStrategy(double) - Constructor for class com.linecorp.armeria.server.throttling.RateLimitingThrottlingStrategy
-
Creates a new strategy.
- rawRequestContent() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- rawRequestContent() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- rawResponseContent() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- rawResponseContent() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- RDF_XML_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
- read() - Method in interface com.linecorp.armeria.common.util.Ticker
-
Returns the number of nanoseconds elapsed since this ticker's fixed point of reference.
- readContent(InputStream) - Method in class com.linecorp.armeria.server.file.HttpVfs.AbstractEntry
-
Reads the content of the entry into a new buffer.
- readContent(InputStream, int) - Method in class com.linecorp.armeria.server.file.HttpVfs.AbstractEntry
-
Reads the content of the entry into a new buffer.
- readContent() - Method in class com.linecorp.armeria.server.file.HttpVfs.ByteArrayEntry
-
- readContent() - Method in interface com.linecorp.armeria.server.file.HttpVfs.Entry
-
Reads the content of the entry into a new buffer.
- realm() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
-
- reasonPhrase() - Method in class com.linecorp.armeria.common.HttpStatus
-
- RedirectService - Class in com.linecorp.armeria.server
-
- RedirectService(String) - Constructor for class com.linecorp.armeria.server.RedirectService
-
Creates a new instance that redirects to the location constructed with the specified
locationPattern
.
- RedirectService(Function<? super ServiceRequestContext, String>) - Constructor for class com.linecorp.armeria.server.RedirectService
-
Creates a new instance that redirects to the location returned by locationFunction
.
- RedirectService(HttpStatus, String) - Constructor for class com.linecorp.armeria.server.RedirectService
-
Creates a new instance that redirects to the location constructed with the specified
locationPattern
.
- RedirectService(HttpStatus, Function<? super ServiceRequestContext, String>) - Constructor for class com.linecorp.armeria.server.RedirectService
-
Creates a new instance that redirects to the location returned by locationFunction
.
- refCnt() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- REFERER - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"referer"
.
- register(String, EndpointGroup, EndpointSelectionStrategy) - Static method in class com.linecorp.armeria.client.endpoint.EndpointGroupRegistry
-
- registerMetrics(MeterRegistry, MeterIdPrefix) - Method in interface com.linecorp.armeria.server.Router
-
- RegularFixedStreamMessage<T> - Class in com.linecorp.armeria.common.stream
-
A FixedStreamMessage
that publishes an arbitrary number of objects.
- RegularFixedStreamMessage(T[]) - Constructor for class com.linecorp.armeria.common.stream.RegularFixedStreamMessage
-
- rejectPromise(Promise<?>, Throwable) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- rejectPromise(Promise<?>, Throwable) - Method in interface com.linecorp.armeria.common.RequestContext
-
- ReleasableHolder<T> - Interface in com.linecorp.armeria.common.util
-
A holder of releasable resource T
.
- release(K, Channel) - Method in class com.linecorp.armeria.client.pool.DefaultKeyedChannelPool
-
- release(K, Channel, Promise<Void>) - Method in class com.linecorp.armeria.client.pool.DefaultKeyedChannelPool
-
- release(K, Channel) - Method in interface com.linecorp.armeria.client.pool.KeyedChannelPool
-
Releases the acquired
Channel
to the pool.
- release(K, Channel, Promise<Void>) - Method in interface com.linecorp.armeria.client.pool.KeyedChannelPool
-
Releases the acquired
Channel
to the pool and get notified with the specified
Promise
.
- release() - Method in interface com.linecorp.armeria.common.util.ReleasableHolder
-
Releases the resource.
- release() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- release(int) - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- remoteAddress() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- remoteAddress() - Method in interface com.linecorp.armeria.common.RequestContext
-
Returns the remote address of this request, or null
if the connection is not established yet.
- remoteAddress() - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- remoteAddress() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Returns the remote address of this request.
- removeAdditionalRequestHeader(AsciiString) - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
Removes all headers with the specified name
.
- removeAdditionalRequestHeader(AsciiString) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- removeAdditionalRequestHeader(AsciiString) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- removeAdditionalResponseHeader(AsciiString) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- removeAdditionalResponseHeader(AsciiString) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Removes all headers with the specified name
.
- removeAdditionalResponseHeader(AsciiString) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- removeEldestEntry(Map.Entry<T, U>) - Method in class com.linecorp.armeria.common.util.LruMap
-
Returns
true
if the
HashMap.size()
of this map exceeds the maximum number of allowed entries.
- removeEndpoint(Endpoint) - Method in class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
-
- removeListener(Consumer<?>) - Method in interface com.linecorp.armeria.client.endpoint.EndpointGroup
-
- removeListener(Consumer<?>) - Method in class com.linecorp.armeria.common.util.AbstractListenable
-
- removeListener(Consumer<?>) - Method in interface com.linecorp.armeria.common.util.Listenable
-
Remove a listener.
- removeListener(ServerListener) - Method in class com.linecorp.armeria.server.Server
-
- replace(ByteBuf) - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- report() - Static method in class com.linecorp.armeria.common.util.NativeLibraries
-
- reportSuccessOrFailure(CircuitBreaker, CompletionStage<Boolean>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClient
-
Reports a success or a failure to the specified
CircuitBreaker
according to the completed value
of the specified
future
.
- repositoryStatus() - Method in class com.linecorp.armeria.common.util.Version
-
- request() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- Request - Interface in com.linecorp.armeria.common
-
A request.
- request() - Method in interface com.linecorp.armeria.common.RequestContext
-
Returns the
Request
associated with this context.
- request() - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- REQUEST_ENTITY_TOO_LARGE - Static variable in class com.linecorp.armeria.common.HttpStatus
-
413 Request Entity Too Large.
- REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class com.linecorp.armeria.common.HttpStatus
-
431 Request Header Fields Too Large (RFC6585).
- REQUEST_TIMEOUT - Static variable in class com.linecorp.armeria.common.HttpStatus
-
408 Request Timeout.
- REQUEST_URI_TOO_LONG - Static variable in class com.linecorp.armeria.common.HttpStatus
-
414 Request-URI Too Long.
- requestCause() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestCause() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the cause of request processing failure.
- requestContent() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestContent(Object, Object) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestContent() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- requestContent(Object, Object) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
- requestContentSanitizer(Function<Object, Object>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Sets the
Function
to use to sanitize request content before logging.
- requestContentSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Returns the
Function
to use to sanitize request content before logging.
- RequestContext - Interface in com.linecorp.armeria.common
-
- RequestContextWrapper<T extends RequestContext> - Class in com.linecorp.armeria.common
-
- RequestContextWrapper(T) - Constructor for class com.linecorp.armeria.common.RequestContextWrapper
-
Creates a new instance.
- RequestConverter - Annotation Type in com.linecorp.armeria.server.annotation
-
- RequestConverterFunction - Interface in com.linecorp.armeria.server.annotation
-
- RequestConverters - Annotation Type in com.linecorp.armeria.server.annotation
-
- requestDurationNanos() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestDurationNanos() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the duration that was taken to consume or produce the request completely, in nanoseconds.
- REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class com.linecorp.armeria.common.HttpStatus
-
416 Requested Range Not Satisfiable.
- requestEndTimeNanos() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestEndTimeNanos() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the time when the processing of the request finished, in nanoseconds.
- requestHeaders() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestHeaders(HttpHeaders) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestHeaders() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- requestHeaders(HttpHeaders) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
- requestHeadersSanitizer(Function<HttpHeaders, HttpHeaders>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Sets the
Function
to use to sanitize request headers before logging.
- requestHeadersSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Returns the
Function
to use to sanitize request headers before logging.
- requestLength() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestLength(long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestLength() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the length of the request content.
- requestLength(long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
- RequestLog - Interface in com.linecorp.armeria.common.logging
-
A set of informational properties collected while processing a
Request
and its
Response
.
- RequestLogAvailability - Enum in com.linecorp.armeria.common.logging
-
Tells which properties are available in a
RequestLog
.
- RequestLogAvailabilityException - Exception in com.linecorp.armeria.common.logging
-
- RequestLogAvailabilityException() - Constructor for exception com.linecorp.armeria.common.logging.RequestLogAvailabilityException
-
Creates a new instance.
- RequestLogAvailabilityException(String) - Constructor for exception com.linecorp.armeria.common.logging.RequestLogAvailabilityException
-
Creates a new instance with the specified message
.
- RequestLogAvailabilityException(String, Throwable) - Constructor for exception com.linecorp.armeria.common.logging.RequestLogAvailabilityException
-
Creates a new instance with the specified message
and cause
.
- RequestLogAvailabilityException(Throwable) - Constructor for exception com.linecorp.armeria.common.logging.RequestLogAvailabilityException
-
Creates a new instance with the specified cause
.
- RequestLogAvailabilityException(String, Throwable, boolean, boolean) - Constructor for exception com.linecorp.armeria.common.logging.RequestLogAvailabilityException
-
Creates a new instance with the specified message
, cause
, suppression enabled or
disabled, and writable stack trace enabled or disabled.
- RequestLogBuilder - Interface in com.linecorp.armeria.common.logging
-
Updates a
RequestLog
with newly available information.
- requestLogLevel(LogLevel) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Sets the
LogLevel
to use when logging requests.
- requestLogLevel() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Returns the
LogLevel
to use when logging requests.
- RequestLogListener - Interface in com.linecorp.armeria.common.logging
-
- RequestLogListenerInvoker - Class in com.linecorp.armeria.common.logging
-
- RequestObject - Annotation Type in com.linecorp.armeria.server.annotation
-
- requestSize() - Method in class com.linecorp.armeria.server.logging.structured.StructuredLog
-
Returns the size of request payload.
- requestStartTimeMillis() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestStartTimeMillis() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the time when the processing of the request started, in millis since the epoch.
- requestStartTimeNanos() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- requestStartTimeNanos() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the time when the processing of the request started, in nanoseconds.
- RequestTimeoutChangeListener - Interface in com.linecorp.armeria.server
-
- RequestTimeoutException - Exception in com.linecorp.armeria.server
-
A
TimeoutException
raised when a request has not been received from a client within timeout.
- requestTimeoutHandler() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- requestTimeoutMillis() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- requestTimeoutMillis() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Returns the amount of time allowed until receiving the current
Request
completely.
- requestTimeoutMillis() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- requirement() - Method in class com.linecorp.armeria.server.docs.FieldInfo
-
Returns the requirement level of the field.
- RESET_CONTENT - Static variable in class com.linecorp.armeria.common.HttpStatus
-
205 Reset Content.
- resolve(ClientRequestContext) - Method in class com.linecorp.armeria.client.Endpoint
-
- resolvePromise(Promise<?>, Object) - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- resolvePromise(Promise<?>, Object) - Method in interface com.linecorp.armeria.common.RequestContext
-
- respond(int) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
-
- respond(HttpStatus) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
-
- respond(HttpStatus, MediaType, String) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
-
- respond(HttpStatus, MediaType, String, Object...) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
-
- respond(HttpStatus, MediaType, byte[]) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
-
- respond(HttpStatus, MediaType, byte[], int, int) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
-
- respond(HttpStatus, MediaType, HttpData) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
-
- respond(HttpStatus, MediaType, HttpData, HttpHeaders) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
-
- respond(AggregatedHttpMessage) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
-
- response() - Method in interface com.linecorp.armeria.client.limit.ConcurrencyLimitingClient.Deferred
-
- Response - Interface in com.linecorp.armeria.common
-
A response stream or a holder of the future result value.
- responseCause() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseCause() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the cause of response processing failure.
- responseContent() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseContent(Object, Object) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseContent() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- responseContent(Object, Object) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
- responseContentSanitizer(Function<Object, Object>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Sets the
Function
to use to sanitize response content before logging.
- responseContentSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Returns the
Function
to use to sanitize response content before logging.
- ResponseConverter - Annotation Type in com.linecorp.armeria.server.annotation
-
- ResponseConverterFunction - Interface in com.linecorp.armeria.server.annotation
-
- ResponseConverters - Annotation Type in com.linecorp.armeria.server.annotation
-
- responseDurationNanos() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseDurationNanos() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the duration that was taken to consume or produce the response completely, in nanoseconds.
- responseEndTimeNanos() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseEndTimeNanos() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the time when the processing of the response finished, in nanoseconds.
- responseHeaders() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseHeaders(HttpHeaders) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseHeaders() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- responseHeaders(HttpHeaders) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
- responseHeadersSanitizer(Function<HttpHeaders, HttpHeaders>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Sets the
Function
to use to sanitize response headers before logging.
- responseHeadersSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Returns the
Function
to use to sanitize response headers before logging.
- responseLength() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseLength(long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseLength() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the length of the response content.
- responseLength(long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
- responseSize() - Method in class com.linecorp.armeria.server.logging.structured.StructuredLog
-
Returns the size of response payload.
- responseStartTimeMillis() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseStartTimeMillis() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the time when the processing of the response started, in millis since the epoch.
- responseStartTimeNanos() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- responseStartTimeNanos() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the time when the processing of the response started, in nanoseconds.
- responseTimeNanos() - Method in class com.linecorp.armeria.server.logging.structured.StructuredLog
-
Returns the duration in ms of the time that is taken to process the request.
- ResponseTimeoutException - Exception in com.linecorp.armeria.client
-
A
TimeoutException
raised when a response has not been received from a server within timeout.
- responseTimeoutForEachAttempt(Duration) - Method in class com.linecorp.armeria.client.retry.RetryingClientBuilder
-
Sets the response timeout for each attempt.
- responseTimeoutMillis() - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
Returns the amount of time allowed until receiving the
Response
completely
since the transfer of the
Response
started.
- responseTimeoutMillis() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- responseTimeoutMillis() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- responseTimeoutMillisForEachAttempt(long) - Method in class com.linecorp.armeria.client.retry.RetryingClientBuilder
-
Sets the response timeout for each attempt in milliseconds.
- retain() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- retain(int) - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- retainedDuplicate() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- RETRY_AFTER - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"retry-after"
.
- RetryingClient<I extends Request,O extends Response> - Class in com.linecorp.armeria.client.retry
-
A
Client
decorator that handles failures of remote invocation and retries requests.
- RetryingClient(Client<I, O>, RetryStrategy<I, O>, int, long) - Constructor for class com.linecorp.armeria.client.retry.RetryingClient
-
Creates a new instance that decorates the specified
Client
.
- RetryingClientBuilder<T extends RetryingClientBuilder<T,U,I,O>,U extends RetryingClient<I,O>,I extends Request,O extends Response> - Class in com.linecorp.armeria.client.retry
-
- RetryingClientBuilder(RetryStrategy<I, O>) - Constructor for class com.linecorp.armeria.client.retry.RetryingClientBuilder
-
Creates a new builder with the specified retry strategy.
- RetryingHttpClient - Class in com.linecorp.armeria.client.retry
-
A
Client
decorator that handles failures of an invocation and retries HTTP requests.
- RetryingHttpClientBuilder - Class in com.linecorp.armeria.client.retry
-
- RetryingHttpClientBuilder(RetryStrategy<HttpRequest, HttpResponse>) - Constructor for class com.linecorp.armeria.client.retry.RetryingHttpClientBuilder
-
Creates a new builder with the specified retry strategy.
- RetryingRpcClient - Class in com.linecorp.armeria.client.retry
-
A
Client
decorator that handles failures of an invocation and retries RPC requests.
- RetryingRpcClientBuilder - Class in com.linecorp.armeria.client.retry
-
- RetryingRpcClientBuilder(RetryStrategy<RpcRequest, RpcResponse>) - Constructor for class com.linecorp.armeria.client.retry.RetryingRpcClientBuilder
-
Creates a new builder with the specified retry strategy.
- retryInterval(Duration) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
-
Sets the interval between health check requests.
- retryStrategy() - Method in class com.linecorp.armeria.client.retry.RetryingClient
-
- RetryStrategy<I extends Request,O extends Response> - Interface in com.linecorp.armeria.client.retry
-
Determines whether a failed request should be retried.
- returnTypeSignature() - Method in class com.linecorp.armeria.server.docs.MethodInfo
-
Returns the signature of the return type of the function.
- ROUND_ROBIN - Static variable in interface com.linecorp.armeria.client.endpoint.EndpointSelectionStrategy
-
Simple round-robin strategy.
- routeCacheSpec() - Static method in class com.linecorp.armeria.common.Flags
-
Returns the value of the routeCache
parameter.
- Router<V> - Interface in com.linecorp.armeria.server
-
- Routers - Class in com.linecorp.armeria.server
-
A factory that creates a
Router
instance.
- RpcRequest - Interface in com.linecorp.armeria.common
-
- RpcResponse - Interface in com.linecorp.armeria.common
-
- RTF_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
- SafeCloseable - Interface in com.linecorp.armeria.common.util
-
- samplingRate(float) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Sets the rate at which to sample requests to log.
- samplingRate() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Returns the rate at which to sample requests to log.
- scheduleNextRetry(ClientRequestContext, Consumer<? super Throwable>, Runnable, long) - Static method in class com.linecorp.armeria.client.retry.RetryingClient
-
Schedules next retry.
- scheme() - Method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Returns the
SCHEME
of this message.
- scheme() - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- scheme(String) - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- SCHEME - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
":scheme"
.
- scheme() - Method in interface com.linecorp.armeria.common.HttpHeaders
-
- scheme(String) - Method in interface com.linecorp.armeria.common.HttpHeaders
-
- scheme() - Method in interface com.linecorp.armeria.common.HttpRequest
-
Returns the scheme of this request.
- scheme(String) - Method in interface com.linecorp.armeria.common.HttpRequest
-
Sets the scheme of this request.
- scheme() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- scheme() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- Scheme - Class in com.linecorp.armeria.common
-
- score() - Method in class com.linecorp.armeria.server.PathMappingResult
-
Returns the score of this result.
- SEC_WEBSOCKET_ACCEPT - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"sec-websocket-accept"
.
- SEC_WEBSOCKET_EXTENSIONS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"sec-websocket-protocol"
.
- SEC_WEBSOCKET_KEY - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"sec-websocket-key"
.
- SEC_WEBSOCKET_KEY1 - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"sec-websocket-key1"
.
- SEC_WEBSOCKET_KEY2 - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"sec-websocket-key2"
.
- SEC_WEBSOCKET_LOCATION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"sec-websocket-location"
.
- SEC_WEBSOCKET_ORIGIN - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"sec-websocket-origin"
.
- SEC_WEBSOCKET_PROTOCOL - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"sec-websocket-protocol"
.
- SEC_WEBSOCKET_VERSION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"sec-websocket-version"
.
- SEE_OTHER - Static variable in class com.linecorp.armeria.common.HttpStatus
-
303 See Other (since HTTP/1.1).
- select(ClientRequestContext) - Method in interface com.linecorp.armeria.client.endpoint.EndpointSelector
-
- selectNode(ClientRequestContext, String) - Static method in class com.linecorp.armeria.client.endpoint.EndpointGroupRegistry
-
- self() - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
-
Returns this
cast to the type T
.
- serializationFormat() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- serializationFormat(SerializationFormat) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- serializationFormat() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- serializationFormat(SerializationFormat) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
- serializationFormat() - Method in class com.linecorp.armeria.common.Scheme
-
- SerializationFormat - Class in com.linecorp.armeria.common
-
Serialization format of a remote procedure call and its reply.
- SerializationFormatProvider - Class in com.linecorp.armeria.common
-
- SerializationFormatProvider() - Constructor for class com.linecorp.armeria.common.SerializationFormatProvider
-
- SerializationFormatProvider.Entry - Class in com.linecorp.armeria.common
-
- serialize(HttpHeaders, JsonGenerator, SerializerProvider) - Method in class com.linecorp.armeria.common.HttpHeadersJsonSerializer
-
- serialize(MediaType, JsonGenerator, SerializerProvider) - Method in class com.linecorp.armeria.common.MediaTypeJsonSerializer
-
- serialize(TypeSignature, JsonGenerator, SerializerProvider) - Method in class com.linecorp.armeria.server.docs.TypeSignatureJsonSerializer
-
- serializeExampleRequest(String, String, Object) - Method in interface com.linecorp.armeria.server.docs.DocServicePlugin
-
Serializes the specified example request into a string.
- serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.AbstractHttpService
-
Serves the specified
HttpRequest
by delegating it to the matching
'doMETHOD()'
method.
- serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.auth.HttpAuthService
-
- serve(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeService
-
- serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.cors.CorsService
-
- serve(Service<I, O>, ServiceRequestContext, I) - Method in interface com.linecorp.armeria.server.DecoratingServiceFunction
-
- serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.encoding.HttpEncodingService
-
- serve(ServiceRequestContext, HttpRequest) - Method in interface com.linecorp.armeria.server.HttpService
-
- serve(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.logging.LoggingService
-
- serve(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.logging.structured.StructuredLoggingService
-
- serve(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.metric.MetricCollectingService
-
- serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.RedirectService
-
NB: For now we redirect all methods.
- serve(ServiceRequestContext, I) - Method in interface com.linecorp.armeria.server.Service
-
- serve(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.throttling.ThrottlingService
-
- serveCompressedFiles(boolean) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
-
Whether pre-compressed files should be served.
- serveCompressedFiles() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
-
Whether pre-compressed files should be served.
- SERVER - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"server"
.
- server() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- Server - Class in com.linecorp.armeria.server
-
- server() - Method in class com.linecorp.armeria.server.ServerConfig
-
- server() - Method in class com.linecorp.armeria.server.ServiceConfig
-
- server() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- server() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- server() - Method in class com.linecorp.armeria.server.VirtualHost
-
- ServerBuilder - Class in com.linecorp.armeria.server
-
- ServerBuilder() - Constructor for class com.linecorp.armeria.server.ServerBuilder
-
- ServerConfig - Class in com.linecorp.armeria.server
-
- serverListener(ServerListener) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- ServerListener - Interface in com.linecorp.armeria.server
-
Listens to life cycle events of a
Server
.
- ServerListenerAdapter - Class in com.linecorp.armeria.server
-
A skeletal
ServerListener
implementation to minimize the effort to implement this interface.
- ServerListenerAdapter() - Constructor for class com.linecorp.armeria.server.ServerListenerAdapter
-
- ServerListenerBuilder - Class in com.linecorp.armeria.server
-
- ServerListenerBuilder() - Constructor for class com.linecorp.armeria.server.ServerListenerBuilder
-
- ServerPort - Class in com.linecorp.armeria.server
-
- ServerPort(int, SessionProtocol...) - Constructor for class com.linecorp.armeria.server.ServerPort
-
Creates a new
ServerPort
that listens to the specified
port
of all available network
interfaces using the specified
SessionProtocol
s.
- ServerPort(InetSocketAddress, SessionProtocol...) - Constructor for class com.linecorp.armeria.server.ServerPort
-
- ServerPort(int, Iterable<SessionProtocol>) - Constructor for class com.linecorp.armeria.server.ServerPort
-
Creates a new
ServerPort
that listens to the specified
port
of all available network
interfaces using the specified
SessionProtocol
s.
- ServerPort(InetSocketAddress, Iterable<SessionProtocol>) - Constructor for class com.linecorp.armeria.server.ServerPort
-
- serverStarted(Server) - Method in interface com.linecorp.armeria.server.ServerListener
-
Invoked when a
Server
finished its startup procedure successfully and it started to serve
incoming requests.
- serverStarted(Server) - Method in class com.linecorp.armeria.server.ServerListenerAdapter
-
- serverStarting(Server) - Method in interface com.linecorp.armeria.server.ServerListener
-
Invoked when a
Server
begins its startup procedure.
- serverStarting(Server) - Method in class com.linecorp.armeria.server.ServerListenerAdapter
-
- serverStopped(Server) - Method in interface com.linecorp.armeria.server.ServerListener
-
Invoked when a
Server
finished its shutdown procedure and it stopped to serve incoming requests.
- serverStopped(Server) - Method in class com.linecorp.armeria.server.ServerListenerAdapter
-
- serverStopping(Server) - Method in interface com.linecorp.armeria.server.ServerListener
-
Invoked when a
Server
begins its shutdown procedure.
- serverStopping(Server) - Method in class com.linecorp.armeria.server.ServerListenerAdapter
-
- service(String, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
-
Binds the specified
Service
at the specified path pattern. e.g.
- service(PathMapping, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
-
- service(CompositeServiceEntry<I, O>) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
-
- service() - Method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- service(String, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
-
- service(PathMapping, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
-
- service() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- service(String, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- service(PathMapping, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- service(PathMapping, Service<HttpRequest, HttpResponse>, String) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- service(T) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- service(T, Function<? super T, R>) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- Service<I extends Request,O extends Response> - Interface in com.linecorp.armeria.server
-
- service() - Method in class com.linecorp.armeria.server.ServiceConfig
-
- service() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- service() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- SERVICE_UNAVAILABLE - Static variable in class com.linecorp.armeria.common.HttpStatus
-
503 Service Unavailable.
- serviceAdded(ServiceConfig) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeService
-
- serviceAdded(ServiceConfig) - Method in class com.linecorp.armeria.server.DecoratingService
-
- serviceAdded(ServiceConfig) - Method in class com.linecorp.armeria.server.docs.DocService
-
- serviceAdded(ServiceConfig) - Method in class com.linecorp.armeria.server.file.HttpFileService
-
- serviceAdded(ServiceConfig) - Method in class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
-
- serviceAdded(ServiceConfig) - Method in class com.linecorp.armeria.server.logging.structured.StructuredLoggingService
-
- serviceAdded(ServiceConfig) - Method in class com.linecorp.armeria.server.RedirectService
-
- serviceAdded(ServiceConfig) - Method in interface com.linecorp.armeria.server.Service
-
Invoked when this
Service
has been added to a
Server
with the specified configuration.
- serviceAt(int) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeService
-
- serviceAt(String, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
-
- serviceAt(int) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeService
-
- serviceAt(String, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
-
- serviceAt(String, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- ServiceCallbackInvoker - Class in com.linecorp.armeria.server
-
A helper class that invokes the callback methods in
Service
.
- ServiceConfig - Class in com.linecorp.armeria.server
-
- ServiceConfig(VirtualHost, PathMapping, Service<HttpRequest, HttpResponse>) - Constructor for class com.linecorp.armeria.server.ServiceConfig
-
Creates a new instance.
- ServiceConfig(VirtualHost, PathMapping, Service<HttpRequest, HttpResponse>, String) - Constructor for class com.linecorp.armeria.server.ServiceConfig
-
Creates a new instance.
- serviceConfigs() - Method in class com.linecorp.armeria.server.ServerConfig
-
- serviceConfigs() - Method in class com.linecorp.armeria.server.VirtualHost
-
Returns the information about the
Service
s bound to this virtual host.
- ServiceInfo - Class in com.linecorp.armeria.server.docs
-
- ServiceInfo(String, Iterable<MethodInfo>) - Constructor for class com.linecorp.armeria.server.docs.ServiceInfo
-
Creates a new instance.
- ServiceInfo(String, Iterable<MethodInfo>, Iterable<HttpHeaders>, String) - Constructor for class com.linecorp.armeria.server.docs.ServiceInfo
-
Creates a new instance.
- serviceLoggerPrefix(String) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- serviceLoggerPrefix() - Method in class com.linecorp.armeria.server.ServerConfig
-
- ServiceRequestContext - Interface in com.linecorp.armeria.server
-
Provides information about an invocation and related utilities.
- ServiceRequestContextWrapper - Class in com.linecorp.armeria.server
-
- ServiceRequestContextWrapper(ServiceRequestContext) - Constructor for class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
Creates a new instance.
- services() - Method in class com.linecorp.armeria.server.composition.AbstractCompositeService
-
- services() - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
-
- services() - Method in class com.linecorp.armeria.server.composition.SimpleCompositeService
-
- services() - Method in class com.linecorp.armeria.server.docs.ServiceSpecification
-
Returns the metadata about the services in this specification.
- ServiceSpecification - Class in com.linecorp.armeria.server.docs
-
- ServiceSpecification(Iterable<ServiceInfo>, Iterable<EnumInfo>, Iterable<StructInfo>, Iterable<ExceptionInfo>) - Constructor for class com.linecorp.armeria.server.docs.ServiceSpecification
-
Creates a new instance.
- ServiceSpecification(Iterable<ServiceInfo>, Iterable<EnumInfo>, Iterable<StructInfo>, Iterable<ExceptionInfo>, Iterable<HttpHeaders>) - Constructor for class com.linecorp.armeria.server.docs.ServiceSpecification
-
Creates a new instance.
- serviceType() - Method in class com.linecorp.armeria.common.DefaultRpcRequest
-
- serviceType() - Method in interface com.linecorp.armeria.common.RpcRequest
-
Returns the type of the service this
RpcRequest
is called upon.
- serviceUnder(String, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
-
Binds the specified
Service
under the specified directory..
- serviceUnder(String, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
-
- serviceUnder(String, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- ServiceWithPathMappings<I extends Request,O extends Response> - Interface in com.linecorp.armeria.server
-
- sessionProtocol() - Method in class com.linecorp.armeria.client.pool.PoolKey
-
- sessionProtocol() - Method in class com.linecorp.armeria.client.UserClient
-
- sessionProtocol() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- sessionProtocol() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- sessionProtocol() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- sessionProtocol() - Method in interface com.linecorp.armeria.common.RequestContext
-
- sessionProtocol() - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- sessionProtocol() - Method in class com.linecorp.armeria.common.Scheme
-
- SessionProtocol - Enum in com.linecorp.armeria.common
-
Session-level protocol that provides facilities such as framing and flow control.
- SessionProtocolNegotiationCache - Class in com.linecorp.armeria.client
-
- SessionProtocolNegotiationException - Exception in com.linecorp.armeria.client
-
An exception triggered when failed to negotiate the desired
SessionProtocol
with a server.
- SessionProtocolNegotiationException(SessionProtocol, String) - Constructor for exception com.linecorp.armeria.client.SessionProtocolNegotiationException
-
- SessionProtocolNegotiationException(SessionProtocol, SessionProtocol, String) - Constructor for exception com.linecorp.armeria.client.SessionProtocolNegotiationException
-
Creates a new instance with the specified expected and actual
SessionProtocol
s.
- SET_COOKIE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"set-cookie"
.
- SET_COOKIE2 - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"set-cookie2"
.
- setAdditionalRequestHeader(AsciiString, String) - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
Sets a header with the specified name
and value
.
- setAdditionalRequestHeader(AsciiString, String) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- setAdditionalRequestHeader(AsciiString, String) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- setAdditionalRequestHeaders(Headers<? extends AsciiString, ? extends String, ?>) - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
- setAdditionalRequestHeaders(Headers<? extends AsciiString, ? extends String, ?>) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- setAdditionalRequestHeaders(Headers<? extends AsciiString, ? extends String, ?>) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- setAdditionalResponseHeader(AsciiString, String) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- setAdditionalResponseHeader(AsciiString, String) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Sets a header with the specified name
and value
.
- setAdditionalResponseHeader(AsciiString, String) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- setAdditionalResponseHeaders(Headers<? extends AsciiString, ? extends String, ?>) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- setAdditionalResponseHeaders(Headers<? extends AsciiString, ? extends String, ?>) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- setAdditionalResponseHeaders(Headers<? extends AsciiString, ? extends String, ?>) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- setAllIfAbsent(Headers<? extends AsciiString, ? extends String, ?>) - Method in interface com.linecorp.armeria.common.HttpHeaders
-
Copies the entries missing in this headers from the specified
Headers
.
- setDistributionStatisticConfig(DistributionStatisticConfig) - Static method in class com.linecorp.armeria.common.metric.MoreMeters
-
- setEndpoints(Iterable<Endpoint>) - Method in class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
-
- setHealthy(boolean) - Method in class com.linecorp.armeria.server.healthcheck.SettableHealthChecker
-
Sets if the
Server
is healthy or not.
- setMaxRequestLength(long) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- setMaxRequestLength(long) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Sets the maximum length of the current
Request
.
- setMaxRequestLength(long) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- setMaxResponseLength(long) - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
Sets the maximum length of the received
Response
.
- setMaxResponseLength(long) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- setMaxResponseLength(long) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- setMeterRegistry(MeterRegistry) - Method in interface com.linecorp.armeria.client.ClientFactory
-
- setMeterRegistry(MeterRegistry) - Method in class com.linecorp.armeria.client.DecoratingClientFactory
-
- setRequestTimeout(Duration) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- setRequestTimeout(Duration) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Sets the amount of time allowed until receiving the current
Request
completely.
- setRequestTimeout(Duration) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- setRequestTimeoutChangeListener(RequestTimeoutChangeListener) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- setRequestTimeoutHandler(Runnable) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- setRequestTimeoutHandler(Runnable) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Sets a handler to run when the request times out.
- setRequestTimeoutHandler(Runnable) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- setRequestTimeoutMillis(long) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- setRequestTimeoutMillis(long) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
Sets the amount of time allowed until receiving the current
Request
completely.
- setRequestTimeoutMillis(long) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- setResponseTimeout(Duration) - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
Sets the amount of time allowed until receiving the
Response
completely
since the transfer of the
Response
started.
- setResponseTimeout(Duration) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- setResponseTimeout(Duration) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- setResponseTimeout(ClientRequestContext) - Method in class com.linecorp.armeria.client.retry.RetryingClient
-
- setResponseTimeoutMillis(long) - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
Sets the amount of time allowed until receiving the
Response
completely
since the transfer of the
Response
started.
- setResponseTimeoutMillis(long) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- setResponseTimeoutMillis(long) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- SettableHealthChecker - Class in com.linecorp.armeria.server.healthcheck
-
- SettableHealthChecker() - Constructor for class com.linecorp.armeria.server.healthcheck.SettableHealthChecker
-
- setTimedOut() - Method in class com.linecorp.armeria.common.AbstractRequestContext
-
- setUnsupported(SocketAddress, SessionProtocol) - Static method in class com.linecorp.armeria.client.SessionProtocolNegotiationCache
-
Updates the cache with the information that the specified
remoteAddress
does not support
the specified
SessionProtocol
.
- setWriteTimeout(Duration) - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
Sets the amount of time allowed until sending out the current
Request
completely.
- setWriteTimeout(Duration) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- setWriteTimeout(Duration) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- setWriteTimeoutMillis(long) - Method in interface com.linecorp.armeria.client.ClientRequestContext
-
Sets the amount of time allowed until sending out the current
Request
completely.
- setWriteTimeoutMillis(long) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
-
- setWriteTimeoutMillis(long) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- SFNT - Static variable in class com.linecorp.armeria.common.MediaType
-
- SHOCKWAVE_FLASH - Static variable in class com.linecorp.armeria.common.MediaType
-
- shortCircuit() - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
-
Specifies that a CORS request should be rejected if it's invalid before being
further processing.
- shortCommitHash() - Method in class com.linecorp.armeria.common.util.Version
-
- shouldCachePath(String, String, PathMapping) - Method in class com.linecorp.armeria.server.DecoratingService
-
- shouldCachePath(String, String, PathMapping) - Method in class com.linecorp.armeria.server.file.HttpFileService
-
- shouldCachePath(String, String, PathMapping) - Method in interface com.linecorp.armeria.server.Service
-
Returns whether the given path
and query
should be cached if the service's result is
successful.
- shouldDealWith(Throwable) - Method in interface com.linecorp.armeria.client.circuitbreaker.ExceptionFilter
-
Decides whether the given error should be dealt with circuit breaker.
- shouldReportAsSuccess(T) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerStrategy
-
- shouldRetry(I, O) - Method in interface com.linecorp.armeria.client.retry.RetryStrategy
-
- shutdownWorkerGroupOnStop() - Method in class com.linecorp.armeria.server.ServerConfig
-
- SignalLengthGetter<T> - Interface in com.linecorp.armeria.common.stream
-
A function that accepts one signal and produces the length of the signal.
- signature() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
-
- signature() - Method in class com.linecorp.armeria.server.docs.TypeSignature
-
Returns the
String
representation of this type signature, as described in the class
documentation.
- signatureMethod() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
-
- SimpleCompositeService<I extends Request,O extends Response> - Class in com.linecorp.armeria.server.composition
-
- SimpleCompositeService(CompositeServiceEntry<I, O>...) - Constructor for class com.linecorp.armeria.server.composition.SimpleCompositeService
-
Creates a new instance that is composed of the specified entries.
- SimpleCompositeService(Iterable<CompositeServiceEntry<I, O>>) - Constructor for class com.linecorp.armeria.server.composition.SimpleCompositeService
-
Creates a new instance that is composed of the specified entries.
- SimpleCompositeServiceBuilder<I extends Request,O extends Response> - Class in com.linecorp.armeria.server.composition
-
- SimpleCompositeServiceBuilder() - Constructor for class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
-
- SimpleDecoratingClient<I extends Request,O extends Response> - Class in com.linecorp.armeria.client
-
- SimpleDecoratingClient(Client<I, O>) - Constructor for class com.linecorp.armeria.client.SimpleDecoratingClient
-
Creates a new instance that decorates the specified
Client
.
- SimpleDecoratingService<I extends Request,O extends Response> - Class in com.linecorp.armeria.server
-
- SimpleDecoratingService(Service<I, O>) - Constructor for class com.linecorp.armeria.server.SimpleDecoratingService
-
Creates a new instance that decorates the specified
Service
.
- simpleServiceName() - Method in class com.linecorp.armeria.common.DefaultRpcRequest
-
- size() - Method in class com.linecorp.armeria.common.MediaTypeSet
-
- size(long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
-
Creates a new
StringBuilder
whose content is the human-readable representation of the byte-unit
size
.
- SKETCHUP - Static variable in class com.linecorp.armeria.common.MediaType
-
- SOAP_XML_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
As described in
RFC 3902, this constant
(
application/soap+xml
) is used to identify SOAP 1.2 message envelopes that have been
serialized with XML 1.0.
- socketOption(ChannelOption<T>, T) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
-
- sourceAddress() - Method in class com.linecorp.armeria.server.ProxiedAddresses
-
Returns the source address of the proxied request.
- sslContext(SslContext) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- sslContext(SessionProtocol, File, File) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- sslContext(SessionProtocol, File, File, String) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- sslContext() - Method in class com.linecorp.armeria.server.VirtualHost
-
- sslContextCustomizer(Consumer<? super SslContextBuilder>) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
-
- sslSession() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
-
- sslSession() - Method in interface com.linecorp.armeria.common.RequestContext
-
The
SSLSession
for this request if the connection is made over TLS, or
null
if
the connection is not established yet or the connection is not a TLS connection.
- sslSession() - Method in class com.linecorp.armeria.common.RequestContextWrapper
-
- sslSession() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- start() - Method in class com.linecorp.armeria.server.Server
-
- startRequest(Channel, SessionProtocol) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- startRequest(Channel, SessionProtocol) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
Starts the collection of information for the
Request
.
- startRequest(Channel, SessionProtocol, String) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
- startResponse() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- startResponse() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
-
Starts the collection of information for the
Response
.
- StaticEndpointGroup - Class in com.linecorp.armeria.client.endpoint
-
- StaticEndpointGroup(Endpoint...) - Constructor for class com.linecorp.armeria.client.endpoint.StaticEndpointGroup
-
Creates a new instance.
- StaticEndpointGroup(Iterable<Endpoint>) - Constructor for class com.linecorp.armeria.client.endpoint.StaticEndpointGroup
-
Creates a new instance.
- status() - Method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Returns the
STATUS
of this message.
- status() - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- status(int) - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- status(HttpStatus) - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- STATUS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
":status"
.
- status() - Method in interface com.linecorp.armeria.common.HttpHeaders
-
- status(int) - Method in interface com.linecorp.armeria.common.HttpHeaders
-
- status(HttpStatus) - Method in interface com.linecorp.armeria.common.HttpHeaders
-
- status() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
- statusCode() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the status code of the
Response
.
- StickyEndpointSelectionStrategy - Class in com.linecorp.armeria.client.endpoint
-
- StickyEndpointSelectionStrategy(ToLongFunction<ClientRequestContext>) - Constructor for class com.linecorp.armeria.client.endpoint.StickyEndpointSelectionStrategy
-
- stop() - Method in class com.linecorp.armeria.server.Server
-
- strategy() - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClient
-
- strategy() - Method in interface com.linecorp.armeria.client.endpoint.EndpointSelector
-
- StreamDecoder - Interface in com.linecorp.armeria.client.encoding
-
An interface for objects that apply HTTP content decoding to incoming
HttpData
.
- StreamDecoderFactory - Interface in com.linecorp.armeria.client.encoding
-
An interface that constructs a new
StreamDecoder
for a given Content-Encoding header value.
- streaming(HttpMethod, String) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
- streaming(HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpRequest
-
Creates a new HTTP request that can be used to stream an arbitrary number of
HttpObject
with the specified initial
HttpHeaders
.
- streaming() - Static method in interface com.linecorp.armeria.common.HttpResponse
-
Creates a new HTTP response that can stream an arbitrary number of
HttpObject
to the client.
- StreamMessage<T> - Interface in com.linecorp.armeria.common.stream
-
- StreamMessageWrapper<T> - Class in com.linecorp.armeria.common.stream
-
Wraps a
StreamMessage
and forwards its method invocations to
delegate
.
- StreamMessageWrapper(StreamMessage<? extends T>) - Constructor for class com.linecorp.armeria.common.stream.StreamMessageWrapper
-
Creates a new instance that wraps a delegate
.
- StreamWriter<T> - Interface in com.linecorp.armeria.common.stream
-
- StringRequestConverterFunction - Class in com.linecorp.armeria.server.annotation
-
- StringRequestConverterFunction() - Constructor for class com.linecorp.armeria.server.annotation.StringRequestConverterFunction
-
- StringResponseConverterFunction - Class in com.linecorp.armeria.server.annotation
-
A response converter implementation which creates an
HttpResponse
with
content-type: text/plain
.
- StringResponseConverterFunction() - Constructor for class com.linecorp.armeria.server.annotation.StringResponseConverterFunction
-
- StructInfo - Class in com.linecorp.armeria.server.docs
-
Metadata about a struct type.
- StructInfo(String, Iterable<FieldInfo>) - Constructor for class com.linecorp.armeria.server.docs.StructInfo
-
Creates a new instance.
- StructInfo(String, Iterable<FieldInfo>, String) - Constructor for class com.linecorp.armeria.server.docs.StructInfo
-
Creates a new instance.
- structs() - Method in class com.linecorp.armeria.server.docs.ServiceSpecification
-
Returns the metadata about the structs related with the services in this specification.
- StructuredLog - Class in com.linecorp.armeria.server.logging.structured
-
A representation and constructor of a service log which holds only very common fields that are protocol
agnostic.
- StructuredLog(long, long, long, long) - Constructor for class com.linecorp.armeria.server.logging.structured.StructuredLog
-
Creates a new instance.
- StructuredLog(RequestLog) - Constructor for class com.linecorp.armeria.server.logging.structured.StructuredLog
-
- StructuredLogBuilder<L> - Interface in com.linecorp.armeria.server.logging.structured
-
An interface that a structured log constructor should implement.
- StructuredLoggingService<I extends Request,O extends Response,L> - Class in com.linecorp.armeria.server.logging.structured
-
A decorating service which provides support of structured and optionally externalized request/response
content logging.
- StructuredLoggingService(Service<I, O>, StructuredLogBuilder<L>) - Constructor for class com.linecorp.armeria.server.logging.structured.StructuredLoggingService
-
- subscribe(Subscriber<? super U>) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
-
- subscribe(Subscriber<? super U>, boolean) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
-
- subscribe(Subscriber<? super U>, EventExecutor) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
-
- subscribe(Subscriber<? super U>, EventExecutor, boolean) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
-
- subscribe(Subscriber<? super T>) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
-
- subscribe(Subscriber<? super T>, boolean) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
-
- subscribe(Subscriber<? super T>, EventExecutor) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
-
- subscribe(Subscriber<? super T>, EventExecutor, boolean) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
-
- subscribe(Subscriber<? super T>) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
-
Requests to start streaming data to the specified Subscriber
.
- subscribe(Subscriber<? super T>, boolean) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
-
Requests to start streaming data to the specified Subscriber
.
- subscribe(Subscriber<? super T>, EventExecutor) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
-
Requests to start streaming data, invoking the specified
Subscriber
from the specified
Executor
.
- subscribe(Subscriber<? super T>, EventExecutor, boolean) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
-
Requests to start streaming data, invoking the specified
Subscriber
from the specified
Executor
.
- subscribe(Subscriber<? super T>) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
-
- subscribe(Subscriber<? super T>, boolean) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
-
- subscribe(Subscriber<? super T>, EventExecutor) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
-
- subscribe(Subscriber<? super T>, EventExecutor, boolean) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
-
- subtype() - Method in class com.linecorp.armeria.common.MediaType
-
Returns the media subtype.
- success() - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
-
Returns the number of success events.
- successfulResponseLogLevel(LogLevel) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Sets the
LogLevel
to use when logging successful responses (e.g., no unhandled exception).
- successfulResponseLogLevel() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
Returns the
LogLevel
to use when logging successful responses (e.g., no unhandled exception).
- successRate() - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
-
- summary() - Method in interface com.linecorp.armeria.server.PathMappingContext
-
- summaryWithDefaultQuantiles(MeterRegistry, String, Iterable<Tag>) - Static method in class com.linecorp.armeria.common.metric.MoreMeters
-
- supportedExampleRequestTypes() - Method in interface com.linecorp.armeria.server.docs.DocServicePlugin
-
Returns the
Set
of the example request types supported by this plugin.
- supportedSchemes() - Method in interface com.linecorp.armeria.client.ClientFactory
-
- supportedSchemes() - Method in class com.linecorp.armeria.client.DecoratingClientFactory
-
- supportedServiceTypes() - Method in interface com.linecorp.armeria.server.docs.DocServicePlugin
-
Returns the
Set
of the
Service
types supported by this plugin.
- SVG_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
- SWITCHING_PROTOCOLS - Static variable in class com.linecorp.armeria.common.HttpStatus
-
101 Switching Protocols.
- systemTicker() - Static method in interface com.linecorp.armeria.common.util.Ticker
-
- tags() - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
-
- tags(String...) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
-
Returns the
Tag
s concatenated by the specified
tags
.
- tags(Iterable<Tag>) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
-
Returns the
Tag
s concatenated by the specified
tags
.
- TAR - Static variable in class com.linecorp.armeria.common.MediaType
-
- TE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"te"
.
- TEMPORARY_REDIRECT - Static variable in class com.linecorp.armeria.common.HttpStatus
-
307 Temporary Redirect (since HTTP/1.1).
- TEXT_JAVASCRIPT_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
RFC 4329 declares
application/javascript
to be the correct media type for JavaScript, but this
may be necessary in certain situations for compatibility.
- TextFormatter - Class in com.linecorp.armeria.common.util
-
A utility class to format things as a
String
with ease.
- THREE_GPP2_VIDEO - Static variable in class com.linecorp.armeria.common.MediaType
-
Media type for the 3G2 multimedia container format.
- THREE_GPP_VIDEO - Static variable in class com.linecorp.armeria.common.MediaType
-
Media type for the 3GP multimedia container format.
- THRIFT_BINARY - Static variable in class com.linecorp.armeria.common.SerializationFormat
-
- THRIFT_COMPACT - Static variable in class com.linecorp.armeria.common.SerializationFormat
-
- THRIFT_JSON - Static variable in class com.linecorp.armeria.common.SerializationFormat
-
- THRIFT_TEXT - Static variable in class com.linecorp.armeria.common.SerializationFormat
-
- ThrottlingHttpService - Class in com.linecorp.armeria.server.throttling
-
Decorates a HTTP
Service
to throttle incoming requests.
- ThrottlingHttpService(Service<HttpRequest, HttpResponse>, ThrottlingStrategy<HttpRequest>) - Constructor for class com.linecorp.armeria.server.throttling.ThrottlingHttpService
-
Creates a new instance that decorates the specified
Service
.
- ThrottlingRpcService - Class in com.linecorp.armeria.server.throttling
-
Decorates an RPC
Service
to throttle incoming requests.
- ThrottlingRpcService(Service<RpcRequest, RpcResponse>, ThrottlingStrategy<RpcRequest>) - Constructor for class com.linecorp.armeria.server.throttling.ThrottlingRpcService
-
Creates a new instance that decorates the specified
Service
.
- ThrottlingService<I extends Request,O extends Response> - Class in com.linecorp.armeria.server.throttling
-
Decorates a
Service
to throttle incoming requests.
- ThrottlingService(Service<I, O>, ThrottlingStrategy<I>, Function<CompletionStage<? extends O>, O>) - Constructor for class com.linecorp.armeria.server.throttling.ThrottlingService
-
Creates a new instance that decorates the specified
Service
.
- ThrottlingStrategy<T extends Request> - Class in com.linecorp.armeria.server.throttling
-
Determines whether a request should be throttled.
- ThrottlingStrategy() - Constructor for class com.linecorp.armeria.server.throttling.ThrottlingStrategy
-
- ThrottlingStrategy(String) - Constructor for class com.linecorp.armeria.server.throttling.ThrottlingStrategy
-
- throwUnsafely(Throwable) - Static method in class com.linecorp.armeria.common.util.Exceptions
-
Throws the specified exception violating the throws
clause of the enclosing method.
- Ticker - Interface in com.linecorp.armeria.common.util
-
A time source; returns a time value representing the number of nanoseconds elapsed since some
fixed but arbitrary point in time.
- TIFF - Static variable in class com.linecorp.armeria.common.MediaType
-
- TimeoutException - Exception in com.linecorp.armeria.common
-
A
RuntimeException
that is raised when a requested invocation did not complete before its deadline.
- TimeoutException() - Constructor for exception com.linecorp.armeria.common.TimeoutException
-
Creates a new exception.
- TimeoutException(String) - Constructor for exception com.linecorp.armeria.common.TimeoutException
-
Creates a new instance with the specified message
.
- TimeoutException(String, Throwable) - Constructor for exception com.linecorp.armeria.common.TimeoutException
-
Creates a new instance with the specified message
and cause
.
- TimeoutException(Throwable) - Constructor for exception com.linecorp.armeria.common.TimeoutException
-
Creates a new instance with the specified cause
.
- TimeoutException(String, Throwable, boolean, boolean) - Constructor for exception com.linecorp.armeria.common.TimeoutException
-
Creates a new instance with the specified message
, cause
, suppression enabled or
disabled, and writable stack trace enabled or disabled.
- timerWithDefaultQuantiles(MeterRegistry, String, Iterable<Tag>) - Static method in class com.linecorp.armeria.common.metric.MoreMeters
-
- timestamp() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
-
- timestampMillis() - Method in class com.linecorp.armeria.server.logging.structured.StructuredLog
-
Returns the timestamp in ms of the time that the request has been received.
- tls(SslContext) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- tls(File, File) - Method in class com.linecorp.armeria.server.ServerBuilder
-
Configures SSL or TLS of the default
VirtualHost
from the specified
keyCertChainFile
and cleartext
keyFile
.
- tls(File, File, String) - Method in class com.linecorp.armeria.server.ServerBuilder
-
Configures SSL or TLS of the default
VirtualHost
from the specified
keyCertChainFile
,
keyFile
and
keyPassword
.
- tlsSelfSigned() - Method in class com.linecorp.armeria.server.ServerBuilder
-
Configures SSL or TLS of the default
VirtualHost
with an auto-generated self-signed
certificate.
- toHttpData() - Method in class com.linecorp.armeria.common.HttpStatus
-
Returns the
HttpData
whose content is
"<code> <reasonPhrase>"
encoded in UTF-8.
- toHttpRequest() - Method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
- toHttpResponse() - Method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
- toInputStream() - Method in interface com.linecorp.armeria.common.HttpData
-
Returns a new
InputStream
that is sourced from this data.
- token() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
-
- TOO_MANY_REQUESTS - Static variable in class com.linecorp.armeria.common.HttpStatus
-
429 Too Many Requests (RFC6585).
- toReader(Charset) - Method in interface com.linecorp.armeria.common.HttpData
-
Returns a new
Reader
that is sourced from this data and decoded using the specified
Charset
.
- toReaderAscii() - Method in interface com.linecorp.armeria.common.HttpData
-
- toReaderUtf8() - Method in interface com.linecorp.armeria.common.HttpData
-
- toString() - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
-
- toString() - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
-
- toString() - Method in class com.linecorp.armeria.client.DecoratingClient
-
- toString() - Method in class com.linecorp.armeria.client.DefaultClientBuilderParams
-
- toString() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
-
- toString() - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
-
- toString() - Method in class com.linecorp.armeria.client.endpoint.StaticEndpointGroup
-
- toString() - Method in class com.linecorp.armeria.client.Endpoint
-
- toString() - Method in class com.linecorp.armeria.client.pool.PoolKey
-
- toString() - Method in class com.linecorp.armeria.client.retry.BackoffWrapper
-
- toString() - Method in class com.linecorp.armeria.client.retry.RetryingClientBuilder
-
- toString() - Method in class com.linecorp.armeria.client.retry.RetryingHttpClientBuilder
-
- toString() - Method in class com.linecorp.armeria.common.DefaultHttpData
-
- toString() - Method in class com.linecorp.armeria.common.DefaultHttpHeaders
-
- toString() - Method in class com.linecorp.armeria.common.DefaultHttpRequest
-
Deprecated.
- toString() - Method in class com.linecorp.armeria.common.DefaultHttpResponse
-
Deprecated.
- toString() - Method in class com.linecorp.armeria.common.DefaultRpcRequest
-
- toString() - Method in class com.linecorp.armeria.common.DefaultRpcResponse
-
- toString(Charset) - Method in interface com.linecorp.armeria.common.HttpData
-
Decodes this data into a
String
.
- toString() - Method in class com.linecorp.armeria.common.HttpStatus
-
- toString() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- toString() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
-
- toString() - Method in class com.linecorp.armeria.common.MediaType
-
Returns the string representation of this media type in the format described in
RFC 2045.
- toString() - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
-
- toString() - Method in class com.linecorp.armeria.common.Scheme
-
- toString() - Method in class com.linecorp.armeria.common.SerializationFormat
-
- toString() - Method in class com.linecorp.armeria.common.SerializationFormatProvider.Entry
-
- toString() - Method in enum com.linecorp.armeria.common.SessionProtocol
-
- toString() - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
-
- toString() - Method in class com.linecorp.armeria.common.util.AbstractOptions
-
- toString() - Method in class com.linecorp.armeria.common.util.AbstractOptionValue
-
- toString() - Method in class com.linecorp.armeria.common.util.Version
-
- toString() - Method in class com.linecorp.armeria.server.auth.BasicToken
-
- toString() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
-
- toString() - Method in class com.linecorp.armeria.server.auth.OAuth2Token
-
- toString() - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
-
- toString() - Method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
-
- toString() - Method in class com.linecorp.armeria.server.cors.CorsConfig
-
- toString() - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
-
- toString() - Method in class com.linecorp.armeria.server.DecoratingService
-
- toString() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- toString() - Method in class com.linecorp.armeria.server.docs.EndpointInfo
-
- toString() - Method in class com.linecorp.armeria.server.docs.EnumInfo
-
- toString() - Method in class com.linecorp.armeria.server.docs.EnumValueInfo
-
- toString() - Method in class com.linecorp.armeria.server.docs.ExceptionInfo
-
- toString() - Method in class com.linecorp.armeria.server.docs.FieldInfo
-
- toString() - Method in class com.linecorp.armeria.server.docs.MethodInfo
-
- toString() - Method in class com.linecorp.armeria.server.docs.ServiceInfo
-
- toString() - Method in class com.linecorp.armeria.server.docs.StructInfo
-
- toString() - Method in class com.linecorp.armeria.server.docs.TypeSignature
-
- toString() - Method in class com.linecorp.armeria.server.file.AbstractHttpVfs
-
- toString() - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
-
- toString() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
-
- toString() - Method in class com.linecorp.armeria.server.file.HttpVfs.AbstractEntry
-
- toString() - Method in class com.linecorp.armeria.server.healthcheck.SettableHealthChecker
-
- toString() - Method in class com.linecorp.armeria.server.logging.structured.StructuredLog
-
- toString() - Method in class com.linecorp.armeria.server.PathMapped
-
- toString() - Method in class com.linecorp.armeria.server.PathMappingResult
-
- toString() - Method in class com.linecorp.armeria.server.ProxiedAddresses
-
- toString() - Method in class com.linecorp.armeria.server.Server
-
- toString() - Method in class com.linecorp.armeria.server.ServerBuilder
-
- toString() - Method in class com.linecorp.armeria.server.ServerConfig
-
- toString() - Method in class com.linecorp.armeria.server.ServerPort
-
- toString() - Method in class com.linecorp.armeria.server.ServiceConfig
-
- toString() - Method in class com.linecorp.armeria.server.VirtualHost
-
- toString(Charset) - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- toString() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- toStringAscii() - Method in interface com.linecorp.armeria.common.HttpData
-
Decodes this data into a
String
using US-ASCII encoding.
- toStringRequestOnly() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- toStringRequestOnly(Function<HttpHeaders, HttpHeaders>, Function<Object, Object>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- toStringRequestOnly() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the string representation of the
Request
, with no sanitization of headers or content.
- toStringRequestOnly(Function<HttpHeaders, HttpHeaders>, Function<Object, Object>) - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the string representation of the
Request
.
- toStringResponseOnly() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- toStringResponseOnly(Function<HttpHeaders, HttpHeaders>, Function<Object, Object>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- toStringResponseOnly() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the string representation of the
Response
, with no sanitization of headers or content.
- toStringResponseOnly(Function<HttpHeaders, HttpHeaders>, Function<Object, Object>) - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the string representation of the
Response
.
- toStringUtf8() - Method in interface com.linecorp.armeria.common.HttpData
-
Decodes this data into a
String
using UTF-8 encoding.
- total() - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
-
Returns the total number of events.
- totalDurationNanos() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
-
- totalDurationNanos() - Method in interface com.linecorp.armeria.common.logging.RequestLog
-
Returns the amount of time taken since the
Request
processing started and until the
Response
processing ended.
- touch() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- touch(Object) - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
-
- trace(String) - Method in interface com.linecorp.armeria.client.HttpClient
-
Sends an HTTP TRACE request.
- Trace - Annotation Type in com.linecorp.armeria.server.annotation
-
- traceText(Throwable) - Static method in class com.linecorp.armeria.common.util.Exceptions
-
- TRAILER - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"trailer"
.
- trailingHeaders() - Method in interface com.linecorp.armeria.common.AggregatedHttpMessage
-
Returns the trailing HTTP headers.
- TRANSFER_ENCODING - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"transfer-encoding"
.
- TransientService<I extends Request,O extends Response> - Interface in com.linecorp.armeria.server
-
A
Service
that handles transient requests, for example, health check requests.
- trialRequestInterval(Duration) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
-
Sets the trial request interval in HALF_OPEN state.
- trialRequestIntervalMillis(long) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
-
Sets the trial request interval in HALF_OPEN state.
- triePath() - Method in interface com.linecorp.armeria.server.PathMapping
-
Returns the path of this path mapping if it is able to be added to a trie.
- tryParse(String) - Static method in class com.linecorp.armeria.common.Scheme
-
- tryWrite(T) - Method in interface com.linecorp.armeria.common.stream.StreamWriter
-
- tryWrite(Supplier<? extends T>) - Method in interface com.linecorp.armeria.common.stream.StreamWriter
-
- TSV_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
- TwoElementFixedStreamMessage<T> - Class in com.linecorp.armeria.common.stream
-
A FixedStreamMessage
that publishes two objects.
- TwoElementFixedStreamMessage(T, T) - Constructor for class com.linecorp.armeria.common.stream.TwoElementFixedStreamMessage
-
- type() - Method in class com.linecorp.armeria.common.MediaType
-
Returns the top-level media type.
- typeParameters() - Method in class com.linecorp.armeria.server.docs.TypeSignature
-
Returns the list of the type parameters of this type signature.
- typeSignature() - Method in class com.linecorp.armeria.server.docs.FieldInfo
-
Returns the metadata about the type of the field.
- TypeSignature - Class in com.linecorp.armeria.server.docs
-
Type signature of a method parameter, a method return value or a struct/exception field.
- TypeSignatureJsonSerializer - Class in com.linecorp.armeria.server.docs
-
- TypeSignatureJsonSerializer() - Constructor for class com.linecorp.armeria.server.docs.TypeSignatureJsonSerializer
-
Creates a new instance.
- validateScheme(URI) - Method in class com.linecorp.armeria.client.AbstractClientFactory
-
- value() - Method in class com.linecorp.armeria.common.util.AbstractOptionValue
-
Returns the value of this option value holder has.
- value() - Method in class com.linecorp.armeria.server.PathMapped
-
Returns the value.
- valueOf(String) - Static method in enum com.linecorp.armeria.client.circuitbreaker.CircuitState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.linecorp.armeria.client.ClientOption
-
- valueOf(String) - Static method in enum com.linecorp.armeria.common.HttpMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in class com.linecorp.armeria.common.HttpStatus
-
Returns the
HttpStatus
represented by the specified code.
- valueOf(String) - Static method in enum com.linecorp.armeria.common.HttpStatusClass
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum com.linecorp.armeria.common.HttpStatusClass
-
Returns the class of the specified HTTP status code.
- valueOf(String) - Static method in enum com.linecorp.armeria.common.logging.LogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.linecorp.armeria.common.logging.RequestLogAvailability
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.linecorp.armeria.common.SessionProtocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.linecorp.armeria.server.docs.FieldRequirement
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.linecorp.armeria.client.circuitbreaker.CircuitState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.linecorp.armeria.common.HttpMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.linecorp.armeria.common.HttpStatusClass
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.linecorp.armeria.common.logging.LogLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.linecorp.armeria.common.logging.RequestLogAvailability
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in class com.linecorp.armeria.common.SerializationFormat
-
- values() - Static method in enum com.linecorp.armeria.common.SessionProtocol
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class com.linecorp.armeria.server.docs.EnumInfo
-
Returns the constant values defined by the type.
- values() - Static method in enum com.linecorp.armeria.server.docs.FieldRequirement
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VARIANT_ALSO_NEGOTIATES - Static variable in class com.linecorp.armeria.common.HttpStatus
-
506 Variant Also Negotiates (RFC2295).
- VARY - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"vary"
.
- VCARD_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
- verboseExceptions() - Static method in class com.linecorp.armeria.common.Flags
-
Returns whether the verbose exception mode is enabled.
- Version - Class in com.linecorp.armeria.common.util
-
Retrieves the version information of available Armeria artifacts.
- version() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
-
Returns version.
- vfs() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
-
- VIA - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
-
"via"
.
- virtualHost() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
-
- virtualHost() - Method in interface com.linecorp.armeria.server.PathMappingContext
-
- virtualHost(VirtualHost) - Method in class com.linecorp.armeria.server.ServerBuilder
-
- virtualHost() - Method in class com.linecorp.armeria.server.ServiceConfig
-
- virtualHost() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
-
- virtualHost() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
-
- VirtualHost - Class in com.linecorp.armeria.server
-
- VirtualHostBuilder - Class in com.linecorp.armeria.server
-
- VirtualHostBuilder() - Constructor for class com.linecorp.armeria.server.VirtualHostBuilder
-
- VirtualHostBuilder(String) - Constructor for class com.linecorp.armeria.server.VirtualHostBuilder
-
- VirtualHostBuilder(String, String) - Constructor for class com.linecorp.armeria.server.VirtualHostBuilder
-
Creates a new
VirtualHostBuilder
with
the default host name and the specified hostname pattern.
- virtualHosts() - Method in class com.linecorp.armeria.server.ServerConfig
-
- VND_REAL_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
-
Media type for Real Audio.
- VND_WAVE_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
-
Media type for WAVE format, as defined by
RFC
2361.
- voidFunction(Consumer<T>) - Static method in class com.linecorp.armeria.common.util.Functions
-
- voidFunction(BiConsumer<T, U>) - Static method in class com.linecorp.armeria.common.util.Functions
-
- VORBIS_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
-
Media type for Vorbis Audio, as defined by
RFC
5215.
- VTT_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
-
As described in
the VTT spec, this is
used for Web Video Text Tracks (WebVTT) files, used with the HTML5 track element.