A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes All Packages

A

AAC_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
Advanced Audio Coding.
abort() - Method in class com.linecorp.armeria.common.stream.DefaultStreamMessage
 
abort() - Method in class com.linecorp.armeria.common.stream.DeferredStreamMessage
 
abort() - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
abort() - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
abort() - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Closes this stream with AbortedStreamException and prevents further subscription.
abort() - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
AbortedStreamException - Exception in com.linecorp.armeria.common.stream
A RuntimeException that is raised to signal a Subscriber that the StreamMessage it subscribed to has been aborted by StreamMessage.abort().
AbstractBackoff - Class in com.linecorp.armeria.client.retry
A skeletal Backoff implementation.
AbstractBackoff() - Constructor for class com.linecorp.armeria.client.retry.AbstractBackoff
 
AbstractClientFactory - Class in com.linecorp.armeria.client
A skeletal ClientFactory implementation.
AbstractClientFactory() - Constructor for class com.linecorp.armeria.client.AbstractClientFactory
 
AbstractCompositeService<I extends Request,​O extends Response> - Class in com.linecorp.armeria.server.composition
A skeletal Service implementation that enables composing multiple Services into one.
AbstractCompositeService(CompositeServiceEntry<I, O>...) - Constructor for class com.linecorp.armeria.server.composition.AbstractCompositeService
Creates a new instance with the specified CompositeServiceEntrys.
AbstractCompositeService(Iterable<CompositeServiceEntry<I, O>>) - Constructor for class com.linecorp.armeria.server.composition.AbstractCompositeService
Creates a new instance with the specified CompositeServiceEntrys.
AbstractCompositeServiceBuilder<T extends AbstractCompositeServiceBuilder<T,​I,​O>,​I extends Request,​O extends Response> - Class in com.linecorp.armeria.server.composition
A skeletal builder implementation for AbstractCompositeService and its subclasses.
AbstractCompositeServiceBuilder() - Constructor for class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
Creates a new instance.
AbstractHttpData - Class in com.linecorp.armeria.common
Support APIs for creating well-behaved HttpData objects.
AbstractHttpData() - Constructor for class com.linecorp.armeria.common.AbstractHttpData
 
AbstractHttpFile - Class in com.linecorp.armeria.server.file
A skeletal HttpFile implementation.
AbstractHttpFile(MediaType, Clock, boolean, boolean, BiFunction<String, HttpFileAttributes, String>, HttpHeaders) - Constructor for class com.linecorp.armeria.server.file.AbstractHttpFile
Creates a new instance.
AbstractHttpFileBuilder<B extends AbstractHttpFileBuilder<B>> - Class in com.linecorp.armeria.server.file
A skeletal builder class which helps easier implementation of an HttpFile builder.
AbstractHttpFileBuilder() - Constructor for class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
 
AbstractHttpService - Class in com.linecorp.armeria.server
A skeletal HttpService for easier HTTP service implementation.
AbstractHttpService() - Constructor for class com.linecorp.armeria.server.AbstractHttpService
 
AbstractHttpVfs - Class in com.linecorp.armeria.server.file
A skeletal HttpVfs implementation.
AbstractHttpVfs() - Constructor for class com.linecorp.armeria.server.file.AbstractHttpVfs
 
AbstractListenable<T> - Class in com.linecorp.armeria.common.util
A skeletal Listenable implementation.
AbstractListenable() - Constructor for class com.linecorp.armeria.common.util.AbstractListenable
 
AbstractOption<T> - Class in com.linecorp.armeria.common.util
A configuration option.
AbstractOption(int, String) - Constructor for class com.linecorp.armeria.common.util.AbstractOption
Creates a new instance.
AbstractOptions - Class in com.linecorp.armeria.common.util
A set of configuration options and their respective values.
AbstractOptions(AbstractOptions, AbstractOptions) - Constructor for class com.linecorp.armeria.common.util.AbstractOptions
Creates a new instance by merging two options.
AbstractOptions(Function<T, T>, AbstractOptions, Iterable<T>) - Constructor for class com.linecorp.armeria.common.util.AbstractOptions
Creates a new instance.
AbstractOptions(Function<T, T>, AbstractOptions, T...) - Constructor for class com.linecorp.armeria.common.util.AbstractOptions
Creates a new instance.
AbstractOptions(Function<T, T>, Iterable<T>) - Constructor for class com.linecorp.armeria.common.util.AbstractOptions
Creates a new instance.
AbstractOptions(Function<T, T>, T...) - Constructor for class com.linecorp.armeria.common.util.AbstractOptions
Creates a new instance.
AbstractOptionValue<O extends AbstractOption<V>,​V> - Class in com.linecorp.armeria.common.util
A holder of a value of an AbstractOption.
AbstractOptionValue(O, V) - Constructor for class com.linecorp.armeria.common.util.AbstractOptionValue
Creates a new instance with the specified option and value.
AbstractRequestContext - Class in com.linecorp.armeria.common
A skeletal RequestContext implementation.
AbstractRequestContext() - Constructor for class com.linecorp.armeria.common.AbstractRequestContext
 
AbstractRequestContextBuilder<B extends AbstractRequestContextBuilder<B>> - Class in com.linecorp.armeria.common
Provides the information required for building a RequestContext.
AbstractRequestContextBuilder(boolean, HttpRequest) - Constructor for class com.linecorp.armeria.common.AbstractRequestContextBuilder
Creates a new builder with the specified HttpRequest.
AbstractRequestContextBuilder(boolean, RpcRequest, URI) - Constructor for class com.linecorp.armeria.common.AbstractRequestContextBuilder
Creates a new builder with the specified RpcRequest and URI.
AbstractStreamMessageDuplicator<T,​U extends StreamMessage<T>> - Class in com.linecorp.armeria.common.stream
Allows subscribing to a StreamMessage multiple times by duplicating the stream.
AbstractStreamMessageDuplicator(U, SignalLengthGetter<? super T>, EventExecutor, long) - Constructor for class com.linecorp.armeria.common.stream.AbstractStreamMessageDuplicator
Creates a new instance wrapping a publisher and publishing to multiple subscribers.
accept(ServiceRequestContext, T) - Method in class com.linecorp.armeria.server.throttling.RateLimitingThrottlingStrategy
 
accept(ServiceRequestContext, T) - Method in class com.linecorp.armeria.server.throttling.ThrottlingStrategy
Returns whether a given request should be treated as failed before it is handled actually.
ACCEPT - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Accept" header field name.
ACCEPT_CHARSET - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Accept-Charset" header field name.
ACCEPT_ENCODING - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Accept-Encoding" header field name.
ACCEPT_LANGUAGE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Accept-Language" header field name.
ACCEPT_PATCH - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Accept-Patch" header field name.
ACCEPT_RANGES - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Accept-Ranges" header field name.
ACCEPTED - Static variable in class com.linecorp.armeria.common.HttpStatus
202 Accepted.
acceptFile(String) - Method in class com.linecorp.armeria.server.docs.DocStringExtractor
Determine whether the file at filename should be processed by the DocStringExtractor.
acceptTypes() - Method in interface com.linecorp.armeria.server.RoutingContext
Returns a list of MediaTypes that are specified in HttpHeaderNames.ACCEPT in the order of client-side preferences.
ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Access-Control-Allow-Credentials" header field name.
ACCESS_CONTROL_ALLOW_HEADERS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Access-Control-Allow-Headers" header field name.
ACCESS_CONTROL_ALLOW_METHODS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Access-Control-Allow-Methods" header field name.
ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Access-Control-Allow-Origin" header field name.
ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Access-Control-Expose-Headers" header field name.
ACCESS_CONTROL_MAX_AGE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Access-Control-Max-Age" header field name.
ACCESS_CONTROL_REQUEST_HEADERS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Access-Control-Request-Headers" header field name.
ACCESS_CONTROL_REQUEST_METHOD - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Access-Control-Request-Method" header field name.
accessLogFormat(String) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the format of this Server's access log.
accessLogger() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the Logger which is used for writing access logs of this virtual host.
accessLogger(String) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the default access logger name for all VirtualHosts.
accessLogger(String) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the Logger named loggerName of this VirtualHost, which is used for writing access logs.
accessLogger(Function<VirtualHost, Logger>) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the default access logger mapper for all VirtualHosts.
accessLogger(Function<VirtualHost, Logger>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the access logger mapper of this VirtualHost.
accessLogger(Logger) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the default access Logger for all VirtualHosts.
accessLogger(Logger) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the Logger of this VirtualHost, which is used for writing access logs.
accessLogWriter() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
accessLogWriter() - Method in class com.linecorp.armeria.server.ServerConfig
Returns an access log writer.
accessLogWriter() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns the access log writer.
accessLogWriter() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
 
accessLogWriter() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
accessLogWriter() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the access log writer.
accessLogWriter(AccessLogWriter, boolean) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets an access log writer of this Server.
accessLogWriter(AccessLogWriter, boolean) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
accessLogWriter(AccessLogWriter, boolean) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the access log writer of this VirtualHost.
accessLogWriter(AccessLogWriter, boolean) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
AccessLogWriter - Interface in com.linecorp.armeria.server.logging
Consumes the RequestLogs produced by a Service, usually for logging purpose.
AccessLogWriters - Class in com.linecorp.armeria.server.logging
Deprecated.
Use the factory methods in AccessLogWriter.
accessToken() - Method in class com.linecorp.armeria.server.auth.OAuth2Token
 
acquireEventLoop(Endpoint) - Method in interface com.linecorp.armeria.client.ClientFactory
Acquires an EventLoop that is expected to handle a connection to the specified Endpoint.
acquireEventLoop(Endpoint) - Method in class com.linecorp.armeria.client.DecoratingClientFactory
 
activePort() - Method in class com.linecorp.armeria.server.Server
Returns the primary ServerPort that this Server is listening to.
activePorts() - Method in class com.linecorp.armeria.server.Server
Returns all ServerPorts that this Server is listening to.
activeRequestPrefix(MeterRegistry, RequestLog) - Method in interface com.linecorp.armeria.common.metric.MeterIdPrefixFunction
Creates a MeterIdPrefix for the active request counter gauges from the specified RequestLog.
actual() - Method in exception com.linecorp.armeria.client.SessionProtocolNegotiationException
Returns the actual SessionProtocol.
add(DecoratingClientFunction<I, O>) - Method in class com.linecorp.armeria.client.ClientDecorationBuilder
Adds the specified HTTP-level decorator.
add(Authorizer<HttpRequest>) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Adds an Authorizer.
add(CharSequence, Iterable<String>) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds new headers with the specified name and values.
add(CharSequence, Iterable<String>) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
add(CharSequence, Iterable<String>) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
add(CharSequence, String) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds a new header with the specified name and value.
add(CharSequence, String) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
add(CharSequence, String) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
add(CharSequence, String...) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds new headers with the specified name and values.
add(CharSequence, String...) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
add(CharSequence, String...) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
add(Class<I>, Class<O>, DecoratingClientFunction<I, O>) - Method in class com.linecorp.armeria.client.ClientDecorationBuilder
add(Class<I>, Class<O>, Function<T, R>) - Method in class com.linecorp.armeria.client.ClientDecorationBuilder
add(Iterable<? extends Authorizer<HttpRequest>>) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Adds multiple Authorizers.
add(Iterable<? extends Map.Entry<? extends CharSequence, String>>) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds all header names and values of the specified headers.
add(Iterable<? extends Map.Entry<? extends CharSequence, String>>) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
add(Iterable<? extends Map.Entry<? extends CharSequence, String>>) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
add(Function<T, R>) - Method in class com.linecorp.armeria.client.ClientDecorationBuilder
Adds the specified HTTP-level decorator.
addAdditionalRequestHeader(CharSequence, Object) - Method in interface com.linecorp.armeria.client.ClientRequestContext
Adds a header with the specified name and value.
addAdditionalRequestHeader(CharSequence, Object) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
addAdditionalRequestHeader(CharSequence, Object) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
addAdditionalRequestHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.client.ClientRequestContext
Adds the specified HttpHeaders which is included when a Client sends an HttpRequest.
addAdditionalRequestHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
addAdditionalRequestHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
addAdditionalResponseHeader(CharSequence, Object) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
addAdditionalResponseHeader(CharSequence, Object) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Adds a header with the specified name and value.
addAdditionalResponseHeader(CharSequence, Object) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
addAdditionalResponseHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
addAdditionalResponseHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Adds the specified HttpHeaders which is included when a Service sends an HttpResponse.
addAdditionalResponseHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
addAdditionalResponseTrailer(CharSequence, Object) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
addAdditionalResponseTrailer(CharSequence, Object) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Adds a trailer with the specified name and value.
addAdditionalResponseTrailer(CharSequence, Object) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
addAdditionalResponseTrailers(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
addAdditionalResponseTrailers(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Adds the specified HttpHeaders which is included when a Service completes an HttpResponse.
addAdditionalResponseTrailers(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
addBasicAuth(Authorizer<? super BasicToken>) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Adds an HTTP basic Authorizer.
addBasicAuth(Authorizer<? super BasicToken>, CharSequence) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Adds an HTTP basic Authorizer for the given header.
addChild(RequestLog) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
addChild(RequestLog) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Adds the specified RequestLog so that the logs are propagated from the child.
addDouble(CharSequence, double) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds a new header.
addDouble(CharSequence, double) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
addDouble(CharSequence, double) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
addEndpoint(Endpoint) - Method in class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
Adds the specified Endpoint to current Endpoint list.
addFloat(CharSequence, float) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds a new header.
addFloat(CharSequence, float) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
addFloat(CharSequence, float) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
addHeader(CharSequence, Object) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Adds the specified HTTP header.
addHeader(CharSequence, Object) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Adds the specified HTTP header.
addHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Adds the specified HTTP headers.
addHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Adds the specified HTTP headers.
addInt(CharSequence, int) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds a new header.
addInt(CharSequence, int) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
addInt(CharSequence, int) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
AdditionalHeader - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for an additional HTTP header.
AdditionalHeaders - Annotation Type in com.linecorp.armeria.server.annotation
The containing annotation type for AdditionalHeader.
additionalRequestHeaders() - Method in interface com.linecorp.armeria.client.ClientRequestContext
Returns an HttpHeaders which is included when a Client sends an HttpRequest.
additionalRequestHeaders() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
additionalRequestHeaders() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
additionalResponseHeaders() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
additionalResponseHeaders() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns an immutable HttpHeaders which is included when a Service sends an HttpResponse.
additionalResponseHeaders() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
additionalResponseTrailers() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
additionalResponseTrailers() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the HttpHeaders which is returned along with any other trailers when a Service completes an HttpResponse.
additionalResponseTrailers() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
additionals() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
Returns additional (or, user-defined) parameters.
AdditionalTrailer - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for an additional HTTP trailer.
AdditionalTrailers - Annotation Type in com.linecorp.armeria.server.annotation
The containing annotation type for AdditionalTrailer.
addListener(RequestLogListener, RequestLogAvailability) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
addListener(RequestLogListener, RequestLogAvailability) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Adds the specified RequestLogListener so that it's notified when the specified RequestLogAvailability is satisfied.
addListener(RequestLogListener, RequestLogAvailability...) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
addListener(RequestLogListener, RequestLogAvailability...) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Adds the specified RequestLogListener so that it's notified when all of the specified RequestLogAvailabilitys are satisfied.
addListener(RequestLogListener, Iterable<RequestLogAvailability>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
addListener(RequestLogListener, Iterable<RequestLogAvailability>) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Adds the specified RequestLogListener so that it's notified when all of the specified RequestLogAvailabilitys are satisfied.
addListener(ServerListener) - Method in class com.linecorp.armeria.server.Server
Adds the specified ServerListener to this Server, so that it is notified when the state of this Server changes.
addListener(Consumer<? super List<Endpoint>>) - Method in interface com.linecorp.armeria.client.endpoint.EndpointGroup
 
addListener(Consumer<? super T>) - Method in class com.linecorp.armeria.common.util.AbstractListenable
 
addListener(Consumer<? super T>) - Method in interface com.linecorp.armeria.common.util.Listenable
Adds a Consumer that will be invoked when a Listenable changes its value.
addListener(L) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Adds the specified listener, so that it is notified when the state of this StartStopSupport changes.
addLong(CharSequence, long) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds a new header.
addLong(CharSequence, long) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
addLong(CharSequence, long) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
addOAuth1a(Authorizer<? super OAuth1aToken>) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Adds an OAuth1a Authorizer.
addOAuth1a(Authorizer<? super OAuth1aToken>, CharSequence) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Adds an OAuth1a Authorizer for the given header.
addOAuth2(Authorizer<? super OAuth2Token>) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Adds an OAuth2 Authorizer.
addOAuth2(Authorizer<? super OAuth2Token>, CharSequence) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Adds an OAuth2 Authorizer for the given header.
addObject(CharSequence, Iterable<?>) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds a new header with the specified name and values.
addObject(CharSequence, Iterable<?>) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
addObject(CharSequence, Iterable<?>) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
addObject(CharSequence, Object) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds a new header.
addObject(CharSequence, Object) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
addObject(CharSequence, Object) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
addObject(CharSequence, Object...) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds a new header with the specified name and values.
addObject(CharSequence, Object...) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
addObject(CharSequence, Object...) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
addObject(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds all header names and values of the specified headers.
addObject(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
addObject(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
addPolicy(CorsPolicy) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Adds a CorsPolicy instance in the service.
addressResolverGroupFactory(Function<? super EventLoopGroup, ? extends AddressResolverGroup<? extends InetSocketAddress>>) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the factory that creates a AddressResolverGroup which resolves remote addresses into InetSocketAddresses.
addRpc(DecoratingClientFunction<I, O>) - Method in class com.linecorp.armeria.client.ClientDecorationBuilder
Adds the specified RPC-level decorator.
addRpc(Function<T, R>) - Method in class com.linecorp.armeria.client.ClientDecorationBuilder
Adds the specified RPC-level decorator.
addStartedCallback(Runnable) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Runnable invoked when the Server is started.
addStartedCallback(Consumer<? super Server>) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumer invoked when the Server is started.
addStartedCallbacks(Iterable<Consumer<? super Server>>) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumers invoked when the Server is started.
addStartedCallbacks(Consumer<? super Server>...) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumers invoked when the Server is started.
addStartingCallback(Runnable) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Runnable invoked when the Server is starting.
addStartingCallback(Consumer<? super Server>) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumer invoked when the Server is starting.
addStartingCallbacks(Iterable<Consumer<? super Server>>) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumers invoked when the Server is starting.
addStartingCallbacks(Consumer<? super Server>...) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumers invoked when the Server is starting.
addStoppedCallback(Runnable) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Runnable invoked when the Server is stopped.
addStoppedCallback(Consumer<? super Server>) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumer invoked when the Server is stopped.
addStoppedCallbacks(Iterable<Consumer<? super Server>>) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumers invoked when the Server is stopped.
addStoppedCallbacks(Consumer<? super Server>...) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumers invoked when the Server is stopped.
addStoppingCallback(Runnable) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Runnable invoked when the Server is stopping.
addStoppingCallback(Consumer<? super Server>) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumer invoked when the Server is stopping.
addStoppingCallbacks(Iterable<Consumer<? super Server>>) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumers invoked when the Server is stopping.
addStoppingCallbacks(Consumer<? super Server>...) - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Add Consumers invoked when the Server is stopping.
addTimeMillis(CharSequence, long) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Adds a new header.
addTimeMillis(CharSequence, long) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
addTimeMillis(CharSequence, long) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
addTokenAuthorizer(Function<? super RequestHeaders, T>, Authorizer<? super T>) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Adds a token-based Authorizer.
AGE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Age" header field name.
aggregate() - Method in interface com.linecorp.armeria.common.HttpRequest
Aggregates this request.
aggregate() - Method in interface com.linecorp.armeria.common.HttpResponse
Aggregates this response.
aggregate(EventExecutor) - Method in interface com.linecorp.armeria.common.HttpRequest
Aggregates this request.
aggregate(EventExecutor) - Method in interface com.linecorp.armeria.common.HttpResponse
Aggregates this response.
aggregate(Executor) - Method in interface com.linecorp.armeria.server.file.AggregatedHttpFile
 
aggregate(Executor) - Method in interface com.linecorp.armeria.server.file.HttpFile
Converts this file into an AggregatedHttpFile.
aggregate(Executor) - Method in class com.linecorp.armeria.server.file.StreamingHttpFile
 
AggregatedHttpFile - Interface in com.linecorp.armeria.server.file
An immutable variant of HttpFile which has its attributes and content readily available.
AggregatedHttpRequest - Interface in com.linecorp.armeria.common
A complete HTTP request whose content is readily available as a single HttpData.
AggregatedHttpResponse - Interface in com.linecorp.armeria.common
A complete HTTP response whose content is readily available as a single HttpData.
aggregateWithPooledObjects(ByteBufAllocator) - Method in interface com.linecorp.armeria.common.HttpRequest
Aggregates this request.
aggregateWithPooledObjects(ByteBufAllocator) - Method in interface com.linecorp.armeria.common.HttpResponse
Aggregates this response.
aggregateWithPooledObjects(EventExecutor, ByteBufAllocator) - Method in interface com.linecorp.armeria.common.HttpRequest
Aggregates this request.
aggregateWithPooledObjects(EventExecutor, ByteBufAllocator) - Method in interface com.linecorp.armeria.common.HttpResponse
Aggregates this response.
aggregateWithPooledObjects(Executor, ByteBufAllocator) - Method in interface com.linecorp.armeria.server.file.AggregatedHttpFile
 
aggregateWithPooledObjects(Executor, ByteBufAllocator) - Method in interface com.linecorp.armeria.server.file.HttpFile
Converts this file into an AggregatedHttpFile.
aggregateWithPooledObjects(Executor, ByteBufAllocator) - Method in class com.linecorp.armeria.server.file.StreamingHttpFile
 
ALL - com.linecorp.armeria.server.annotation.ExceptionVerbosity
Log all exceptions.
alloc() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
alloc() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the ByteBufAllocator.
alloc() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the ByteBufAllocator for this RequestContext.
alloc() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
alloc() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
alloc(ByteBufAllocator) - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
ALLOW - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Allow" header field name.
allowCredentials() - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Enables cookies to be added to CORS requests.
allowedRequestHeaders() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
The headers that should be returned in the CORS "Access-Control-Allow-Headers" response header.
allowedRequestHeaders() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Returns the allowed set of request headers.
allowedRequestMethods() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
The allowed HTTP request methods that should be returned in the CORS "Access-Control-Allow-Methods" response header.
allowedRequestMethods() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Returns the allowed set of request methods.
allowNullOrigin() - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Enables a successful CORS response with a "null" value for the CORS response header "Access-Control-Allow-Origin".
allowRequestHeaders(CharSequence...) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Specifies the headers that should be returned in the CORS "Access-Control-Allow-Headers" response header.
allowRequestMethods(HttpMethod...) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Specifies the allowed set of HTTP request methods that should be returned in the CORS "Access-Control-Allow-Methods" response header.
always() - Static method in class com.linecorp.armeria.server.throttling.ThrottlingStrategy
Returns a singleton ThrottlingStrategy that always accepts requests.
and() - Method in class com.linecorp.armeria.server.cors.ChainedCorsPolicyBuilder
Returns the parent CorsServiceBuilder.
and() - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Returns the parent ServerBuilder.
and(DocServiceFilter) - Method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a composite DocServiceFilter that represents a short-circuiting logical AND of this filter and other.
andForOrigin(String) - Method in class com.linecorp.armeria.server.cors.ChainedCorsPolicyBuilder
Creates a new instance of ChainedCorsPolicyBuilder added to the parent CorsServiceBuilder.
andForOrigin(String) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Creates a new builder instance for a new CorsPolicy.
andForOrigins(String...) - Method in class com.linecorp.armeria.server.cors.ChainedCorsPolicyBuilder
Creates a new instance of ChainedCorsPolicyBuilder added to the parent CorsServiceBuilder.
andForOrigins(String...) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Creates a new builder instance for a new CorsPolicy.
andThen(RequestLogListener) - Method in interface com.linecorp.armeria.common.logging.RequestLogListener
Returns a composed listener that calls this listener first and then the specified one.
andThen(AccessLogWriter) - Method in interface com.linecorp.armeria.server.logging.AccessLogWriter
Returns a new AccessLogWriter which combines two AccessLogWriters.
andThen(BiFunction<MeterRegistry, MeterIdPrefix, MeterIdPrefix>) - Method in interface com.linecorp.armeria.common.metric.MeterIdPrefixFunction
Returns a MeterIdPrefixFunction that applies transformation on the MeterIdPrefix returned by this function.
annotatedService(Object) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified annotated service object under the path prefix "/".
annotatedService(Object) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified annotated service object under the path prefix "/".
annotatedService(Object, Object...) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified annotated service object under the path prefix "/".
annotatedService(Object, Object...) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified annotated service object under the path prefix "/".
annotatedService(Object, Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>, Object...) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified annotated service object under the path prefix "/".
annotatedService(Object, Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>, Object...) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified annotated service object under the path prefix "/".
annotatedService(String, Object) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedService(String, Object) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedService(String, Object, Iterable<?>) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedService(String, Object, Iterable<?>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedService(String, Object, Object...) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedService(String, Object, Object...) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedService(String, Object, Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>, Iterable<?>) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedService(String, Object, Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>, Iterable<?>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedService(String, Object, Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>, Object...) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedService(String, Object, Function<Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>, Object...) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified annotated service object under the specified path prefix.
annotatedServiceExceptionVerbosity() - Static method in class com.linecorp.armeria.common.Flags
Returns the verbosity of exceptions logged by annotated HTTP services.
ANY_APPLICATION_TYPE - Static variable in class com.linecorp.armeria.common.MediaType
 
ANY_AUDIO_TYPE - Static variable in class com.linecorp.armeria.common.MediaType
 
ANY_IMAGE_TYPE - Static variable in class com.linecorp.armeria.common.MediaType
 
ANY_TEXT_TYPE - Static variable in class com.linecorp.armeria.common.MediaType
 
ANY_TYPE - Static variable in class com.linecorp.armeria.common.MediaType
 
ANY_VIDEO_TYPE - Static variable in class com.linecorp.armeria.common.MediaType
 
append(String) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
Returns a newly-created instance whose name is concatenated by the specified suffix.
appendElapsed(StringBuilder, long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
Appends the human-readable representation of the duration given as elapsed to the specified StringBuilder.
appendElapsed(StringBuilder, long, long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
Appends the human-readable representation of the duration between the specified startTimeNanos and endTimeNanos to the specified StringBuilder.
appendElapsedAndSize(StringBuilder, long, long, long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
appendEpoch(StringBuilder, long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
appendEpochMicros(StringBuilder, long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
Formats the given epoch time in microseconds to typical human-readable format "yyyy-MM-dd'T'HH_mm:ss.SSSX" and appends it to the specified StringBuilder.
appendEpochMillis(StringBuilder, long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
Formats the given epoch time in milliseconds to typical human-readable format "yyyy-MM-dd'T'HH_mm:ss.SSSX" and appends it to the specified StringBuilder.
appendSize(StringBuilder, long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
Appends the human-readable representation of the specified byte-unit size to the specified StringBuffer.
appendWithTags(String, Iterable<Tag>) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
Returns a newly-created instance whose name is concatenated by the specified suffix and tags.
appendWithTags(String, String...) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
Returns a newly-created instance whose name is concatenated by the specified suffix and tags.
APPLE_MOBILE_CONFIG - Static variable in class com.linecorp.armeria.common.MediaType
APPLE_PASSBOOK - Static variable in class com.linecorp.armeria.common.MediaType
APPLICATION_BINARY - Static variable in class com.linecorp.armeria.common.MediaType
This is a non-standard media type, but is commonly used in serving hosted binary files as it is known not to trigger content sniffing in current browsers.
APPLICATION_XML_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
As described in RFC 3023, this constant (application/xml) is used for XML documents that are "unreadable by casual users."
apply(RoutingContext) - Method in interface com.linecorp.armeria.server.Route
Matches the specified RoutingContext and extracts the path parameters from it if exists.
apply(MeterRegistry, RequestLog) - Method in interface com.linecorp.armeria.common.metric.MeterIdPrefixFunction
Creates a MeterIdPrefix from the specified RequestLog.
ARMERIA_RETRY_COUNT - Static variable in class com.linecorp.armeria.client.retry.RetryingClient
The header which indicates the retry count of a Request.
array() - Method in class com.linecorp.armeria.common.DefaultHttpData
 
array() - Method in interface com.linecorp.armeria.common.HttpData
Returns the underlying byte array of this data.
array() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
artifactId() - Method in class com.linecorp.armeria.common.util.Version
 
artifactVersion() - Method in class com.linecorp.armeria.common.util.Version
 
as(Class<T>) - Method in interface com.linecorp.armeria.client.retry.Backoff
Undecorates this Backoff to find the Backoff which is an instance of the specified backoffType.
as(Class<T>) - Method in class com.linecorp.armeria.client.retry.BackoffWrapper
 
as(Class<T>) - Method in class com.linecorp.armeria.server.DecoratingService
 
as(Class<T>) - Method in interface com.linecorp.armeria.server.Service
Undecorates this Service to find the Service which is an instance of the specified serviceType.
AS_IS - com.linecorp.armeria.server.healthcheck.HealthCheckUpdateResult
Tells HealthCheckService to leave the Server healthiness unchanged.
asHeaderValue() - Method in class com.linecorp.armeria.common.CacheControl
Encodes the directives in this CacheControl into an HTTP "cache-control" header value.
asHeaderValue() - Method in class com.linecorp.armeria.common.ClientCacheControl
 
asHeaderValue() - Method in class com.linecorp.armeria.common.ServerCacheControl
 
asImmutable() - Method in interface com.linecorp.armeria.common.HttpParameters
Returns the immutable view of this parameters map.
asMap() - Method in class com.linecorp.armeria.client.ClientOptions
Converts this ClientOptions to a Map.
asMap0() - Method in class com.linecorp.armeria.common.util.AbstractOptions
Returns the Map whose key is AbstractOption and value is AbstractOptionValue.
asService() - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
 
asService() - Method in interface com.linecorp.armeria.server.file.HttpFile
Returns an HttpService which serves the file for HEAD and GET requests.
ATOM_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 
attr(AttributeKey<T>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
attr(AttributeKey<T>) - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
attr(AttributeKey<V>) - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
attrs() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
attrs() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns all Attributes set in this log.
attrs() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
attrs() - Method in interface com.linecorp.armeria.common.RequestContext
Returns all Attributes set in this context.
attrs() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
authFailed(Service<I, O>, ServiceRequestContext, I, Throwable) - Method in interface com.linecorp.armeria.server.auth.AuthFailureHandler
Invoked when the authorization of the specified Request has failed.
AuthFailureHandler<I extends Request,​O extends Response> - Interface in com.linecorp.armeria.server.auth
A callback which is invoked to handle an authorization failure indicated by Authorizer.
authority() - Method in class com.linecorp.armeria.client.Endpoint
Converts this endpoint into the authority part of a URI.
authority() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the authority of the request.
authority() - Method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Returns the AUTHORITY of this request, in the form of "hostname:port".
authority() - Method in interface com.linecorp.armeria.common.HttpRequest
Returns the authority of this request.
authority() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the authority of the Request.
authority(String) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
Sets the ":authority" headers.
AUTHORITY - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP ":authority" pseudo header field name.
AUTHORIZATION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Authorization" header field name.
authorize(ServiceRequestContext, T) - Method in interface com.linecorp.armeria.server.auth.Authorizer
Authorizes the given data.
Authorizer<T> - Interface in com.linecorp.armeria.server.auth
Determines whether a given data is authorized for the service registered in.
authSucceeded(Service<I, O>, ServiceRequestContext, I) - Method in interface com.linecorp.armeria.server.auth.AuthSuccessHandler
Invoked when the authorization of the specified Request has succeeded.
AuthSuccessHandler<I extends Request,​O extends Response> - Interface in com.linecorp.armeria.server.auth
A callback which is invoked to handle an authorization success indicated by Authorizer.
AuthTokenExtractors - Class in com.linecorp.armeria.server.auth
A utility class that provides singleton instances of authorization token extractor functions.
autoDetectedContentType(boolean) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets whether to set the "content-type" header automatically based on the extension of the file.
autoIndex() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
Returns whether a directory listing for a directory without an index.html file will be auto-generated.
autoIndex(boolean) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Sets whether HttpFileService auto-generates a directory listing for a directory without an index.html file.
availabilities() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
availabilities() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the set of satisfied RequestLogAvailabilitys.
availableFormats(SerializationFormat...) - Method in class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Sets the available SerializationFormats.
availableFormats(Iterable<SerializationFormat>) - Method in class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Sets the available SerializationFormats.
availableMimeTypes() - Method in class com.linecorp.armeria.server.docs.EndpointInfo
Returns the set of available MIME types of this endpoint.
availableMimeTypes(MediaType...) - Method in class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Sets the available MediaTypes.
availableMimeTypes(Iterable<MediaType>) - Method in class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Sets the available MediaTypes.
awaitInitialEndpoints() - Method in class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
Waits until the initial Endpoints are ready.
awaitInitialEndpoints(long, TimeUnit) - Method in class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
Waits until the initial Endpoints are ready, with timeout.

B

Backoff - Interface in com.linecorp.armeria.client.retry
Controls back off between attempts in a single retry operation.
BackoffWrapper - Class in com.linecorp.armeria.client.retry
Wraps an existing Backoff.
BackoffWrapper(Backoff) - Constructor for class com.linecorp.armeria.client.retry.BackoffWrapper
 
BAD_GATEWAY - Static variable in class com.linecorp.armeria.common.HttpStatus
502 Bad Gateway.
BAD_REQUEST - Static variable in class com.linecorp.armeria.common.HttpStatus
400 Bad Request.
BASIC - Static variable in class com.linecorp.armeria.server.auth.AuthTokenExtractors
A BasicToken extractor function instance.
BASIC_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
Basic Audio, as defined by RFC 2046.
BasicToken - Class in com.linecorp.armeria.server.auth
beforeComplete(Subscriber<? super U>) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
A callback executed just before calling Subscriber.onComplete() on subscriber.
beforeError(Subscriber<? super U>, Throwable) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
A callback executed just before calling Subscriber.onError(Throwable) on subscriber.
beforeSubscribe(Subscriber<? super U>, Subscription) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
A callback executed just before calling Subscriber.onSubscribe(Subscription) on subscriber.
belongsTo(MediaType) - Method in class com.linecorp.armeria.common.MediaType
Returns true if this MediaType belongs to the given MediaType.
blockingTaskExecutor() - Static method in class com.linecorp.armeria.common.CommonPools
Returns the default common blocking task Executor which is used for potentially long-running tasks which may block I/O threads.
blockingTaskExecutor() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
blockingTaskExecutor() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the ExecutorService dedicated to the execution of blocking tasks or invocations.
blockingTaskExecutor() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the ExecutorService that could be used for executing a potentially long-running task.
blockingTaskExecutor() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
blockingTaskExecutor(Executor) - Method in class com.linecorp.armeria.server.ServerBuilder
blockingTaskExecutor(Executor, boolean) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the Executor dedicated to the execution of blocking tasks or invocations.
BMP - Static variable in class com.linecorp.armeria.common.MediaType
Bitmap file format (bmp files).
BODY - com.linecorp.armeria.server.docs.FieldLocation
The field is located in the request body.
build() - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Returns a newly-created CircuitBreaker based on the properties of this builder.
build() - Method in class com.linecorp.armeria.client.ClientConnectionTimingsBuilder
Returns a newly-created ClientConnectionTimings instance.
build() - Method in class com.linecorp.armeria.client.ClientDecorationBuilder
Returns a newly-created ClientDecoration based on the decorators added to this builder.
build() - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Returns a newly-created ClientFactory based on the properties of this builder.
build() - Method in class com.linecorp.armeria.client.ClientOptionsBuilder
Returns a newly-created ClientOptions based on the ClientOptionValues of this builder.
build() - Method in class com.linecorp.armeria.client.ClientRequestContextBuilder
Returns a new ClientRequestContext created with the properties of this builder.
build() - Method in class com.linecorp.armeria.client.endpoint.dns.DnsAddressEndpointGroupBuilder
Returns a newly created DnsAddressEndpointGroup.
build() - Method in class com.linecorp.armeria.client.endpoint.dns.DnsServiceEndpointGroupBuilder
Returns a newly created DnsServiceEndpointGroup.
build() - Method in class com.linecorp.armeria.client.endpoint.dns.DnsTextEndpointGroupBuilder
Returns a newly created DnsTextEndpointGroup.
build() - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
Returns a newly created HttpHealthCheckedEndpointGroup based on the contents of the HttpHealthCheckedEndpointGroupBuilder.
build() - Method in class com.linecorp.armeria.client.HttpClientBuilder
Returns a newly-created HTTP client based on the properties of this builder.
build() - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Returns a newly created ClientCacheControl with the directives enabled so far.
build() - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Returns a newly created HttpHeaders with the entries in this builder.
build() - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
Returns a newly created RequestHeaders with the entries in this builder.
build() - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
Returns a newly created ResponseHeaders with the entries in this builder.
build() - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Returns a newly created ServerCacheControl with the directives enabled so far.
build() - Method in class com.linecorp.armeria.common.sse.ServerSentEventBuilder
Creates a new ServerSentEvent instance.
build() - Method in class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
Returns a newly-created SimpleCompositeService based on the Services added to this builder.
build() - Method in class com.linecorp.armeria.server.cors.CorsPolicyBuilder
Returns a newly-created CorsPolicy based on the properties of this builder.
build() - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Returns a newly-created DocService based on the properties of this builder.
build() - Method in class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Returns a newly-created EndpointInfo based on the properties of this builder.
build() - Method in class com.linecorp.armeria.server.docs.FieldInfoBuilder
Returns a newly-created FieldInfo based on the properties of this builder.
build() - Method in class com.linecorp.armeria.server.file.HttpFileBuilder
Returns a newly created HttpFile with the properties configured so far.
build() - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Returns a newly-created HttpFileService based on the properties of this builder.
build() - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Returns a newly created HealthCheckService built from the properties specified so far.
build() - Method in class com.linecorp.armeria.server.RouteBuilder
Returns a newly-created Route based on the properties of this builder.
build() - Method in class com.linecorp.armeria.server.RoutingResultBuilder
Returns a newly-created RoutingResult.
build() - Method in class com.linecorp.armeria.server.ServerBuilder
Returns a newly-created Server based on the configuration properties set so far.
build() - Method in class com.linecorp.armeria.server.ServerListenerBuilder
Returns a newly-created ServerListener based on the Runnables added to this builder.
build() - Method in class com.linecorp.armeria.server.ServiceRequestContextBuilder
Returns a new ServiceRequestContext created with the properties of this builder.
build(Client<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClientBuilder
 
build(Client<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.client.retry.RetryingHttpClientBuilder
Returns a newly-created RetryingHttpClient based on the properties of this builder.
build(Client<RpcRequest, RpcResponse>) - Method in class com.linecorp.armeria.client.retry.RetryingRpcClientBuilder
Returns a newly-created RetryingRpcClient based on the properties of this builder.
build(Client<I, O>) - Method in class com.linecorp.armeria.client.logging.LoggingClientBuilder
Returns a newly-created LoggingClient decorating delegate based on the properties of this builder.
build(RequestLog) - Method in interface com.linecorp.armeria.server.logging.structured.StructuredLogBuilder
Deprecated.
Builds a structured log instance based on a given RequestLog.
build(Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Returns a newly-created HttpAuthService based on the Authorizers added to this builder.
build(Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Returns a newly-created CorsService based on the properties of this builder.
build(Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
Sets the Service and returns the ServerBuilder that this ServiceBindingBuilder was created from.
build(Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
Sets the Service and returns the VirtualHostBuilder that this VirtualHostServiceBindingBuilder was created from.
build(Service<I, O>) - Method in class com.linecorp.armeria.server.logging.LoggingServiceBuilder
Returns a newly-created LoggingService decorating delegate based on the properties of this builder.
build(Class<T>) - Method in class com.linecorp.armeria.client.ClientBuilder
Returns a newly-created client which implements the specified clientType, based on the properties of this builder.
builder() - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new empty builder.
builder() - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new empty builder.
builder() - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new empty builder.
builder() - Static method in class com.linecorp.armeria.server.healthcheck.HealthCheckService
Returns a new builder which builds a new HealthCheckService.
builder() - Static method in interface com.linecorp.armeria.server.Route
Returns a new builder.
builder() - Static method in class com.linecorp.armeria.server.RoutingResult
Returns a new builder.
builder(int) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new builder with the specified statusCode.
builder(HttpMethod, String) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new builder with the specified HttpMethod and path.
builder(HttpStatus) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new builder with the specified HttpStatus.
buildHeaders() - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Returns the immutable additional HttpHeaders which will be set when building an HttpResponse.
ByteArrayRequestConverterFunction - Class in com.linecorp.armeria.server.annotation
A default implementation of a RequestConverterFunction which converts a binary body of the AggregatedHttpRequest to one of byte[] or HttpData.
ByteArrayRequestConverterFunction() - Constructor for class com.linecorp.armeria.server.annotation.ByteArrayRequestConverterFunction
 
ByteArrayResponseConverterFunction - Class in com.linecorp.armeria.server.annotation
A response converter implementation which creates an HttpResponse with content-type: application/binary or content-type: application/octet-stream.
ByteArrayResponseConverterFunction() - Constructor for class com.linecorp.armeria.server.annotation.ByteArrayResponseConverterFunction
 
ByteBufHttpData - Class in com.linecorp.armeria.unsafe
A HttpData that is backed by a ByteBuf for optimizing certain internal use cases.
ByteBufHttpData(ByteBuf, boolean) - Constructor for class com.linecorp.armeria.unsafe.ByteBufHttpData
Constructs a new ByteBufHttpData.
BZIP2 - Static variable in class com.linecorp.armeria.common.MediaType
 

C

CACHE_CONTROL - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Cache-Control" header field name.
CACHE_MANIFEST_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 
cacheControl(CacheControl) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets the "cache-control" header.
cacheControl(CacheControl) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Sets the "cache-control" header.
cacheControl(CharSequence) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets the "cache-control" header.
cacheControl(CharSequence) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Sets the "cache-control" header.
CacheControl - Class in com.linecorp.armeria.common
Directives for HTTP caching mechanisms in requests or responses.
cachedHeaders() - Static method in class com.linecorp.armeria.common.Flags
Returns the value of the cachedHeaders parameter which contains a comma-separated list of headers whose values are cached using headerValueCache.
cachePrivate() - Method in class com.linecorp.armeria.common.ServerCacheControl
Returns whether the "private" directive is enabled.
cachePrivate() - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables the "private" directive.
cachePrivate(boolean) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables or disables the "private" directive.
cachePublic() - Method in class com.linecorp.armeria.common.ServerCacheControl
Returns whether the "public" directive is enabled.
cachePublic() - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables the "public" directive.
cachePublic(boolean) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables or disables the "public" directive.
cancel(boolean) - Method in class com.linecorp.armeria.common.DefaultRpcResponse
 
CancelledSubscriptionException - Exception in com.linecorp.armeria.common.stream
A RuntimeException that is raised to notify StreamMessage.completionFuture() when a Subscriber has cancelled its Subscription.
canList(String) - Method in class com.linecorp.armeria.server.file.AbstractHttpVfs
 
canList(String) - Method in interface com.linecorp.armeria.server.file.HttpVfs
Returns whether the file at the specified path is a directory.
canRequest() - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreaker
Decides whether a request should be sent or failed depending on the current circuit state.
catchAll() - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to match any path.
cause() - Method in class com.linecorp.armeria.common.DefaultRpcResponse
 
cause() - Method in interface com.linecorp.armeria.common.RpcResponse
Returns the cause of the failure if this RpcResponse completed exceptionally.
ChainedCorsPolicyBuilder - Class in com.linecorp.armeria.server.cors
Builds a new CorsPolicy.
channel() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
channel() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
channel() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the Netty Channel which handled the Request.
channel() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
Returns the Channel that is handling this request, or null if the connection is not established yet.
channel() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
channelOption(ChannelOption<T>, T) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the options of sockets created by the ClientFactory.
channelOption(ChannelOption<T>, T) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the ChannelOption of the server socket bound by Server.
channelOptions() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the ChannelOptions and their values of Server's server sockets.
charset() - Method in class com.linecorp.armeria.common.MediaType
Returns an optional charset for the value of the charset parameter if it is specified.
checkers(HealthChecker...) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Adds the specified HealthCheckers that determine the healthiness of the Server.
checkers(Iterable<? extends HealthChecker>) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Adds the specified HealthCheckers that determine the healthiness of the Server.
childChannelOption(ChannelOption<T>, T) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the ChannelOption of sockets accepted by Server.
childChannelOptions() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the ChannelOptions and their values of sockets accepted by Server.
childFieldInfos() - Method in class com.linecorp.armeria.server.docs.FieldInfo
Returns the child field infos of the field.
children() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
children() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the list of child RequestLogs, ordered by the time it was added.
CircuitBreaker - Interface in com.linecorp.armeria.client.circuitbreaker
A circuit breaker, which tracks the number of success/failure requests and detects a remote service failure.
CircuitBreakerBuilder - Class in com.linecorp.armeria.client.circuitbreaker
Builds a CircuitBreaker instance using builder pattern.
CircuitBreakerBuilder() - Constructor for class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Creates a new CircuitBreakerBuilder.
CircuitBreakerBuilder(String) - Constructor for class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Creates a new CircuitBreakerBuilder with the specified name.
CircuitBreakerClient<I extends Request,​O extends Response> - Class in com.linecorp.armeria.client.circuitbreaker
A Client decorator that handles failures of remote invocation based on circuit breaker pattern.
CircuitBreakerClient(Client<I, O>, CircuitBreakerMapping, CircuitBreakerStrategy) - Constructor for class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClient
Creates a new instance that decorates the specified Client.
CircuitBreakerClient(Client<I, O>, CircuitBreakerMapping, CircuitBreakerStrategyWithContent<O>) - Constructor for class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClient
Creates a new instance that decorates the specified Client.
CircuitBreakerClientBuilder<T extends CircuitBreakerClientBuilder<T,​U,​I,​O>,​U extends CircuitBreakerClient<I,​O>,​I extends Request,​O extends Response> - Class in com.linecorp.armeria.client.circuitbreaker
Builds a new CircuitBreakerClient or its decorator function.
CircuitBreakerHttpClient - Class in com.linecorp.armeria.client.circuitbreaker
A Client decorator that handles failures of HTTP requests based on circuit breaker pattern.
CircuitBreakerHttpClientBuilder - Class in com.linecorp.armeria.client.circuitbreaker
Builds a new CircuitBreakerHttpClient or its decorator function.
CircuitBreakerHttpClientBuilder(CircuitBreakerStrategy) - Constructor for class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClientBuilder
Creates a new builder with the specified CircuitBreakerStrategy.
CircuitBreakerHttpClientBuilder(CircuitBreakerStrategyWithContent<HttpResponse>) - Constructor for class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClientBuilder
Creates a new builder with the specified CircuitBreakerStrategyWithContent.
CircuitBreakerListener - Interface in com.linecorp.armeria.client.circuitbreaker
The listener interface for receiving CircuitBreaker events.
CircuitBreakerListenerAdapter - Class in com.linecorp.armeria.client.circuitbreaker
A skeletal CircuitBreakerListener implementation in order for a user to implement only the methods what he or she really needs.
CircuitBreakerListenerAdapter() - Constructor for class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListenerAdapter
 
circuitBreakerMapping(CircuitBreakerMapping) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClientBuilder
CircuitBreakerMapping - Interface in com.linecorp.armeria.client.circuitbreaker
Returns a CircuitBreaker instance from remote invocation parameters.
CircuitBreakerRpcClient - Class in com.linecorp.armeria.client.circuitbreaker
A Client decorator that handles failures of RPC remote invocation based on circuit breaker pattern.
CircuitBreakerRpcClientBuilder - Class in com.linecorp.armeria.client.circuitbreaker
Builds a new CircuitBreakerRpcClient or its decorator function.
CircuitBreakerRpcClientBuilder(CircuitBreakerStrategyWithContent<RpcResponse>) - Constructor for class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClientBuilder
Creates a new builder with the specified CircuitBreakerStrategyWithContent.
CircuitBreakerStrategy - Interface in com.linecorp.armeria.client.circuitbreaker
Determines whether a Response should be reported as a success or a failure to a CircuitBreaker.
CircuitBreakerStrategyWithContent<T extends Response> - Interface in com.linecorp.armeria.client.circuitbreaker
Determines whether a Response should be reported as a success or a failure to a CircuitBreaker using the content of a Response.
circuitOpenWindow(Duration) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Sets the duration of OPEN state.
circuitOpenWindowMillis(long) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Sets the duration of OPEN state in milliseconds.
CircuitState - Enum in com.linecorp.armeria.client.circuitbreaker
Defines the states of circuit breaker.
clear() - Static method in class com.linecorp.armeria.client.SessionProtocolNegotiationCache
Clears the cache.
clear() - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all headers.
clear() - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
clear() - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
clearTrace(T) - Static method in class com.linecorp.armeria.common.util.Exceptions
Empties the stack trace of the specified exception.
Client<I extends Request,​O extends Response> - Interface in com.linecorp.armeria.client
Sends a Request to a remote Endpoint.
CLIENT_CLOSED_REQUEST - Static variable in class com.linecorp.armeria.common.HttpStatus
499 Client Closed Request.
CLIENT_ERROR - com.linecorp.armeria.common.HttpStatusClass
The client error class (4xx).
clientAddress() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
clientAddress() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the address of the client who initiated this request.
clientAddress() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
clientAddress(InetAddress) - Method in class com.linecorp.armeria.server.ServiceRequestContextBuilder
Sets the client address of the request.
clientAddressFilter() - Method in class com.linecorp.armeria.server.ServerConfig
Returns a filter which evaluates whether an InetAddress can be used as a client address.
clientAddressFilter(Predicate<InetAddress>) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets a filter which evaluates whether an InetAddress can be used as a client address.
ClientAddressSource - Class in com.linecorp.armeria.server
A source which is used to get a client address.
clientAddressSources() - Method in class com.linecorp.armeria.server.ServerConfig
Returns a list of ClientAddressSources which are used to determine where to look for the client address, in the order of preference.
clientAddressSources(ClientAddressSource...) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets a list of ClientAddressSources which are used to determine where to look for the client address, in the order of preference.
clientAddressSources(Iterable<ClientAddressSource>) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets a list of ClientAddressSources which are used to determine where to look for the client address, in the order of preference.
clientAddressTrustedProxyFilter() - Method in class com.linecorp.armeria.server.ServerConfig
Returns a filter which evaluates whether an InetAddress of a remote endpoint is trusted.
clientAddressTrustedProxyFilter(Predicate<InetAddress>) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets a filter which evaluates whether an InetAddress of a remote endpoint is trusted.
ClientBuilder - Class in com.linecorp.armeria.client
Creates a new client that connects to the specified URI using the builder pattern.
ClientBuilder(Scheme, Endpoint) - Constructor for class com.linecorp.armeria.client.ClientBuilder
Creates a new ClientBuilder that builds the client that connects to the specified Endpoint with the Scheme.
ClientBuilder(SessionProtocol, Endpoint) - Constructor for class com.linecorp.armeria.client.ClientBuilder
Creates a new ClientBuilder that builds the client that connects to the specified Endpoint with the SessionProtocol.
ClientBuilder(String) - Constructor for class com.linecorp.armeria.client.ClientBuilder
Creates a new ClientBuilder that builds the client that connects to the specified uri.
ClientBuilder(String, Endpoint) - Constructor for class com.linecorp.armeria.client.ClientBuilder
Creates a new ClientBuilder that builds the client that connects to the specified Endpoint with the scheme.
ClientBuilder(URI) - Constructor for class com.linecorp.armeria.client.ClientBuilder
Creates a new ClientBuilder that builds the client that connects to the specified URI.
clientBuilderParams(T) - Method in interface com.linecorp.armeria.client.ClientFactory
Returns the ClientBuilderParams held in client.
clientBuilderParams(T) - Method in class com.linecorp.armeria.client.DecoratingClientFactory
 
ClientBuilderParams - Interface in com.linecorp.armeria.client
Provides the construction parameters of a client.
ClientCacheControl - Class in com.linecorp.armeria.common
Directives for HTTP caching mechanisms in requests.
ClientCacheControlBuilder - Class in com.linecorp.armeria.common
Creates a new ClientCacheControl using the builder pattern.
ClientCacheControlBuilder() - Constructor for class com.linecorp.armeria.common.ClientCacheControlBuilder
Creates a new builder with all directives disabled initially.
ClientConnectionTimings - Class in com.linecorp.armeria.client
A holder class which has the timing information about a connection attempt before a client sends a Request.
ClientConnectionTimingsBuilder - Class in com.linecorp.armeria.client
ClientConnectionTimingsBuilder() - Constructor for class com.linecorp.armeria.client.ClientConnectionTimingsBuilder
Creates a new instance.
ClientDecoration - Class in com.linecorp.armeria.client
A set of Functions that transforms a Client into another.
ClientDecorationBuilder - Class in com.linecorp.armeria.client
Creates a new ClientDecoration using the builder pattern.
ClientDecorationBuilder() - Constructor for class com.linecorp.armeria.client.ClientDecorationBuilder
 
clientFactory() - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
Returns the ClientFactory that will process HealthCheckedEndpointGroup.EndpointHealthChecker's healthcheck requests.
clientFactory(ClientFactory) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
Sets the ClientFactory to use when making health check requests.
ClientFactory - Interface in com.linecorp.armeria.client
Creates and manages clients.
ClientFactoryBuilder - Class in com.linecorp.armeria.client
Builds a new ClientFactory.
ClientFactoryBuilder() - Constructor for class com.linecorp.armeria.client.ClientFactoryBuilder
Creates a new instance.
ClientFactoryProvider - Interface in com.linecorp.armeria.client
Creates a new ClientFactory dynamically via Java SPI (Service Provider Interface).
ClientOption<T> - Class in com.linecorp.armeria.client
A client option.
ClientOptions - Class in com.linecorp.armeria.client
A set of ClientOptions and their respective values.
ClientOptionsBuilder - Class in com.linecorp.armeria.client
Creates a new ClientOptions using the builder pattern.
ClientOptionsBuilder() - Constructor for class com.linecorp.armeria.client.ClientOptionsBuilder
Creates a new instance with the default options.
ClientOptionsBuilder(ClientOptions) - Constructor for class com.linecorp.armeria.client.ClientOptionsBuilder
Creates a new instance with the specified base options.
ClientOptionValue<T> - Class in com.linecorp.armeria.client
A value of a ClientOption.
ClientRequestContext - Interface in com.linecorp.armeria.client
Provides information about a Request, its Response and its related utilities.
ClientRequestContextBuilder - Class in com.linecorp.armeria.client
Builds a new ClientRequestContext.
ClientRequestContextWrapper - Class in com.linecorp.armeria.client
Wraps an existing ClientRequestContext.
ClientRequestContextWrapper(ClientRequestContext) - Constructor for class com.linecorp.armeria.client.ClientRequestContextWrapper
Creates a new instance.
Clients - Class in com.linecorp.armeria.client
Creates a new client that connects to a specified URI.
clientType() - Method in interface com.linecorp.armeria.client.ClientBuilderParams
Returns the type of the client.
clientType() - Method in class com.linecorp.armeria.client.DefaultClientBuilderParams
 
clientType() - Method in class com.linecorp.armeria.client.UserClient
 
clock() - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
Returns the Clock which provides the current date and time.
clock() - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Returns the Clock that provides the current date and time.
clock() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
Returns the Clock the provides the current date and time to an HttpFileService.
clock(Clock) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets the Clock that provides the current date and time.
clock(Clock) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Sets the Clock that provides the current date and time.
close() - Method in interface com.linecorp.armeria.client.ClientFactory
Closes all clients managed by this factory and shuts down the EventLoopGroup created implicitly by this factory.
close() - Method in class com.linecorp.armeria.client.DecoratingClientFactory
 
close() - Method in class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
 
close() - Method in interface com.linecorp.armeria.client.endpoint.EndpointGroup
 
close() - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
 
close() - Method in class com.linecorp.armeria.client.endpoint.PropertiesEndpointGroup
 
close() - Method in class com.linecorp.armeria.common.stream.AbstractStreamMessageDuplicator
Closes this factory and stream messages who are invoked by AbstractStreamMessageDuplicator.duplicateStream().
close() - Method in class com.linecorp.armeria.common.stream.DefaultStreamMessage
 
close() - Method in class com.linecorp.armeria.common.stream.DeferredStreamMessage
Closes the deferred stream without setting a delegate.
close() - Method in interface com.linecorp.armeria.common.stream.StreamWriter
Closes the StreamMessage successfully.
close() - Method in interface com.linecorp.armeria.common.util.SafeCloseable
 
close() - Method in class com.linecorp.armeria.common.util.StartStopSupport
A synchronous version of StartStopSupport.stop(Object).
close() - Method in class com.linecorp.armeria.server.logging.structured.StructuredLoggingService
Deprecated.
Cleanup resources which were opened for logging.
close() - Method in class com.linecorp.armeria.server.Server
A shortcut to stop().get().
close(AggregatedHttpResponse) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
Writes the specified HTTP response and closes the stream.
close(Throwable) - Method in interface com.linecorp.armeria.client.limit.ConcurrencyLimitingClient.Deferred
Closes the ConcurrencyLimitingClient.Deferred.response() without delegating.
close(Throwable) - Method in class com.linecorp.armeria.common.stream.DefaultStreamMessage
 
close(Throwable) - Method in class com.linecorp.armeria.common.stream.DeferredStreamMessage
Closes the deferred stream without setting a delegate.
close(Throwable) - Method in interface com.linecorp.armeria.common.stream.StreamWriter
Closes the StreamMessage exceptionally.
close(T) - Method in interface com.linecorp.armeria.common.stream.StreamWriter
Writes the given object and closes the stream successfully.
CLOSED - com.linecorp.armeria.client.circuitbreaker.CircuitState
Initial state.
ClosedClientFactoryException - Exception in com.linecorp.armeria.client
Deprecated.
IllegalStateException with a message will be raised.
closeDefault() - Static method in interface com.linecorp.armeria.client.ClientFactory
Closes the default ClientFactory.
ClosedPublisherException - Exception in com.linecorp.armeria.common.stream
A RuntimeException that is raised when a StreamWriter attempts to write an object to a closed StreamMessage.
ClosedSessionException - Exception in com.linecorp.armeria.common
A RuntimeException raised when the connection to the remote peer has been closed unexpectedly.
closeFailed(Throwable) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Invoked when failed to stop in StartStopSupport.close().
closeFuture() - Method in interface com.linecorp.armeria.common.HttpResponse
 
closeFuture() - Method in interface com.linecorp.armeria.common.Response
Deprecated.
closeFuture() - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Deprecated.
code() - Method in class com.linecorp.armeria.common.HttpStatus
Returns the code of this HttpStatus.
codeAsText() - Method in class com.linecorp.armeria.common.HttpStatus
Returns the status code as String.
codeClass() - Method in class com.linecorp.armeria.common.HttpStatus
Returns the class of this HttpStatus.
com.linecorp.armeria.client - package com.linecorp.armeria.client
Client core.
com.linecorp.armeria.client.circuitbreaker - package com.linecorp.armeria.client.circuitbreaker
Failure detection and fallback mechanism based on circuit breaker pattern.
com.linecorp.armeria.client.encoding - package com.linecorp.armeria.client.encoding
HTTP content decoding client.
com.linecorp.armeria.client.endpoint - package com.linecorp.armeria.client.endpoint
Endpoint groups and their registry.
com.linecorp.armeria.client.endpoint.dns - package com.linecorp.armeria.client.endpoint.dns
DNS-based EndpointGroup implementation.
com.linecorp.armeria.client.endpoint.healthcheck - package com.linecorp.armeria.client.endpoint.healthcheck
com.linecorp.armeria.client.limit - package com.linecorp.armeria.client.limit
Limits the number of executed Requests.
com.linecorp.armeria.client.logging - package com.linecorp.armeria.client.logging
Logging client decorators.
com.linecorp.armeria.client.metric - package com.linecorp.armeria.client.metric
Metric-collecting client decorators.
com.linecorp.armeria.client.retry - package com.linecorp.armeria.client.retry
A Client decorator that handles failures and retries requests.
com.linecorp.armeria.common - package com.linecorp.armeria.common
Common types.
com.linecorp.armeria.common.logging - package com.linecorp.armeria.common.logging
Common types used for collecting the information about Requests and Responses.
com.linecorp.armeria.common.metric - package com.linecorp.armeria.common.metric
Common metric collection utilities.
com.linecorp.armeria.common.sse - package com.linecorp.armeria.common.sse
com.linecorp.armeria.common.stream - package com.linecorp.armeria.common.stream
Streamed message types.
com.linecorp.armeria.common.util - package com.linecorp.armeria.common.util
Generic utility classes.
com.linecorp.armeria.server - package com.linecorp.armeria.server
Server core.
com.linecorp.armeria.server.annotation - package com.linecorp.armeria.server.annotation
Annotations for building a RESTful service.
com.linecorp.armeria.server.annotation.decorator - package com.linecorp.armeria.server.annotation.decorator
Decorators for the annotated HTTP service.
com.linecorp.armeria.server.auth - package com.linecorp.armeria.server.auth
HTTP authorization service.
com.linecorp.armeria.server.composition - package com.linecorp.armeria.server.composition
Service composition.
com.linecorp.armeria.server.cors - package com.linecorp.armeria.server.cors
com.linecorp.armeria.server.docs - package com.linecorp.armeria.server.docs
Documentation service.
com.linecorp.armeria.server.encoding - package com.linecorp.armeria.server.encoding
HTTP content encoding service.
com.linecorp.armeria.server.file - package com.linecorp.armeria.server.file
HTTP static file service.
com.linecorp.armeria.server.healthcheck - package com.linecorp.armeria.server.healthcheck
HTTP health check service for load balancers.
com.linecorp.armeria.server.logging - package com.linecorp.armeria.server.logging
Logging and metric-collecting service decorators.
com.linecorp.armeria.server.logging.structured - package com.linecorp.armeria.server.logging.structured
Structured logging support for full request and response.
com.linecorp.armeria.server.metric - package com.linecorp.armeria.server.metric
Metric-collecting service decorators and exporters.
com.linecorp.armeria.server.streaming - package com.linecorp.armeria.server.streaming
Supports streaming responses from Publisher or Stream.
com.linecorp.armeria.server.throttling - package com.linecorp.armeria.server.throttling
Request throttling service decorators and strategies.
com.linecorp.armeria.unsafe - package com.linecorp.armeria.unsafe
Utilities for working with ByteBuf in an unsafe way.
combined() - Static method in interface com.linecorp.armeria.server.logging.AccessLogWriter
Returns an access log writer with a combined format.
combined() - Static method in class com.linecorp.armeria.server.logging.AccessLogWriters
Deprecated.
Returns an access log writer with a combined format.
comment() - Method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Returns a comment of this event, if it exists.
comment(String) - Method in class com.linecorp.armeria.common.sse.ServerSentEventBuilder
Sets the specified comment.
commitTimeMillis() - Method in class com.linecorp.armeria.common.util.Version
 
common() - Static method in interface com.linecorp.armeria.server.logging.AccessLogWriter
Returns an access log writer with a common format.
common() - Static method in class com.linecorp.armeria.server.logging.AccessLogWriters
Deprecated.
Returns an access log writer with a common format.
CommonPools - Class in com.linecorp.armeria.common
Provides the common shared thread pools and EventLoopGroups which is used when not overridden.
compareTo(Endpoint) - Method in class com.linecorp.armeria.client.Endpoint
 
compareTo(HttpStatus) - Method in class com.linecorp.armeria.common.HttpStatus
Compares this status to the specified status.
compareTo(Scheme) - Method in class com.linecorp.armeria.common.Scheme
 
compareTo(SerializationFormat) - Method in class com.linecorp.armeria.common.SerializationFormat
 
compareTo(SerializationFormatProvider.Entry) - Method in class com.linecorp.armeria.common.SerializationFormatProvider.Entry
 
compareTo(ServerPort) - Method in class com.linecorp.armeria.server.ServerPort
 
COMPLETE - com.linecorp.armeria.common.logging.RequestLogAvailability
All the properties mentioned in RequestLogAvailability.REQUEST_END and RequestLogAvailability.RESPONSE_END are available.
completeExceptionally(Throwable) - Method in class com.linecorp.armeria.common.DefaultRpcResponse
 
CompletionActions - Class in com.linecorp.armeria.common.util
Provides the common actions that are useful when handling a CompletionStage.
completionFuture() - Method in interface com.linecorp.armeria.common.HttpResponse
 
completionFuture() - Method in interface com.linecorp.armeria.common.Response
Returns a CompletableFuture which completes when 1) the response stream has been closed (the StreamMessage has been completed) or 2) the result value is set (the CompletionStage has completed.)
completionFuture() - Method in interface com.linecorp.armeria.common.RpcResponse
Returns a CompletableFuture which completes when this RpcResponse completes.
completionFuture() - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
completionFuture() - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
completionFuture() - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Returns a CompletableFuture that completes when this stream is complete, either successfully or exceptionally, including cancellation and abortion.
completionFuture() - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
complexity() - Method in interface com.linecorp.armeria.server.Route
Returns the complexity of this Route.
compose(Function<A, B>, Function<B, C>) - Static method in class com.linecorp.armeria.common.util.Functions
Returns a Function that composes the specified Functions with chained Function.andThen(Function).
compose(Function<A, B>, Function<B, C>, Function<C, D>) - Static method in class com.linecorp.armeria.common.util.Functions
Returns a Function that composes the specified Functions with chained Function.andThen(Function).
compose(Function<A, B>, Function<B, C>, Function<C, D>, Function<D, E>) - Static method in class com.linecorp.armeria.common.util.Functions
Returns a Function that composes the specified Functions with chained Function.andThen(Function).
compose(Function<A, B>, Function<B, C>, Function<C, D>, Function<D, E>, Function<E, F>) - Static method in class com.linecorp.armeria.common.util.Functions
Returns a Function that composes the specified Functions with chained Function.andThen(Function).
compose(Function<A, B>, Function<B, C>, Function<C, D>, Function<D, E>, Function<E, F>, Function<F, G>) - Static method in class com.linecorp.armeria.common.util.Functions
Returns a Function that composes the specified Functions with chained Function.andThen(Function).
compose(Function<A, B>, Function<B, C>, Function<C, D>, Function<D, E>, Function<E, F>, Function<F, G>, Function<G, H>) - Static method in class com.linecorp.armeria.common.util.Functions
Returns a Function that composes the specified Functions with chained Function.andThen(Function).
compose(Function<A, B>, Function<B, C>, Function<C, D>, Function<D, E>, Function<E, F>, Function<F, G>, Function<G, H>, Function<H, I>) - Static method in class com.linecorp.armeria.common.util.Functions
Returns a Function that composes the specified Functions with chained Function.andThen(Function).
compose(Function<A, B>, Function<B, C>, Function<C, D>, Function<D, E>, Function<E, F>, Function<F, G>, Function<G, H>, Function<H, I>, Function<I, J>) - Static method in class com.linecorp.armeria.common.util.Functions
Returns a Function that composes the specified Functions with chained Function.andThen(Function).
compositeServiceCacheSpec() - Static method in class com.linecorp.armeria.common.Flags
Returns the value of the compositeServiceCache parameter.
CompositeServiceEntry<I extends Request,​O extends Response> - Class in com.linecorp.armeria.server.composition
A pair of a Route and a Service bound to it.
ConcurrencyLimitingClient<I extends Request,​O extends Response> - Class in com.linecorp.armeria.client.limit
An abstract Client decorator that limits the concurrent number of active requests.
ConcurrencyLimitingClient(Client<I, O>, int) - Constructor for class com.linecorp.armeria.client.limit.ConcurrencyLimitingClient
Creates a new instance that decorates the specified delegate to limit the concurrent number of active requests to maxConcurrency, with the default timeout of 10000L milliseconds.
ConcurrencyLimitingClient(Client<I, O>, int, long, TimeUnit) - Constructor for class com.linecorp.armeria.client.limit.ConcurrencyLimitingClient
Creates a new instance that decorates the specified delegate to limit the concurrent number of active requests to maxConcurrency.
ConcurrencyLimitingClient.Deferred<O extends Response> - Interface in com.linecorp.armeria.client.limit
Provides the interface for updating the result of a Request execution when its Response is ready.
ConcurrencyLimitingHttpClient - Class in com.linecorp.armeria.client.limit
A Client decorator that limits the concurrent number of active HTTP requests.
config() - Method in class com.linecorp.armeria.server.cors.CorsService
Returns the CorsConfig.
config() - Method in class com.linecorp.armeria.server.file.HttpFileService
Returns the configuration.
config() - Method in class com.linecorp.armeria.server.Server
Returns the configuration of this Server.
configure() - Static method in class com.linecorp.armeria.common.metric.MoreNamingConventions
Configures all the MeterRegistrys added to the Metrics.globalRegistry to use the NamingConventions provided by this class.
configure(MeterRegistry) - Static method in class com.linecorp.armeria.common.metric.MoreNamingConventions
Configures the specified MeterRegistry to use the NamingConventions provided by this class.
configureRegistry(T) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
Configures the DropwizardMeterRegistry with Armeria's defaults.
configureRegistry(T) - Static method in class com.linecorp.armeria.common.metric.PrometheusMeterRegistries
Configures the PrometheusMeterRegistry with Armeria's defaults.
CONFLICT - Static variable in class com.linecorp.armeria.common.HttpStatus
409 Conflict.
connect(String) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
connect(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
CONNECT - com.linecorp.armeria.common.HttpMethod
The CONNECT method which is used for a proxy that can dynamically switch to being a tunnel.
CONNECTION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Connection" header field name.
connectionAcquisitionDurationNanos() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the duration which was taken to get a connection, in nanoseconds.
connectionAcquisitionStartTimeMicros() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the time when the client started to acquire a connection, in microseconds since the epoch.
connectionAcquisitionStartTimeMillis() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the time when the client started to acquire a connection, in milliseconds since the epoch.
connectionClosed(SessionProtocol, InetSocketAddress, InetSocketAddress, AttributeMap) - Method in interface com.linecorp.armeria.client.ConnectionPoolListener
Invoked when a connection in the connection pool has been closed.
connectionClosed(SessionProtocol, InetSocketAddress, InetSocketAddress, AttributeMap) - Method in class com.linecorp.armeria.client.ConnectionPoolListenerAdapter
 
connectionClosed(SessionProtocol, InetSocketAddress, InetSocketAddress, AttributeMap) - Method in class com.linecorp.armeria.client.ConnectionPoolListenerWrapper
 
connectionClosed(SessionProtocol, InetSocketAddress, InetSocketAddress, AttributeMap) - Method in class com.linecorp.armeria.client.logging.ConnectionPoolLoggingListener
 
connectionOpen(SessionProtocol, InetSocketAddress, InetSocketAddress, AttributeMap) - Method in interface com.linecorp.armeria.client.ConnectionPoolListener
Invoked when a new connection is open and ready to send a request.
connectionOpen(SessionProtocol, InetSocketAddress, InetSocketAddress, AttributeMap) - Method in class com.linecorp.armeria.client.ConnectionPoolListenerAdapter
 
connectionOpen(SessionProtocol, InetSocketAddress, InetSocketAddress, AttributeMap) - Method in class com.linecorp.armeria.client.ConnectionPoolListenerWrapper
 
connectionOpen(SessionProtocol, InetSocketAddress, InetSocketAddress, AttributeMap) - Method in class com.linecorp.armeria.client.logging.ConnectionPoolLoggingListener
 
connectionPoolListener(ConnectionPoolListener) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the listener which is notified on a connection pool event.
ConnectionPoolListener - Interface in com.linecorp.armeria.client
Listens to the client connection pool events.
ConnectionPoolListenerAdapter - Class in com.linecorp.armeria.client
A skeletal ConnectionPoolListener implementation in order for a user to implement only the methods what he or she really needs.
ConnectionPoolListenerAdapter() - Constructor for class com.linecorp.armeria.client.ConnectionPoolListenerAdapter
Creates a new instance.
ConnectionPoolListenerWrapper - Class in com.linecorp.armeria.client
ConnectionPoolListenerWrapper(ConnectionPoolListener) - Constructor for class com.linecorp.armeria.client.ConnectionPoolListenerWrapper
Creates a new instance with the specified delegate.
ConnectionPoolLoggingListener - Class in com.linecorp.armeria.client.logging
Decorates a ConnectionPoolListener to log the connection pool events.
ConnectionPoolLoggingListener() - Constructor for class com.linecorp.armeria.client.logging.ConnectionPoolLoggingListener
Creates a new instance with a system ticker.
ConnectionPoolLoggingListener(Ticker) - Constructor for class com.linecorp.armeria.client.logging.ConnectionPoolLoggingListener
Creates a new instance with an alternative Ticker.
connectTimeout(Duration) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the timeout of a socket connection attempt.
connectTimeoutMillis(long) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the timeout of a socket connection attempt in milliseconds.
consumerKey() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
 
consumes() - Method in interface com.linecorp.armeria.server.Route
Returns the Set of MediaTypes that this Route consumes.
consumes(MediaType...) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to consume the specified MediaTypes.
consumes(MediaType...) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
consumes(MediaType...) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
consumes(Iterable<MediaType>) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to consume the specified MediaTypes.
consumes(Iterable<MediaType>) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
consumes(Iterable<MediaType>) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
Consumes - Annotation Type in com.linecorp.armeria.server.annotation
Specifies a media type which would be consumed by the service method or class.
ConsumesBinary - Annotation Type in com.linecorp.armeria.server.annotation
An alias for @Consumes("application/binary").
ConsumesGroup - Annotation Type in com.linecorp.armeria.server.annotation
The containing annotation type for Consumes.
ConsumesJson - Annotation Type in com.linecorp.armeria.server.annotation
An alias for @Consumes("application/json").
ConsumesOctetStream - Annotation Type in com.linecorp.armeria.server.annotation
An alias for @Consumes("application/octet-stream").
ConsumesText - Annotation Type in com.linecorp.armeria.server.annotation
An alias for @Consumes("text/plain; charset=utf-8").
ConsumeType - Annotation Type in com.linecorp.armeria.server.annotation
Deprecated.
ConsumeTypes - Annotation Type in com.linecorp.armeria.server.annotation
Deprecated.
contains(int) - Method in enum com.linecorp.armeria.common.HttpStatusClass
Returns true if and only if the specified HTTP status code falls into this class.
contains(Object) - Method in class com.linecorp.armeria.common.MediaTypeSet
 
content() - Method in interface com.linecorp.armeria.server.annotation.HttpResult
Returns an object which would be converted into response body.
content() - Method in interface com.linecorp.armeria.server.file.AggregatedHttpFile
Returns the content of the file.
content() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
CONTENT_BASE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-Base" header field name.
CONTENT_DISPOSITION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-Disposition" header field name.
CONTENT_ENCODING - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-Encoding" header field name.
CONTENT_LANGUAGE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-Language" header field name.
CONTENT_LENGTH - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-Length" header field name.
CONTENT_LOCATION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-Location" header field name.
CONTENT_MD5 - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-MD5" header field name.
CONTENT_RANGE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-Range" header field name.
CONTENT_SECURITY_POLICY - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Content-Security-Policy header field name.
CONTENT_SECURITY_POLICY_REPORT_ONLY - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-Security-Policy-Report-Only" header field name.
CONTENT_TYPE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Content-Type" header field name.
contentPreview(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the ContentPreviewerFactory for creating a ContentPreviewer which produces the preview with the maximum length limit for a request and a response of this Server.
contentPreview(int) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
contentPreview(int) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the ContentPreviewerFactory for creating a ContentPreviewer which produces the preview with the maximum length limit for a request and a response of this VirtualHost.
contentPreview(int) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
contentPreview(int, Charset) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the ContentPreviewerFactory for creating a ContentPreviewer which produces the preview with the maximum length limit for a request and a response of this Server.
contentPreview(int, Charset) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
contentPreview(int, Charset) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the ContentPreviewerFactory for creating a ContentPreviewer which produces the preview with the maximum length limit for a request and a response of this VirtualHost.
contentPreview(int, Charset) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
ContentPreviewer - Interface in com.linecorp.armeria.common.logging
Produces the preview of RequestLog.
ContentPreviewerAdapter - Class in com.linecorp.armeria.common.logging
A skeletal ContentPreviewer implementation in order for a user to implement only the methods what he or she really needs.
ContentPreviewerAdapter() - Constructor for class com.linecorp.armeria.common.logging.ContentPreviewerAdapter
 
contentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the ContentPreviewerFactory for a request and a response of this Server.
contentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
contentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the ContentPreviewerFactory for a request and a response of this VirtualHost.
contentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
ContentPreviewerFactory - Interface in com.linecorp.armeria.common.logging
A factory creating a ContentPreviewer.
contentPreviewLength(int) - Method in class com.linecorp.armeria.client.retry.RetryingHttpClientBuilder
Sets the length of content required to determine whether to retry or not.
contentSanitizer(Function<Object, ?>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the Function to use to sanitize request and response content before logging.
ContentTooLargeException - Exception in com.linecorp.armeria.common
A RuntimeException raised when the length of request or response content exceeds its limit.
contentType() - Method in interface com.linecorp.armeria.common.HttpRequest
Returns the value of the 'content-type' header.
contentType() - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
Returns the MediaType of the file, which will be used for setting the "content-type" header.
contentType() - Method in interface com.linecorp.armeria.server.RoutingContext
Returns MediaType specified by 'Content-Type' header of the request.
contentType(MediaType) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets the "content-type" header.
contentType(MediaType) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
contentType(MediaType) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
contentType(MediaType) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets the "content-type" header.
contentType(CharSequence) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets the "content-type" header.
context() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
context() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the RequestContext associated with the Request being handled.
contextAwareEventLoop() - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
contextAwareEventLoop() - Method in interface com.linecorp.armeria.common.RequestContext
Returns an EventLoop that will make sure this RequestContext is set as the current context before executing any callback.
contextAwareExecutor() - Method in interface com.linecorp.armeria.common.RequestContext
Returns an Executor that will make sure this RequestContext is set as the current context before executing any callback.
CONTINUE - Static variable in class com.linecorp.armeria.common.HttpStatus
100 Continue.
convertRequest(ServiceRequestContext, AggregatedHttpRequest, Class<?>) - Method in class com.linecorp.armeria.server.annotation.ByteArrayRequestConverterFunction
Converts the specified AggregatedHttpRequest to an object of expectedResultType.
convertRequest(ServiceRequestContext, AggregatedHttpRequest, Class<?>) - Method in class com.linecorp.armeria.server.annotation.JacksonRequestConverterFunction
Converts the specified AggregatedHttpRequest to an object of expectedResultType.
convertRequest(ServiceRequestContext, AggregatedHttpRequest, Class<?>) - Method in interface com.linecorp.armeria.server.annotation.RequestConverterFunction
Converts the specified request to an object of expectedResultType.
convertRequest(ServiceRequestContext, AggregatedHttpRequest, Class<?>) - Method in class com.linecorp.armeria.server.annotation.StringRequestConverterFunction
Converts the specified AggregatedHttpRequest to a String.
convertResponse(ServiceRequestContext, ResponseHeaders, Object, HttpHeaders) - Method in class com.linecorp.armeria.server.annotation.ByteArrayResponseConverterFunction
 
convertResponse(ServiceRequestContext, ResponseHeaders, Object, HttpHeaders) - Method in class com.linecorp.armeria.server.annotation.JacksonResponseConverterFunction
 
convertResponse(ServiceRequestContext, ResponseHeaders, Object, HttpHeaders) - Method in class com.linecorp.armeria.server.annotation.NullToNoContentResponseConverterFunction
 
convertResponse(ServiceRequestContext, ResponseHeaders, Object, HttpHeaders) - Method in interface com.linecorp.armeria.server.annotation.ResponseConverterFunction
Returns HttpResponse instance corresponds to the given result.
convertResponse(ServiceRequestContext, ResponseHeaders, Object, HttpHeaders) - Method in class com.linecorp.armeria.server.annotation.ServerSentEventResponseConverterFunction
 
convertResponse(ServiceRequestContext, ResponseHeaders, Object, HttpHeaders) - Method in class com.linecorp.armeria.server.annotation.StringResponseConverterFunction
 
COOKIE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Cookie" header field name.
Cookies - Interface in com.linecorp.armeria.server.annotation
An interface which holds decoded Cookie instances for an HTTP request.
copy() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
copyOf(byte[]) - Static method in interface com.linecorp.armeria.common.HttpData
Creates a new instance from the specified byte array by first copying it.
copyOf(byte[], int, int) - Static method in interface com.linecorp.armeria.common.HttpData
Creates a new instance from the specified byte array, offset and length by first copying it.
copyOf(ByteBuf) - Static method in interface com.linecorp.armeria.common.HttpData
Creates a new instance from the specified ByteBuf by first copying it's content.
copyOf(Headers<String, String, ?>) - Static method in interface com.linecorp.armeria.common.HttpParameters
Returns a copy of the specified Headers<String, String, ?>.
copyOf(Iterable<? extends Cookie>) - Static method in interface com.linecorp.armeria.server.annotation.Cookies
Creates an instance with a copy of the specified Iterable of Cookies.
copyOf(Map<String, ? extends Iterable<String>>) - Static method in interface com.linecorp.armeria.common.HttpParameters
Returns a new HTTP parameters map with the specified Map<String, ? extends Iterable<String>>.
CorsConfig - Class in com.linecorp.armeria.server.cors
CorsDecorator - Annotation Type in com.linecorp.armeria.server.annotation.decorator
A CorsService decorator for annotated HTTP services.
CorsDecoratorFactoryFunction - Class in com.linecorp.armeria.server.cors
A factory which creates a CorsService decorator when only one CorsDecorator is added.
CorsDecoratorFactoryFunction() - Constructor for class com.linecorp.armeria.server.cors.CorsDecoratorFactoryFunction
 
CorsDecorators - Annotation Type in com.linecorp.armeria.server.annotation.decorator
The containing annotation type for CorsDecorator.
CorsDecoratorsFactoryFunction - Class in com.linecorp.armeria.server.cors
A factory which creates a CorsService decorator when two or more CorsDecorators are added.
CorsDecoratorsFactoryFunction() - Constructor for class com.linecorp.armeria.server.cors.CorsDecoratorsFactoryFunction
 
CorsPolicy - Class in com.linecorp.armeria.server.cors
Contains information of the CORS policy with the specified origins.
CorsPolicyBuilder - Class in com.linecorp.armeria.server.cors
Builds a new CorsPolicy.
CorsPolicyBuilder(String...) - Constructor for class com.linecorp.armeria.server.cors.CorsPolicyBuilder
Creates a new instance with the specified origins.
CorsService - Class in com.linecorp.armeria.server.cors
Decorates an HTTP Service to add the Cross-Origin Resource Sharing (CORS) support.
CorsService(Service<HttpRequest, HttpResponse>, CorsConfig) - Constructor for class com.linecorp.armeria.server.cors.CorsService
Creates a new CorsService that decorates the specified delegate to add CORS support.
CorsServiceBuilder - Class in com.linecorp.armeria.server.cors
Builds a new CorsService or its decorator function.
counterSlidingWindow(Duration) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Sets the time length of sliding window to accumulate the count of events.
counterSlidingWindowMillis(long) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Sets the time length of sliding window to accumulate the count of events, in milliseconds.
counterUpdateInterval(Duration) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Sets the interval that a circuit breaker can see the latest accumulated count of events.
counterUpdateIntervalMillis(long) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Sets the interval that a circuit breaker can see the latest accumulated count of events, in milliseconds.
create(String, String) - Static method in class com.linecorp.armeria.common.MediaType
Creates a new media type with the given type and subtype.
CREATED - Static variable in class com.linecorp.armeria.common.HttpStatus
201 Created.
createEndpointHealthChecker(Endpoint) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
Creates a new HealthCheckedEndpointGroup.EndpointHealthChecker instance that will check endpoint healthiness.
createEndpointHealthChecker(Endpoint) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroup
 
createResponseConverterFunction(Type, ResponseConverterFunction, ExceptionHandlerFunction) - Method in interface com.linecorp.armeria.server.annotation.ResponseConverterFunctionProvider
Returns a ResponseConverterFunction instance if there is a function which can convert the responseType, otherwise return null.
credentialsAllowed() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
Determines if cookies are allowed to be added to CORS requests.
CRW - Static variable in class com.linecorp.armeria.common.MediaType
The Canon Image File Format (crw files), a widely-used "raw image" format for cameras.
CSS_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 
CSV_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 
current() - Static method in interface com.linecorp.armeria.client.ClientRequestContext
Returns the client-side context of the Request that is being handled in the current thread.
current() - Static method in interface com.linecorp.armeria.common.RequestContext
Returns the context of the Request that is being handled in the current thread.
current() - Static method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the server-side context of the Request that is being handled in the current thread.
currentOrNull() - Static method in interface com.linecorp.armeria.client.ClientRequestContext
Returns the client-side context of the Request that is being handled in the current thread.
currentOrNull() - Static method in interface com.linecorp.armeria.common.RequestContext
Returns the context of the Request that is being handled in the current thread.
currentOrNull() - Static method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the server-side context of the Request that is being handled in the current thread.
currentTimeMicros() - Static method in class com.linecorp.armeria.common.util.SystemInfo
Returns the number of microseconds since the epoch (00:00:00, 01-Jan-1970, GMT).
custom(String) - Static method in interface com.linecorp.armeria.server.logging.AccessLogWriter
Returns an access log writer with the specified formatStr.
custom(String) - Static method in class com.linecorp.armeria.server.logging.AccessLogWriters
Deprecated.
Returns an access log writer with the specified formatStr.

D

DART_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
Files in the dart.
data() - Method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Returns a data of this event, if it exists.
data(String) - Method in class com.linecorp.armeria.common.sse.ServerSentEventBuilder
Sets the specified data.
datagramChannelType(EventLoopGroup) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
Returns the available DatagramChannel class for eventLoopGroup, for use in configuring a custom Bootstrap.
date(boolean) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets whether to set the "date" header automatically.
DATE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Date" header field name.
DEBUG - com.linecorp.armeria.common.logging.LogLevel
DEBUG log level.
decode(HttpData) - Method in interface com.linecorp.armeria.client.encoding.StreamDecoder
Decodes an HttpData and returns the decoded HttpData.
decodedMappedPath() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
decodedMappedPath() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the RequestContext.decodedPath() with its context path removed.
decodedMappedPath() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
decodedParam(String, String) - Method in class com.linecorp.armeria.server.RoutingResultBuilder
Adds a decoded path parameter.
decodedPath() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the absolute path part of the current Request URI, excluding the query part, decoded in UTF-8.
decodedPath() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
decodedPath() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the absolute path part of the current Request URI, excluding the query part, decoded in UTF-8.
decodedPath() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
decodedPath() - Method in class com.linecorp.armeria.server.RoutingResult
Returns the path mapped by the Route, decoded in UTF-8.
decorate(DecoratingServiceFunction<I, O>) - Method in interface com.linecorp.armeria.server.Service
Creates a new Service that decorates this Service with the specified DecoratingServiceFunction.
decorate(Class<I>, Class<O>, Client<I, O>) - Method in class com.linecorp.armeria.client.ClientDecoration
Decorates the specified Client using the decorator with matching requestType and responseType.
decorate(Class<R>) - Method in interface com.linecorp.armeria.server.Service
Creates a new Service that decorates this Service with a new Service instance of the specified serviceType.
decorate(Function<T, R>) - Method in interface com.linecorp.armeria.server.Service
Creates a new Service that decorates this Service with the specified decorator.
DecoratingClient<T_I extends Request,​T_O extends Response,​R_I extends Request,​R_O extends Response> - Class in com.linecorp.armeria.client
Decorates a Client.
DecoratingClient(Client<T_I, T_O>) - Constructor for class com.linecorp.armeria.client.DecoratingClient
Creates a new instance that decorates the specified Client.
DecoratingClientFactory - Class in com.linecorp.armeria.client
A ClientFactory that delegates the creation of Clients to another ClientFactory.
DecoratingClientFactory(ClientFactory) - Constructor for class com.linecorp.armeria.client.DecoratingClientFactory
Creates a new instance.
DecoratingClientFunction<I extends Request,​O extends Response> - Interface in com.linecorp.armeria.client
A functional interface that enables building a SimpleDecoratingClient with AbstractClientOptionsBuilder.decorator(DecoratingClientFunction) and AbstractClientOptionsBuilder.rpcDecorator(DecoratingClientFunction).
DecoratingService<T_I extends Request,​T_O extends Response,​R_I extends Request,​R_O extends Response> - Class in com.linecorp.armeria.server
A Service that decorates another Service.
DecoratingService(Service<T_I, T_O>) - Constructor for class com.linecorp.armeria.server.DecoratingService
Creates a new instance that decorates the specified Service.
DecoratingServiceFunction<I extends Request,​O extends Response> - Interface in com.linecorp.armeria.server
A functional interface that enables building a SimpleDecoratingService with Service.decorate(DecoratingServiceFunction).
decoration() - Method in class com.linecorp.armeria.client.ClientOptions
Returns the Functions that decorate the components of a client.
DECORATION - Static variable in class com.linecorp.armeria.client.ClientOption
The Function that decorates the client components.
decorator(DecoratingServiceFunction<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServerBuilder
Decorates all Services with the specified DecoratingServiceFunction.
decorator(DecoratingServiceFunction<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Decorates all Services with the specified DecoratingServiceFunction.
decorator(Function<T, R>) - Method in class com.linecorp.armeria.server.ServerBuilder
Decorates all Services with the specified decorator.
decorator(Function<T, R>) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
decorator(Function<T, R>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Decorates all Services with the specified decorator.
decorator(Function<T, R>) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
Decorator - Annotation Type in com.linecorp.armeria.server.annotation
Specifies a DecoratingServiceFunction class which handles an HttpRequest before invoking an annotated service method.
DecoratorFactory - Annotation Type in com.linecorp.armeria.server.annotation
Specifies a DecoratorFactoryFunction class which is a factory to create a decorator.
DecoratorFactoryFunction<T extends Annotation> - Interface in com.linecorp.armeria.server.annotation
A decorator factory which is used for a user-defined decorator annotation.
Decorators - Annotation Type in com.linecorp.armeria.server.annotation
The containing annotation type for Decorator.
Default - Annotation Type in com.linecorp.armeria.server.annotation
Specifies the default value of an optional parameter.
DEFAULT - Static variable in interface com.linecorp.armeria.client.ClientFactory
The default ClientFactory implementation.
DEFAULT - Static variable in class com.linecorp.armeria.client.ClientOptions
The default ClientOptions.
DEFAULT_MAX_RESPONSE_LENGTH - Static variable in class com.linecorp.armeria.client.ClientOption
DEFAULT_RESPONSE_TIMEOUT_MILLIS - Static variable in class com.linecorp.armeria.client.ClientOption
DEFAULT_WRITE_TIMEOUT_MILLIS - Static variable in class com.linecorp.armeria.client.ClientOption
defaultBackoff - Static variable in interface com.linecorp.armeria.client.retry.RetryStrategy
Deprecated.
defaultBackoffSpec() - Static method in class com.linecorp.armeria.common.Flags
Returns the default value of the backoffSpec parameter when instantiating a Backoff using Backoff.of(String).
DefaultClientBuilderParams - Class in com.linecorp.armeria.client
Default ClientBuilderParams implementation.
DefaultClientBuilderParams(ClientFactory, URI, Class<?>, ClientOptions) - Constructor for class com.linecorp.armeria.client.DefaultClientBuilderParams
Creates a new instance.
defaultClientIdleTimeoutMillis() - Static method in class com.linecorp.armeria.common.Flags
Returns the default client-side idle timeout of a connection for keep-alive in milliseconds.
DefaultClientRequestContext - Class in com.linecorp.armeria.client
Default ClientRequestContext implementation.
DefaultClientRequestContext(EventLoop, MeterRegistry, SessionProtocol, HttpMethod, String, String, String, ClientOptions, Request) - Constructor for class com.linecorp.armeria.client.DefaultClientRequestContext
Creates a new instance.
defaultConnectTimeoutMillis() - Static method in class com.linecorp.armeria.common.Flags
Returns the default client-side timeout of a socket connection attempt in milliseconds.
defaultFormat(SerializationFormat) - Method in class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Sets the default SerializationFormat.
defaultHistogramConfig() - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
 
defaultHostname() - Method in class com.linecorp.armeria.server.Server
Returns the hostname of the default VirtualHost, which is the hostname of the machine.
defaultHostname() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the default hostname of this virtual host.
defaultHostname(String) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the default hostname of the default VirtualHostBuilder.
defaultHostname(String) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the default hostname of this VirtualHost.
defaultHttp1MaxChunkSize() - Static method in class com.linecorp.armeria.common.Flags
Returns the default maximum length of each chunk in an HTTP/1 response content.
defaultHttp1MaxHeaderSize() - Static method in class com.linecorp.armeria.common.Flags
Returns the default maximum length of all headers in an HTTP/1 response.
defaultHttp1MaxInitialLineLength() - Static method in class com.linecorp.armeria.common.Flags
Returns the default maximum length of an HTTP/1 response initial line.
defaultHttp2InitialConnectionWindowSize() - Static method in class com.linecorp.armeria.common.Flags
defaultHttp2InitialStreamWindowSize() - Static method in class com.linecorp.armeria.common.Flags
defaultHttp2MaxFrameSize() - Static method in class com.linecorp.armeria.common.Flags
defaultHttp2MaxHeaderListSize() - Static method in class com.linecorp.armeria.common.Flags
defaultHttp2MaxStreamsPerConnection() - Static method in class com.linecorp.armeria.common.Flags
Returns the default value of the ServerBuilder.http2MaxStreamsPerConnection(long) option.
DefaultHttpData - Class in com.linecorp.armeria.common
Default HttpData implementation.
DefaultHttpData(byte[], boolean) - Constructor for class com.linecorp.armeria.common.DefaultHttpData
Creates a new instance.
DefaultHttpParameters - Class in com.linecorp.armeria.common
Default implementation of HttpParameters which uses the HashingStrategy.JAVA_HASHER to support case-sensitive parameter names.
DefaultHttpParameters() - Constructor for class com.linecorp.armeria.common.DefaultHttpParameters
Creates a new instance with a default value converter.
DefaultHttpParameters(int) - Constructor for class com.linecorp.armeria.common.DefaultHttpParameters
Create a new instance with a default value converter and the specified hint of array size.
DefaultHttpRequest - Class in com.linecorp.armeria.common
DefaultHttpRequest(RequestHeaders) - Constructor for class com.linecorp.armeria.common.DefaultHttpRequest
Deprecated.
Creates a new instance with the specified headers.
DefaultHttpResponse - Class in com.linecorp.armeria.common
Deprecated.
DefaultHttpResponse() - Constructor for class com.linecorp.armeria.common.DefaultHttpResponse
Deprecated.
 
defaultMaxRequestLength() - Static method in class com.linecorp.armeria.common.Flags
Returns the default server-side maximum length of a request.
defaultMaxRequestLength() - Method in class com.linecorp.armeria.server.ServerConfig
defaultMaxRequestLength() - Method in class com.linecorp.armeria.server.VirtualHost
defaultMaxRequestLength(long) - Method in class com.linecorp.armeria.server.ServerBuilder
defaultMaxResponseLength() - Method in class com.linecorp.armeria.client.ClientOptions
defaultMaxResponseLength() - Static method in class com.linecorp.armeria.common.Flags
Returns the default client-side maximum length of a response.
defaultMaxTotalAttempts() - Static method in class com.linecorp.armeria.common.Flags
Returns the default maximum number of total attempts.
defaultMimeType() - Method in class com.linecorp.armeria.server.docs.EndpointInfo
Returns the default MIME type of this endpoint.
defaultMimeType(MediaType) - Method in class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Sets the default MediaType.
defaultPort() - Method in enum com.linecorp.armeria.common.SessionProtocol
Returns the default INET port number of this protocol.
defaultRegistry - Static variable in class com.linecorp.armeria.common.metric.PrometheusMeterRegistries
DefaultRequestLog - Class in com.linecorp.armeria.common.logging
Default RequestLog implementation.
DefaultRequestLog(RequestContext) - Constructor for class com.linecorp.armeria.common.logging.DefaultRequestLog
Creates a new instance.
DefaultRequestLog(RequestContext, ContentPreviewerFactory, ContentPreviewerFactory) - Constructor for class com.linecorp.armeria.common.logging.DefaultRequestLog
Creates a new instance.
defaultRequestTimeout(Duration) - Method in class com.linecorp.armeria.server.ServerBuilder
defaultRequestTimeoutMillis() - Static method in class com.linecorp.armeria.common.Flags
Returns the default server-side timeout of a request in milliseconds.
defaultRequestTimeoutMillis() - Method in class com.linecorp.armeria.server.ServerConfig
defaultRequestTimeoutMillis() - Method in class com.linecorp.armeria.server.VirtualHost
defaultRequestTimeoutMillis(long) - Method in class com.linecorp.armeria.server.ServerBuilder
defaultResponseTimeoutMillis() - Static method in class com.linecorp.armeria.common.Flags
Returns the default client-side timeout of a response in milliseconds.
defaultResponseTimeoutMillis1() - Method in class com.linecorp.armeria.client.ClientOptions
DefaultRpcRequest - Class in com.linecorp.armeria.common
Default RpcRequest implementation.
DefaultRpcRequest(Class<?>, String) - Constructor for class com.linecorp.armeria.common.DefaultRpcRequest
Creates a new instance with no parameter.
DefaultRpcRequest(Class<?>, String, Iterable<?>) - Constructor for class com.linecorp.armeria.common.DefaultRpcRequest
Creates a new instance with the specified parameters.
DefaultRpcRequest(Class<?>, String, Object) - Constructor for class com.linecorp.armeria.common.DefaultRpcRequest
Creates a new instance with a single parameter.
DefaultRpcRequest(Class<?>, String, Object...) - Constructor for class com.linecorp.armeria.common.DefaultRpcRequest
Creates a new instance with the specified parameters.
DefaultRpcResponse - Class in com.linecorp.armeria.common
Default RpcResponse implementation.
DefaultRpcResponse() - Constructor for class com.linecorp.armeria.common.DefaultRpcResponse
Creates a new incomplete response.
DefaultRpcResponse(Object) - Constructor for class com.linecorp.armeria.common.DefaultRpcResponse
Creates a new successfully complete response.
DefaultRpcResponse(Throwable) - Constructor for class com.linecorp.armeria.common.DefaultRpcResponse
Creates a new exceptionally complete response.
defaultServerIdleTimeoutMillis() - Static method in class com.linecorp.armeria.common.Flags
Returns the default server-side idle timeout of a connection for keep-alive in milliseconds.
DefaultServiceRequestContext - Class in com.linecorp.armeria.server
Default ServiceRequestContext implementation.
DefaultServiceRequestContext(ServiceConfig, Channel, MeterRegistry, SessionProtocol, RoutingContext, RoutingResult, HttpRequest, SSLSession, ProxiedAddresses, InetAddress) - Constructor for class com.linecorp.armeria.server.DefaultServiceRequestContext
Creates a new instance.
DefaultServiceRequestContext(ServiceConfig, Channel, MeterRegistry, SessionProtocol, RoutingContext, RoutingResult, HttpRequest, SSLSession, ProxiedAddresses, InetAddress, long, long) - Constructor for class com.linecorp.armeria.server.DefaultServiceRequestContext
Creates a new instance.
DefaultStreamMessage<T> - Class in com.linecorp.armeria.common.stream
A StreamMessage which buffers the elements to be signaled into a Queue.
DefaultStreamMessage() - Constructor for class com.linecorp.armeria.common.stream.DefaultStreamMessage
Creates a new instance.
defaultSubscriberExecutor() - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
Returns the default EventExecutor which will be used when a user subscribes using PublisherBasedStreamMessage.subscribe(Subscriber, SubscriptionOption...).
defaultUseHttp1Pipelining() - Static method in class com.linecorp.armeria.common.Flags
Returns the default value of the ClientFactoryBuilder.useHttp1Pipelining(boolean) option.
defaultUseHttp2Preface() - Static method in class com.linecorp.armeria.common.Flags
Returns the default value of the ClientFactoryBuilder.useHttp2Preface(boolean) option.
defaultVirtualHost() - Method in class com.linecorp.armeria.server.ServerBuilder
Returns the VirtualHostBuilder for building the default name-based virtual host.
defaultVirtualHost() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the default VirtualHost, which is used when no other VirtualHosts match the host name of a client request. e.g. the "Host" header in HTTP or host name in TLS SNI extension
defaultWriteTimeoutMillis() - Method in class com.linecorp.armeria.client.ClientOptions
defaultWriteTimeoutMillis() - Static method in class com.linecorp.armeria.common.Flags
Returns the default client-side timeout of a socket write attempt in milliseconds.
defer(ClientRequestContext, HttpRequest) - Method in class com.linecorp.armeria.client.limit.ConcurrencyLimitingHttpClient
 
defer(ClientRequestContext, I) - Method in class com.linecorp.armeria.client.limit.ConcurrencyLimitingClient
Defers the specified Request.
DeferredHttpResponse - Class in com.linecorp.armeria.common
DeferredHttpResponse() - Constructor for class com.linecorp.armeria.common.DeferredHttpResponse
Deprecated.
 
DeferredStreamMessage<T> - Class in com.linecorp.armeria.common.stream
A StreamMessage whose stream is published later by another StreamMessage.
DeferredStreamMessage() - Constructor for class com.linecorp.armeria.common.stream.DeferredStreamMessage
 
deferRequestContent() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
deferRequestContent() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
deferResponseContent() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
deferResponseContent() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
DeflateStreamDecoderFactory - Class in com.linecorp.armeria.client.encoding
A StreamDecoderFactory which supports the 'deflate' encoding.
DeflateStreamDecoderFactory() - Constructor for class com.linecorp.armeria.client.encoding.DeflateStreamDecoderFactory
 
delayedThrowable() - Method in interface com.linecorp.armeria.server.RoutingContext
Returns a delayed Throwable set before via RoutingContext.delayThrowable(Throwable).
delayThrowable(Throwable) - Method in interface com.linecorp.armeria.server.RoutingContext
Delays throwing a Throwable until reaching the end of the service list.
delegate() - Method in class com.linecorp.armeria.client.ConnectionPoolListenerWrapper
Returns the ConnectionPoolListener this handler decorates.
delegate() - Method in class com.linecorp.armeria.client.DecoratingClient
Returns the Client being decorated.
delegate() - Method in class com.linecorp.armeria.client.DecoratingClientFactory
Returns the delegate ClientFactory.
delegate() - Method in class com.linecorp.armeria.client.retry.BackoffWrapper
 
delegate() - Method in class com.linecorp.armeria.client.UserClient
Returns the Client that will process Requests.
delegate() - Method in class com.linecorp.armeria.common.RequestContextWrapper
Returns the delegate context.
delegate() - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
Returns the delegate Publisher.
delegate() - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
Returns the StreamMessage being decorated.
delegate() - Method in class com.linecorp.armeria.server.DecoratingService
Returns the Service being decorated.
delegate(HttpResponse) - Method in class com.linecorp.armeria.common.DeferredHttpResponse
Deprecated.
Sets the delegate HttpResponse which will publish the stream actually.
delegate(StreamMessage<T>) - Method in class com.linecorp.armeria.common.stream.DeferredStreamMessage
Sets the delegate StreamMessage which will actually publish the stream.
delegate(O) - Method in interface com.linecorp.armeria.client.limit.ConcurrencyLimitingClient.Deferred
Delegates the response to the specified Response.
delete(String) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP DELETE request.
delete(String) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
delete(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
Delete - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for mapping HttpMethod.DELETE onto specific method.
DELETE - com.linecorp.armeria.common.HttpMethod
The DELETE method which requests that the origin server delete the resource identified by the Request-URI.
Description - Annotation Type in com.linecorp.armeria.server.annotation
An annotation used in annotated HTTP service.
deserialize(JsonParser, DeserializationContext) - Method in class com.linecorp.armeria.common.MediaTypeJsonDeserializer
 
destinationAddress() - Method in class com.linecorp.armeria.server.ProxiedAddresses
Returns the destination address of the proxied request.
directEventLoop() - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
Returns a special EventLoop which executes submitted tasks in the caller thread.
disabled() - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewer
A dummy ContentPreviewer which discards everything it collected and produces null.
disabled() - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
disabled() - Static method in interface com.linecorp.armeria.server.logging.AccessLogWriter
Returns disabled access log writer.
disabled() - Static method in class com.linecorp.armeria.server.logging.AccessLogWriters
Deprecated.
Returns disabled access log writer.
DISABLED - Static variable in class com.linecorp.armeria.common.ServerCacheControl
"no-cache, no-store, must-revalidate".
DISABLED - Static variable in class com.linecorp.armeria.server.cors.CorsConfig
CorsConfig with CORS disabled.
DISABLED - Static variable in interface com.linecorp.armeria.server.RejectedRouteHandler
A RejectedRouteHandler that does nothing for a problematic Route.
disablePreflightResponseHeaders() - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Specifies that no preflight response headers should be added to a preflight response.
disableShutdownHook() - Static method in interface com.linecorp.armeria.client.ClientFactory
Disables the shutdown hook which closes the default ClientFactory.
distributionStatisticConfig() - Static method in class com.linecorp.armeria.common.metric.MoreMeters
Returns the DistributionStatisticConfig to use when the factory methods in MoreMeters create a Timer or a DistributionSummary.
DnsAddressEndpointGroup - Class in com.linecorp.armeria.client.endpoint.dns
DynamicEndpointGroup which resolves targets using DNS address queries (A and AAAA).
DnsAddressEndpointGroupBuilder - Class in com.linecorp.armeria.client.endpoint.dns
Builds a new DnsAddressEndpointGroup that sources its Endpoint list from the A or AAAA DNS records of a certain hostname.
DnsAddressEndpointGroupBuilder(String) - Constructor for class com.linecorp.armeria.client.endpoint.dns.DnsAddressEndpointGroupBuilder
Creates a new instance that builds a DnsAddressEndpointGroup for the specified hostname.
dnsResolutionDurationNanos() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the duration which was taken to resolve a domain name, in nanoseconds.
dnsResolutionEnd() - Method in class com.linecorp.armeria.client.ClientConnectionTimingsBuilder
Sets the time when the client ended to resolve a domain name.
dnsResolutionStartTimeMicros() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the time when the client started to resolve a domain name, in microseconds since the epoch.
dnsResolutionStartTimeMillis() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the time when the client started to resolve a domain name, in milliseconds since the epoch.
DnsServiceEndpointGroup - Class in com.linecorp.armeria.client.endpoint.dns
DynamicEndpointGroup which resolves targets using DNS SRV records.
DnsServiceEndpointGroupBuilder - Class in com.linecorp.armeria.client.endpoint.dns
Builds a new DnsServiceEndpointGroup that sources its Endpoint list from the SRV DNS records of a certain hostname.
DnsServiceEndpointGroupBuilder(String) - Constructor for class com.linecorp.armeria.client.endpoint.dns.DnsServiceEndpointGroupBuilder
Creates a new instance that builds a DnsServiceEndpointGroup for the specified hostname.
DnsTextEndpointGroup - Class in com.linecorp.armeria.client.endpoint.dns
DynamicEndpointGroup which resolves targets using DNS TXT records.
DnsTextEndpointGroupBuilder - Class in com.linecorp.armeria.client.endpoint.dns
Builds a new DnsTextEndpointGroup that sources its Endpoint list from the TXT DNS records of a certain hostname.
DnsTextEndpointGroupBuilder(String, Function<byte[], Endpoint>) - Constructor for class com.linecorp.armeria.client.endpoint.dns.DnsTextEndpointGroupBuilder
Creates a new instance that builds a DnsTextEndpointGroup for the specified hostname.
DNT - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "DNT" header field name.
DocService - Class in com.linecorp.armeria.server.docs
An HttpService that provides information about the Services running in a Server.
DocService() - Constructor for class com.linecorp.armeria.server.docs.DocService
Creates a new instance.
DocServiceBuilder - Class in com.linecorp.armeria.server.docs
Builds a new DocService.
DocServiceBuilder() - Constructor for class com.linecorp.armeria.server.docs.DocServiceBuilder
 
DocServiceFilter - Interface in com.linecorp.armeria.server.docs
A filter which includes or excludes service methods when building a DocService.
DocServicePlugin - Interface in com.linecorp.armeria.server.docs
Generates the ServiceSpecifications of the supported Services.
docString() - Method in class com.linecorp.armeria.server.docs.EnumInfo
 
docString() - Method in class com.linecorp.armeria.server.docs.EnumValueInfo
Returns the documentation string that describes the enum value.
docString() - Method in class com.linecorp.armeria.server.docs.ExceptionInfo
 
docString() - Method in class com.linecorp.armeria.server.docs.FieldInfo
Returns the documentation string of the field.
docString() - Method in class com.linecorp.armeria.server.docs.MethodInfo
Returns the documentation string of the function.
docString() - Method in interface com.linecorp.armeria.server.docs.NamedTypeInfo
Returns the documentation string.
docString() - Method in class com.linecorp.armeria.server.docs.ServiceInfo
Returns the documentation string.
docString() - Method in class com.linecorp.armeria.server.docs.StructInfo
 
docString(String) - Method in class com.linecorp.armeria.server.docs.FieldInfoBuilder
Sets the documentation string of the field.
DocStringExtractor - Class in com.linecorp.armeria.server.docs
A supporting base class for implementing the standard pattern of extracting docstrings from arbitrary files in a particular classpath location.
DocStringExtractor(String, String) - Constructor for class com.linecorp.armeria.server.docs.DocStringExtractor
 
doDelete(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.AbstractHttpService
Handles a DELETE request.
doDelete(ServiceRequestContext, HttpRequest, HttpResponseWriter) - Method in class com.linecorp.armeria.server.AbstractHttpService
doExecute(ClientRequestContext, HttpRequest) - Method in class com.linecorp.armeria.client.retry.RetryingHttpClient
 
doExecute(ClientRequestContext, HttpRequest, CircuitBreaker) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
 
doExecute(ClientRequestContext, RpcRequest) - Method in class com.linecorp.armeria.client.retry.RetryingRpcClient
 
doExecute(ClientRequestContext, RpcRequest, CircuitBreaker) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
 
doExecute(ClientRequestContext, I) - Method in class com.linecorp.armeria.client.retry.RetryingClient
Invoked by RetryingClient.execute(ClientRequestContext, Request) after the deadline for response timeout is set.
doExecute(ClientRequestContext, I, CircuitBreaker) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClient
Invoked when the CircuitBreaker is in closed state.
doGet(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.AbstractHttpService
Handles a GET request.
doGet(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.file.HttpFileService
 
doGet(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
Deprecated.
 
doGet(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.metric.PrometheusExpositionService
 
doGet(ServiceRequestContext, HttpRequest, HttpResponseWriter) - Method in class com.linecorp.armeria.server.AbstractHttpService
doHead(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.AbstractHttpService
Handles a HEAD request.
doHead(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
Deprecated.
 
doHead(ServiceRequestContext, HttpRequest, HttpResponseWriter) - Method in class com.linecorp.armeria.server.AbstractHttpService
domainNameResolverCustomizer(Consumer<? super DnsNameResolverBuilder>) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Adds the specified Consumer which customizes the given DnsNameResolverBuilder.
doNextDelayMillis(int) - Method in class com.linecorp.armeria.client.retry.AbstractBackoff
Invoked by AbstractBackoff.nextDelayMillis(int) after numAttemptsSoFar is validated.
doOptions(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.AbstractHttpService
Handles an OPTIONS request.
doOptions(ServiceRequestContext, HttpRequest, HttpResponseWriter) - Method in class com.linecorp.armeria.server.AbstractHttpService
doPatch(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.AbstractHttpService
Handles a PATCH request.
doPatch(ServiceRequestContext, HttpRequest, HttpResponseWriter) - Method in class com.linecorp.armeria.server.AbstractHttpService
doPost(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.AbstractHttpService
Handles a POST request.
doPost(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.metric.PrometheusExpositionService
 
doPost(ServiceRequestContext, HttpRequest, HttpResponseWriter) - Method in class com.linecorp.armeria.server.AbstractHttpService
doPut(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.AbstractHttpService
Handles a PUT request.
doPut(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.healthcheck.ManagedHttpHealthCheckService
Deprecated.
 
doPut(ServiceRequestContext, HttpRequest, HttpResponseWriter) - Method in class com.linecorp.armeria.server.AbstractHttpService
doRead(ResponseHeaders, long, Executor, ByteBufAllocator) - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
Returns a new HttpResponse which streams the content of the file which follows the specified ResponseHeaders.
doRead(ResponseHeaders, long, Executor, ByteBufAllocator) - Method in class com.linecorp.armeria.server.file.StreamingHttpFile
 
doStart(T) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Invoked by StartStopSupport.start(Object, boolean) to perform the actual startup.
doStop(U) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Invoked by StartStopSupport.stop(Object) to perform the actual startup, or indirectly by StartStopSupport.start(Object, boolean) when startup failed.
doTrace(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.AbstractHttpService
Handles a TRACE request.
doTrace(ServiceRequestContext, HttpRequest, HttpResponseWriter) - Method in class com.linecorp.armeria.server.AbstractHttpService
drainAll() - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
drainAll() - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
drainAll() - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Subscribes to this StreamMessage and retrieves all elements from it.
drainAll() - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
drainAll(boolean) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
drainAll(boolean) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
drainAll(boolean) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
drainAll(boolean) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
drainAll(SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
drainAll(SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
drainAll(SubscriptionOption...) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Subscribes to this StreamMessage and retrieves all elements from it.
drainAll(SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
drainAll(EventExecutor) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
drainAll(EventExecutor) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
drainAll(EventExecutor) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Subscribes to this StreamMessage and retrieves all elements from it.
drainAll(EventExecutor) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
drainAll(EventExecutor, boolean) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
drainAll(EventExecutor, boolean) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
drainAll(EventExecutor, boolean) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
drainAll(EventExecutor, boolean) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
drainAll(EventExecutor, SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
drainAll(EventExecutor, SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
drainAll(EventExecutor, SubscriptionOption...) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Subscribes to this StreamMessage and retrieves all elements from it.
drainAll(EventExecutor, SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
dropwizard() - Static method in class com.linecorp.armeria.common.metric.MoreNamingConventions
DropwizardMeterRegistries - Class in com.linecorp.armeria.common.metric
Provides the convenient factory methods for DropwizardMeterRegistry with more sensible defaults for NamingConvention and HierarchicalNameMapper.
dump(OutputStream) - Method in interface com.linecorp.armeria.server.Router
Dumps the content of this Router.
dumpOpenSslInfo() - Static method in class com.linecorp.armeria.common.Flags
Returns whether information about the OpenSSL environment should be dumped when first starting the application, including supported ciphers.
duplicate() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
duplicateStream() - Method in class com.linecorp.armeria.common.HttpRequestDuplicator
 
duplicateStream() - Method in class com.linecorp.armeria.common.HttpResponseDuplicator
 
duplicateStream() - Method in class com.linecorp.armeria.common.stream.AbstractStreamMessageDuplicator
Creates a new StreamMessage that duplicates the publisher specified when creating this duplicator.
duplicateStream(boolean) - Method in class com.linecorp.armeria.common.HttpRequestDuplicator
 
duplicateStream(boolean) - Method in class com.linecorp.armeria.common.HttpResponseDuplicator
 
duplicateStream(boolean) - Method in class com.linecorp.armeria.common.stream.AbstractStreamMessageDuplicator
Creates a new StreamMessage that duplicates the publisher specified when creating this duplicator.
duplicateStream(RequestHeaders) - Method in class com.linecorp.armeria.common.HttpRequestDuplicator
Creates a new HttpRequest instance that publishes data from the publisher you create this factory with.
duplicateStream(RequestHeaders, boolean) - Method in class com.linecorp.armeria.common.HttpRequestDuplicator
Creates a new HttpRequest instance that publishes data from the publisher you create this factory with.
duplicatorExecutor() - Method in class com.linecorp.armeria.common.stream.AbstractStreamMessageDuplicator
Returns the default EventExecutor which will be used when a user subscribes to a child stream using StreamMessage.subscribe(Subscriber, SubscriptionOption...).
DynamicEndpointGroup - Class in com.linecorp.armeria.client.endpoint
A dynamic EndpointGroup.
DynamicEndpointGroup() - Constructor for class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
 

E

EARLY_DATA - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Early-Data" header field name.
elapsed(long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
Creates a new StringBuilder whose content is the human-readable representation of the duration given as elapsed.
elapsed(long, long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
Creates a new StringBuilder whose content is the human-readable representation of the duration between the specified startTimeNanos and endTimeNanos.
elapsedAndSize(long, long, long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
empty() - Static method in interface com.linecorp.armeria.client.endpoint.EndpointGroup
Returns a singleton EndpointGroup which does not contain any Endpoints.
empty() - Static method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Returns a singleton empty ServerSentEvent.
empty() - Static method in class com.linecorp.armeria.server.Routed
Returns a singleton instance of a Routed that represents a non-existent value.
empty() - Static method in class com.linecorp.armeria.server.RoutingResult
The empty RoutingResult whose RoutingResult.isPresent() returns false.
EMPTY - Static variable in class com.linecorp.armeria.common.ClientCacheControl
An empty instance with all directives disabled.
EMPTY - Static variable in class com.linecorp.armeria.common.ServerCacheControl
An empty instance with all directives disabled.
EMPTY_DATA - Static variable in interface com.linecorp.armeria.common.HttpData
Empty HTTP/2 data.
EMPTY_HEADERS - Static variable in interface com.linecorp.armeria.common.HttpHeaders
Deprecated.
EMPTY_PARAMETERS - Static variable in interface com.linecorp.armeria.common.HttpParameters
An immutable empty HTTP parameters map.
EmptyFixedStreamMessage<T> - Class in com.linecorp.armeria.common.stream
A FixedStreamMessage that publishes no objects, just a close event.
EmptyFixedStreamMessage() - Constructor for class com.linecorp.armeria.common.stream.EmptyFixedStreamMessage
 
encodingHeaderValue() - Method in class com.linecorp.armeria.client.encoding.DeflateStreamDecoderFactory
 
encodingHeaderValue() - Method in class com.linecorp.armeria.client.encoding.GzipStreamDecoderFactory
 
encodingHeaderValue() - Method in interface com.linecorp.armeria.client.encoding.StreamDecoderFactory
Returns the value of the Content-Encoding header which this factory applies to.
endOfStream(boolean) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets whether the headers will be the last frame in an HTTP/2 stream.
endOfStream(boolean) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
endOfStream(boolean) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
endpoint() - Method in interface com.linecorp.armeria.client.ClientRequestContext
Returns the remote Endpoint of the current Request.
endpoint() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
endpoint() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
endpoint() - Method in class com.linecorp.armeria.client.UserClient
Returns the Endpoint of the UserClient.delegate().
endpoint(Endpoint) - Method in class com.linecorp.armeria.client.ClientRequestContextBuilder
Sets the Endpoint of the request.
Endpoint - Class in com.linecorp.armeria.client
A remote endpoint that refers to a single host or a group of multiple hosts.
EndpointGroup - Interface in com.linecorp.armeria.client.endpoint
A list of Endpoints.
EndpointGroupException - Exception in com.linecorp.armeria.client.endpoint
A RuntimeException raised when the resolution of an EndpointGroup fails.
EndpointGroupException() - Constructor for exception com.linecorp.armeria.client.endpoint.EndpointGroupException
Creates a new instance.
EndpointGroupException(String) - Constructor for exception com.linecorp.armeria.client.endpoint.EndpointGroupException
Creates a new instance with the specified message.
EndpointGroupException(String, Throwable) - Constructor for exception com.linecorp.armeria.client.endpoint.EndpointGroupException
Creates a new instance with the specified message and cause.
EndpointGroupException(String, Throwable, boolean, boolean) - Constructor for exception com.linecorp.armeria.client.endpoint.EndpointGroupException
Creates a new instance with the specified message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
EndpointGroupException(Throwable) - Constructor for exception com.linecorp.armeria.client.endpoint.EndpointGroupException
Creates a new instance with the specified cause.
EndpointGroupRegistry - Class in com.linecorp.armeria.client.endpoint
An in-memory registry of server groups.
EndpointInfo - Class in com.linecorp.armeria.server.docs
Metadata about the endpoints exposed by a Service.
EndpointInfoBuilder - Class in com.linecorp.armeria.server.docs
Creates a new EndpointInfo using the builder pattern.
EndpointInfoBuilder(String, String) - Constructor for class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Creates a new EndpointInfoBuilder that builds the EndpointInfo with the specified hostnamePattern and pathMapping.
endpoints() - Method in class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
 
endpoints() - Method in interface com.linecorp.armeria.client.endpoint.EndpointGroup
Return the endpoints held by this EndpointGroup.
endpoints() - Method in class com.linecorp.armeria.client.endpoint.StaticEndpointGroup
 
endpoints() - Method in class com.linecorp.armeria.server.docs.MethodInfo
Returns the endpoints for accessing this method.
EndpointSelectionStrategy - Interface in com.linecorp.armeria.client.endpoint
Endpoint selection strategy that creates a EndpointSelector.
endpointSelector() - Method in interface com.linecorp.armeria.client.ClientRequestContext
Returns the EndpointSelector used for the current Request.
endpointSelector() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
endpointSelector() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
EndpointSelector - Interface in com.linecorp.armeria.client.endpoint
Selects an Endpoint from an EndpointGroup.
endRequest() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
endRequest() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Finishes the collection of the Request information.
endRequest(long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
endRequest(long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Finishes the collection of the Request information.
endRequest(Throwable) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
endRequest(Throwable) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Finishes the collection of the Request information.
endRequest(Throwable, long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
endRequest(Throwable, long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Finishes the collection of the Request information.
endResponse() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
endResponse() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Finishes the collection of the Response information.
endResponse(long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
endResponse(long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Finishes the collection of the Response information.
endResponse(Throwable) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
endResponse(Throwable) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Finishes the collection of the Response information.
endResponse(Throwable, long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
endResponse(Throwable, long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Finishes the collection of the Response information.
endResponseWithLastChild() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
endResponseWithLastChild() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Fills the response-side logs from the last added child.
ensureAvailability(RequestLogAvailability) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Ensures that the specified RequestLogAvailability is satisfied.
ensureAvailability(RequestLogAvailability...) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Ensures that all of the specified RequestLogAvailabilitys are satisfied.
ensureAvailability(Iterable<RequestLogAvailability>) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Ensures that all of the specified RequestLogAvailabilitys are satisfied.
entityTag(boolean) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets whether to set the "etag" header automatically based on the path and attributes of the file.
entityTag(BiFunction<String, HttpFileAttributes, String>) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets the function which generates the entity tag that's used for setting the "etag" header automatically.
entityTagFunction() - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Returns the function which generates the entity tag that's used for setting the "etag" header automatically.
entries() - Method in class com.linecorp.armeria.common.SerializationFormatProvider
Entry(String, MediaType, MediaType...) - Constructor for class com.linecorp.armeria.common.SerializationFormatProvider.Entry
Creates a new instance.
EnumInfo - Class in com.linecorp.armeria.server.docs
Metadata about an enum type.
EnumInfo(Class<? extends Enum<?>>) - Constructor for class com.linecorp.armeria.server.docs.EnumInfo
Creates a new instance.
EnumInfo(Class<? extends Enum<?>>, String) - Constructor for class com.linecorp.armeria.server.docs.EnumInfo
Creates a new instance.
EnumInfo(String, Class<? extends Enum<?>>) - Constructor for class com.linecorp.armeria.server.docs.EnumInfo
Creates a new instance.
EnumInfo(String, Class<? extends Enum<?>>, String) - Constructor for class com.linecorp.armeria.server.docs.EnumInfo
Creates a new instance.
EnumInfo(String, Iterable<EnumValueInfo>) - Constructor for class com.linecorp.armeria.server.docs.EnumInfo
Creates a new instance.
EnumInfo(String, Iterable<EnumValueInfo>, String) - Constructor for class com.linecorp.armeria.server.docs.EnumInfo
Creates a new instance.
enums() - Method in class com.linecorp.armeria.server.docs.ServiceSpecification
Returns the metadata about the enums related with the services in this specification.
EnumValueInfo - Class in com.linecorp.armeria.server.docs
Metadata about an enum value.
EnumValueInfo(String) - Constructor for class com.linecorp.armeria.server.docs.EnumValueInfo
Creates a new instance.
EnumValueInfo(String, String) - Constructor for class com.linecorp.armeria.server.docs.EnumValueInfo
Creates a new instance.
EOT - Static variable in class com.linecorp.armeria.common.MediaType
epoch(long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
epochMicros(long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
Formats the given epoch time in microseconds to typical human-readable format "yyyy-MM-dd'T'HH:mm:ss.SSSX".
epochMillis(long) - Static method in class com.linecorp.armeria.common.util.TextFormatter
Formats the given epoch time in milliseconds to typical human-readable format "yyyy-MM-dd'T'HH:mm:ss.SSSX".
EPUB - Static variable in class com.linecorp.armeria.common.MediaType
As described in the International Digital Publishing Forum EPUB is the distribution and interchange format standard for digital publications and documents.
equals(Object) - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
 
equals(Object) - Method in class com.linecorp.armeria.client.Endpoint
 
equals(Object) - Method in class com.linecorp.armeria.common.AbstractHttpData
 
equals(Object) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
equals(Object) - Method in class com.linecorp.armeria.common.CacheControl
 
equals(Object) - Method in class com.linecorp.armeria.common.ClientCacheControl
 
equals(Object) - Method in class com.linecorp.armeria.common.DefaultRpcRequest
 
equals(Object) - Method in class com.linecorp.armeria.common.HttpStatus
Returns whether the specified object is "equal to" this status.
equals(Object) - Method in class com.linecorp.armeria.common.MediaType
 
equals(Object) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
 
equals(Object) - Method in class com.linecorp.armeria.common.Scheme
 
equals(Object) - Method in class com.linecorp.armeria.common.SerializationFormat
 
equals(Object) - Method in class com.linecorp.armeria.common.SerializationFormatProvider.Entry
 
equals(Object) - Method in class com.linecorp.armeria.common.ServerCacheControl
 
equals(Object) - Method in class com.linecorp.armeria.server.auth.BasicToken
 
equals(Object) - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
 
equals(Object) - Method in class com.linecorp.armeria.server.auth.OAuth2Token
 
equals(Object) - Method in class com.linecorp.armeria.server.ClientAddressSource
 
equals(Object) - Method in class com.linecorp.armeria.server.docs.EndpointInfo
 
equals(Object) - Method in class com.linecorp.armeria.server.docs.EnumInfo
 
equals(Object) - Method in class com.linecorp.armeria.server.docs.EnumValueInfo
 
equals(Object) - Method in class com.linecorp.armeria.server.docs.ExceptionInfo
 
equals(Object) - Method in class com.linecorp.armeria.server.docs.FieldInfo
 
equals(Object) - Method in class com.linecorp.armeria.server.docs.MethodInfo
 
equals(Object) - Method in class com.linecorp.armeria.server.docs.ServiceInfo
 
equals(Object) - Method in class com.linecorp.armeria.server.docs.StructInfo
 
equals(Object) - Method in class com.linecorp.armeria.server.docs.TypeSignature
 
equals(Object) - Method in class com.linecorp.armeria.server.file.HttpFileAttributes
 
equals(Object) - Method in class com.linecorp.armeria.server.RouteBuilder
 
equals(Object) - Method in class com.linecorp.armeria.server.ServerPort
 
ERROR - com.linecorp.armeria.common.logging.LogLevel
ERROR log level.
ETAG - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "ETag" header field name.
event() - Method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Returns an event name of this event, if it exists.
event(String) - Method in class com.linecorp.armeria.common.sse.ServerSentEventBuilder
Sets the specified event.
EVENT_STREAM - Static variable in class com.linecorp.armeria.common.MediaType
As described in Server-Sent Events, this constant (text/event-stream) is used when sending notifications in the form of DOM events from a server.
EventCount - Class in com.linecorp.armeria.client.circuitbreaker
An immutable object that stores the count of events.
EventCount(long, long) - Constructor for class com.linecorp.armeria.client.circuitbreaker.EventCount
Creates a new instance with the specified number of successes and failures.
eventLoop() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
eventLoop() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the EventLoop that handles the request.
eventLoop() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the EventLoop that is handling the current Request.
eventLoop() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
eventLoop() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
eventLoop(EventLoop) - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Sets the EventLoop that handles the request.
eventLoopGroup() - Method in interface com.linecorp.armeria.client.ClientFactory
Returns the EventLoopGroup being used by this ClientFactory.
eventLoopGroup() - Method in class com.linecorp.armeria.client.DecoratingClientFactory
 
EventLoopGroups - Class in com.linecorp.armeria.common.util
Provides methods that are useful for creating an EventLoopGroup.
eventLoopSupplier() - Method in interface com.linecorp.armeria.client.ClientFactory
Returns a Supplier that provides one of the EventLoops being used by this ClientFactory.
eventLoopSupplier() - Method in class com.linecorp.armeria.client.DecoratingClientFactory
 
EventLoopThreadFactory - Class in com.linecorp.armeria.common.util
ThreadFactory that creates event loop threads.
EventLoopThreadFactory(String) - Constructor for class com.linecorp.armeria.common.util.EventLoopThreadFactory
Creates a new factory that creates a non-daemon and normal-priority thread.
EventLoopThreadFactory(String, boolean) - Constructor for class com.linecorp.armeria.common.util.EventLoopThreadFactory
Creates a new factory that creates a normal-priority thread.
EventLoopThreadFactory(String, boolean, int) - Constructor for class com.linecorp.armeria.common.util.EventLoopThreadFactory
Creates a new factory.
EventLoopThreadFactory(String, boolean, int, ThreadGroup) - Constructor for class com.linecorp.armeria.common.util.EventLoopThreadFactory
Creates a new factory.
EventLoopThreadFactory(String, int) - Constructor for class com.linecorp.armeria.common.util.EventLoopThreadFactory
Creates a new factory that creates a non-daemon thread.
exact(String) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to match the specified exact path.
EXACT - com.linecorp.armeria.server.RoutePathType
The exact path type. e.g, "/foo"
exampleHttpHeaders() - Method in class com.linecorp.armeria.server.docs.MethodInfo
Returns the example HTTP headers of the method.
exampleHttpHeaders() - Method in class com.linecorp.armeria.server.docs.ServiceInfo
Returns the example HTTP headers of the service.
exampleHttpHeaders() - Method in class com.linecorp.armeria.server.docs.ServiceSpecification
Returns the example HTTP headers of the services in this specification.
exampleHttpHeaders(HttpHeaders...) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders which are applicable to any services.
exampleHttpHeaders(Class<?>, HttpHeaders...) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders for the service with the specified type.
exampleHttpHeaders(Class<?>, Iterable<? extends HttpHeaders>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders for the service with the specified type.
exampleHttpHeaders(Class<?>, String, HttpHeaders...) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders for the method with the specified type and method name.
exampleHttpHeaders(Class<?>, String, Iterable<? extends HttpHeaders>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders for the method with the specified type and method name.
exampleHttpHeaders(Iterable<? extends HttpHeaders>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders which are applicable to any services.
exampleHttpHeaders(String, HttpHeaders...) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders for the service with the specified name.
exampleHttpHeaders(String, Iterable<? extends HttpHeaders>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders for the service with the specified name.
exampleHttpHeaders(String, String, HttpHeaders...) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders for the method with the specified service and method name.
exampleHttpHeaders(String, String, Iterable<? extends HttpHeaders>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example HttpHeaders for the method with the specified service and method name.
exampleRequest(Iterable<?>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example requests which are applicable to the method denoted by the specified example requests.
exampleRequest(Object...) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example requests which are applicable to the method denoted by the specified example requests.
exampleRequestForMethod(Class<?>, String, Iterable<?>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example requests for the method with the specified service type and method name.
exampleRequestForMethod(Class<?>, String, Object...) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example requests for the method with the specified service type and method name.
exampleRequestForMethod(String, String, Iterable<?>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example requests for the method with the specified service and method name.
exampleRequestForMethod(String, String, Object...) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the example requests for the method with the specified service and method name.
exampleRequests() - Method in class com.linecorp.armeria.server.docs.MethodInfo
Returns the list of the example request serialized in a string.
ExceptionFilter - Interface in com.linecorp.armeria.client.circuitbreaker
A filter that decides whether circuit breaker should deal with a given error raised by remote service.
ExceptionHandler - Annotation Type in com.linecorp.armeria.server.annotation
Specifies an ExceptionHandlerFunction class which handles exceptions throwing from an annotated service method.
ExceptionHandlerFunction - Interface in com.linecorp.armeria.server.annotation
An interface for exception handler.
ExceptionHandlers - Annotation Type in com.linecorp.armeria.server.annotation
The containing annotation type for ExceptionHandler.
ExceptionInfo - Class in com.linecorp.armeria.server.docs
Metadata about an exception type.
ExceptionInfo(String, Iterable<FieldInfo>) - Constructor for class com.linecorp.armeria.server.docs.ExceptionInfo
Creates a new instance.
ExceptionInfo(String, Iterable<FieldInfo>, String) - Constructor for class com.linecorp.armeria.server.docs.ExceptionInfo
Creates a new instance.
exceptions() - Method in class com.linecorp.armeria.server.docs.ServiceSpecification
Returns the metadata about the exceptions related with the services in this specification.
Exceptions - Class in com.linecorp.armeria.common.util
Provides methods that are useful for handling exceptions.
exceptionTypeSignatures() - Method in class com.linecorp.armeria.server.docs.MethodInfo
Returns the metadata about the exceptions declared by the function.
ExceptionVerbosity - Enum in com.linecorp.armeria.server.annotation
The verbosity of exceptions logged by annotated HTTP services.
exclude(DocServiceFilter) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the DocServiceFilter that checks whether a method will be excluded while building DocService.
execute(Client<I, O>, ClientRequestContext, I) - Method in interface com.linecorp.armeria.client.DecoratingClientFunction
Sends a Request to a remote Endpoint, as specified in ClientRequestContext.endpoint().
execute(ClientRequestContext, HttpRequest) - Method in class com.linecorp.armeria.client.encoding.HttpDecodingClient
 
execute(ClientRequestContext, I) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClient
 
execute(ClientRequestContext, I) - Method in interface com.linecorp.armeria.client.Client
Sends a Request to a remote Endpoint, as specified in ClientRequestContext.endpoint().
execute(ClientRequestContext, I) - Method in class com.linecorp.armeria.client.limit.ConcurrencyLimitingClient
 
execute(ClientRequestContext, I) - Method in class com.linecorp.armeria.client.logging.LoggingClient
 
execute(ClientRequestContext, I) - Method in class com.linecorp.armeria.client.metric.MetricCollectingClient
 
execute(ClientRequestContext, I) - Method in class com.linecorp.armeria.client.retry.RetryingClient
 
execute(AggregatedHttpRequest) - Method in interface com.linecorp.armeria.client.HttpClient
Sends the specified HTTP request.
execute(HttpMethod, String, String, String, I, BiFunction<ClientRequestContext, Throwable, O>) - Method in class com.linecorp.armeria.client.UserClient
Executes the specified Request via UserClient.delegate().
execute(HttpRequest) - Method in interface com.linecorp.armeria.client.HttpClient
Sends the specified HTTP request.
execute(RequestHeaders) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an empty HTTP request with the specified headers.
execute(RequestHeaders, byte[]) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP request with the specified headers and content.
execute(RequestHeaders, HttpData) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP request with the specified headers and content.
execute(RequestHeaders, String) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP request with the specified headers and content.
execute(RequestHeaders, String, Charset) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP request with the specified headers and content.
execute(EventLoop, HttpMethod, String, String, String, I, BiFunction<ClientRequestContext, Throwable, O>) - Method in class com.linecorp.armeria.client.UserClient
Executes the specified Request via UserClient.delegate().
executor() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the Executor that is handling the current Request.
EXPECT - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Expect" header field name.
EXPECTATION_FAILED - Static variable in class com.linecorp.armeria.common.HttpStatus
417 Expectation Failed.
expected() - Method in exception com.linecorp.armeria.client.SessionProtocolNegotiationException
Returns the expected SessionProtocol.
EXPIRES - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Expires" header field name.
exponential(long, long) - Static method in interface com.linecorp.armeria.client.retry.Backoff
Returns a Backoff that waits an exponentially-increasing amount of time between attempts.
exponential(long, long, double) - Static method in interface com.linecorp.armeria.client.retry.Backoff
Returns a Backoff that waits an exponentially-increasing amount of time between attempts.
exposedHeaders() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
The headers to be exposed to calling clients.
exposedHeaders() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Returns a set of headers to be exposed to calling clients.
exposeHeaders(CharSequence...) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Specifies the headers to be exposed to calling clients.

F

factory() - Method in interface com.linecorp.armeria.client.ClientBuilderParams
Returns the ClientFactory who created the client.
factory() - Method in class com.linecorp.armeria.client.DefaultClientBuilderParams
 
factory() - Method in class com.linecorp.armeria.client.UserClient
 
factory(ClientFactory) - Method in class com.linecorp.armeria.client.ClientBuilder
Sets the ClientFactory of the client.
factory(ClientFactory) - Method in class com.linecorp.armeria.client.HttpClientBuilder
Sets the ClientFactory of the client.
FAIL - Static variable in interface com.linecorp.armeria.server.RejectedRouteHandler
A RejectedRouteHandler that raises an IllegalStateException for a problematic Route.
FAILED_DEPENDENCY - Static variable in class com.linecorp.armeria.common.HttpStatus
424 Failed Dependency (WebDAV, RFC4918).
failedResponseLogLevel() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the LogLevel to use when logging failure responses (e.g., failed with an exception).
FailFastException - Exception in com.linecorp.armeria.client.circuitbreaker
An exception indicating that a request has been failed by circuit breaker.
failure() - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
Returns the number of failure events.
failureRate() - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
Returns the failure rate (failure/total), or throws an ArithmeticException if total is 0.
failureRateThreshold(double) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
Sets the threshold of failure rate to detect a remote service fault.
failureResponseLogLevel() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.LoggingDecorator
The LogLevel to use when logging failure responses (e.g., failed with an exception).
failureResponseLogLevel(LogLevel) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the LogLevel to use when logging failure responses (e.g., failed with an exception).
fakeChannel() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns a fake Channel which is required internally when creating a context.
fallthrough() - Static method in interface com.linecorp.armeria.server.annotation.ExceptionHandlerFunction
Throws a FallthroughException in order to try to handle the Throwable by the next handler.
fallthrough() - Static method in interface com.linecorp.armeria.server.annotation.RequestConverterFunction
Throws a FallthroughException in order to try to convert the request to an object by the next converter.
fallthrough() - Static method in interface com.linecorp.armeria.server.annotation.ResponseConverterFunction
Throws a FallthroughException in order to try to convert result to HttpResponse by the next converter.
FieldInfo - Class in com.linecorp.armeria.server.docs
Metadata about a field of a struct or an exception.
FieldInfoBuilder - Class in com.linecorp.armeria.server.docs
Creates a new FieldInfo using the builder pattern.
FieldInfoBuilder(String, TypeSignature) - Constructor for class com.linecorp.armeria.server.docs.FieldInfoBuilder
Creates a new FieldInfoBuilder.
FieldInfoBuilder(String, TypeSignature, FieldInfo...) - Constructor for class com.linecorp.armeria.server.docs.FieldInfoBuilder
Creates a new FieldInfoBuilder.
FieldInfoBuilder(String, TypeSignature, Iterable<FieldInfo>) - Constructor for class com.linecorp.armeria.server.docs.FieldInfoBuilder
Creates a new FieldInfoBuilder.
FieldLocation - Enum in com.linecorp.armeria.server.docs
The location of a field.
FieldRequirement - Enum in com.linecorp.armeria.server.docs
The requirement level of a field.
fields() - Method in class com.linecorp.armeria.server.docs.ExceptionInfo
Returns the metadata about the fields of the type.
fields() - Method in class com.linecorp.armeria.server.docs.StructInfo
Returns the metadata about the fields of the type.
fillInStackTrace() - Method in exception com.linecorp.armeria.client.circuitbreaker.FailFastException
 
fillInStackTrace() - Method in exception com.linecorp.armeria.client.SessionProtocolNegotiationException
 
fillInStackTrace() - Method in exception com.linecorp.armeria.client.UnprocessedRequestException
 
fillInStackTrace() - Method in exception com.linecorp.armeria.common.ProtocolViolationException
 
fillInStackTrace() - Method in exception com.linecorp.armeria.common.TimeoutException
 
fillInStackTrace() - Method in exception com.linecorp.armeria.server.HttpResponseException
 
filter(T) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
The filter to apply to published objects.
FilteredHttpResponse - Class in com.linecorp.armeria.common
An HttpResponse that filters objects as they are published.
FilteredHttpResponse(HttpResponse) - Constructor for class com.linecorp.armeria.common.FilteredHttpResponse
Creates a new FilteredHttpResponse that filters objects published by delegate before passing to a subscriber.
FilteredHttpResponse(HttpResponse, boolean) - Constructor for class com.linecorp.armeria.common.FilteredHttpResponse
Creates a new FilteredHttpResponse that filters objects published by delegate before passing to a subscriber.
FilteredStreamMessage<T,​U> - Class in com.linecorp.armeria.common.stream
A StreamMessage that filters objects as they are published.
FilteredStreamMessage(StreamMessage<T>) - Constructor for class com.linecorp.armeria.common.stream.FilteredStreamMessage
Creates a new FilteredStreamMessage that filters objects published by delegate before passing to a subscriber.
FilteredStreamMessage(StreamMessage<T>, boolean) - Constructor for class com.linecorp.armeria.common.stream.FilteredStreamMessage
Creates a new FilteredStreamMessage that filters objects published by delegate before passing to a subscriber.
find(MediaType...) - Static method in class com.linecorp.armeria.common.SerializationFormat
Finds the SerializationFormat which is accepted by any of the specified media ranges.
find(RoutingContext) - Method in interface com.linecorp.armeria.server.Router
Finds the value of mapping that matches the specified RoutingContext.
find(String) - Static method in class com.linecorp.armeria.common.SerializationFormat
find(String) - Static method in enum com.linecorp.armeria.common.SessionProtocol
Finds the SessionProtocol with the specified SessionProtocol.uriText().
findNamedTypes() - Method in class com.linecorp.armeria.server.docs.ExceptionInfo
 
findNamedTypes() - Method in interface com.linecorp.armeria.server.docs.NamedTypeInfo
Returns all enum, struct and exception types referred by this type.
findNamedTypes() - Method in class com.linecorp.armeria.server.docs.ServiceInfo
Returns all enum, struct and exception TypeSignatures referred to by this service.
findNamedTypes() - Method in class com.linecorp.armeria.server.docs.StructInfo
 
findService(RoutingContext) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeService
Finds the Service whose Route matches the path.
findService(RoutingContext) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeService
 
findServiceConfig(RoutingContext) - Method in class com.linecorp.armeria.server.VirtualHost
Finds the Service whose Router matches the RoutingContext.
findVirtualHost(String) - Method in class com.linecorp.armeria.server.ServerConfig
Finds the VirtualHost that matches the specified hostname.
findVirtualHosts(Service<?, ?>) - Method in class com.linecorp.armeria.server.ServerConfig
Finds the List of VirtualHosts that contains the specified Service.
finish() - Method in interface com.linecorp.armeria.client.encoding.StreamDecoder
Closes the decoder and returns any decoded data that may be left over.
fixed(long) - Static method in interface com.linecorp.armeria.client.retry.Backoff
Returns a Backoff that waits a fixed delay between attempts.
Flags - Class in com.linecorp.armeria.common
The system properties that affect Armeria's runtime behavior.
FLV_VIDEO - Static variable in class com.linecorp.armeria.common.MediaType
Flash video.
FOLLOW_ONLY_WHEN_PRERENDER_SHOWN - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Follow-Only-When-Prerender-Shown" header field name.
forAnyOrigin() - Static method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Creates a new builder with its origin set to '*'.
FORBIDDEN - Static variable in class com.linecorp.armeria.common.HttpStatus
403 Forbidden.
FORCE_CACHE - Static variable in class com.linecorp.armeria.common.ClientCacheControl
"only-if-cached, max-stale=2147483647".
FORCE_NETWORK - Static variable in class com.linecorp.armeria.common.ClientCacheControl
"no-cache".
forClassPath(ClassLoader, String) - Static method in class com.linecorp.armeria.server.file.HttpFileService
Creates a new HttpFileService for the specified rootDir in the current class path.
forClassPath(ClassLoader, String) - Static method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Creates a new HttpFileServiceBuilder with the specified rootDir in the current class path.
forClassPath(String) - Static method in class com.linecorp.armeria.server.file.HttpFileService
Creates a new HttpFileService for the specified rootDir in the current class path.
forClassPath(String) - Static method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Creates a new HttpFileServiceBuilder with the specified rootDir in the current class path.
forFileSystem(String) - Static method in class com.linecorp.armeria.server.file.HttpFileService
Creates a new HttpFileService for the specified rootDir in an O/S file system.
forFileSystem(String) - Static method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Creates a new HttpFileServiceBuilder with the specified rootDir in an O/S file system.
forFileSystem(Path) - Static method in class com.linecorp.armeria.server.file.HttpFileService
Creates a new HttpFileService for the specified rootDir in an O/S file system.
forFileSystem(Path) - Static method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Creates a new HttpFileServiceBuilder with the specified rootDir in an O/S file system.
FORM_DATA - Static variable in class com.linecorp.armeria.common.MediaType
 
forOrigin(String) - Static method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Creates a new builder with the specified origin.
forOrigins(String...) - Static method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Creates a new builder with the specified origins.
forVfs(HttpVfs) - Static method in class com.linecorp.armeria.server.file.HttpFileService
Creates a new HttpFileService for the specified HttpVfs.
forVfs(HttpVfs) - Static method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Creates a new HttpFileServiceBuilder with the specified HttpVfs.
FORWARDED - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Forwarded" header field name.
FOUND - Static variable in class com.linecorp.armeria.common.HttpStatus
302 Found.
fragment() - Method in interface com.linecorp.armeria.client.ClientRequestContext
Returns the fragment part of the URI of the current Request, as defined in the section 3.5 of RFC3986.
fragment() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
fragment() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
fragment() - Method in class com.linecorp.armeria.server.docs.EndpointInfo
Returns the URI fragment of this endpoint.
fragment(String) - Method in class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Sets the fragment of the pathMapping.
from(CompletionStage<?>) - Static method in interface com.linecorp.armeria.common.RpcResponse
Creates a new RpcResponse that is completed successfully or exceptionally based on the completion of the specified CompletionStage.
from(CompletionStage<? extends HttpResponse>) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response that delegates to the HttpResponse produced by the specified CompletionStage.
FROM - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "From" header field name.
fromEvent(ResponseHeaders, ServerSentEvent) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream of the specified content.
fromEvent(ResponseHeaders, ServerSentEvent, HttpHeaders) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream of the specified content.
fromEvent(ServerSentEvent) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream of the specified content.
fromMediaType(String) - Static method in class com.linecorp.armeria.common.SerializationFormat
fromObject(ResponseHeaders, Object) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences of the specified content.
fromObject(ResponseHeaders, Object, ObjectMapper) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences of the specified content.
fromObject(ResponseHeaders, Object, HttpHeaders, ObjectMapper) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences of the specified content.
fromObject(Object) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences of the specified content.
fromPublisher(ResponseHeaders, Publisher<?>) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Publisher.
fromPublisher(ResponseHeaders, Publisher<?>, ObjectMapper) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Publisher.
fromPublisher(ResponseHeaders, Publisher<?>, HttpHeaders, ObjectMapper) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Publisher.
fromPublisher(ResponseHeaders, Publisher<? extends ServerSentEvent>) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Publisher.
fromPublisher(ResponseHeaders, Publisher<? extends ServerSentEvent>, HttpHeaders) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Publisher.
fromPublisher(ResponseHeaders, Publisher<T>, HttpHeaders, Function<? super T, ? extends ServerSentEvent>) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Publisher and converter.
fromPublisher(ResponseHeaders, Publisher<T>, Function<? super T, ? extends ServerSentEvent>) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Publisher and converter.
fromPublisher(Publisher<?>) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Publisher.
fromPublisher(Publisher<?>, ObjectMapper) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Publisher.
fromPublisher(Publisher<? extends ServerSentEvent>) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Publisher.
fromPublisher(Publisher<T>, Function<? super T, ? extends ServerSentEvent>) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Publisher and converter.
fromStream(ResponseHeaders, Stream<?>, HttpHeaders, Executor, ObjectMapper) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Stream.
fromStream(ResponseHeaders, Stream<?>, Executor) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Stream.
fromStream(ResponseHeaders, Stream<?>, Executor, ObjectMapper) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Stream.
fromStream(ResponseHeaders, Stream<? extends ServerSentEvent>, HttpHeaders, Executor) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Stream.
fromStream(ResponseHeaders, Stream<? extends ServerSentEvent>, Executor) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Stream.
fromStream(ResponseHeaders, Stream<T>, HttpHeaders, Executor, Function<? super T, ? extends ServerSentEvent>) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Stream and converter.
fromStream(ResponseHeaders, Stream<T>, Executor, Function<? super T, ? extends ServerSentEvent>) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Stream and converter.
fromStream(Stream<?>, Executor) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Stream.
fromStream(Stream<?>, Executor, ObjectMapper) - Static method in class com.linecorp.armeria.server.streaming.JsonTextSequences
Creates a new JSON Text Sequences from the specified Stream.
fromStream(Stream<? extends ServerSentEvent>, Executor) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Stream.
fromStream(Stream<T>, Executor, Function<? super T, ? extends ServerSentEvent>) - Static method in class com.linecorp.armeria.server.streaming.ServerSentEvents
Creates a new Server-Sent Events stream from the specified Stream and converter.
Functions - Class in com.linecorp.armeria.common.util
Utility methods related with function composition.

G

GATEWAY_TIMEOUT - Static variable in class com.linecorp.armeria.common.HttpStatus
504 Gateway Timeout.
generate(Iterable<ServiceInfo>, Function<TypeSignature, ? extends NamedTypeInfo>) - Static method in class com.linecorp.armeria.server.docs.ServiceSpecification
Generates a new ServiceSpecification from the specified ServiceInfos and the factory Function that creates NamedTypeInfos for the enum, struct or exception types referred by the specified ServiceInfos.
generateEntityTag(HttpFileAttributes) - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
Generates an entity tag of the file with the given attributes using the entityTagFunction which was specified with the constructor.
generatePreflightResponseHeaders() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Generates immutable HTTP response headers that should be added to a CORS preflight response.
generateSpecification(Set<ServiceConfig>, DocServiceFilter) - Method in interface com.linecorp.armeria.server.docs.DocServicePlugin
Generates a new ServiceSpecification that provides the information about the supported Services.
GEO_JSON - Static variable in class com.linecorp.armeria.common.MediaType
GeoJSON Format, a geospatial data interchange format based on JSON.
get() - Static method in exception com.linecorp.armeria.client.ClosedClientFactoryException
Deprecated.
get() - Static method in exception com.linecorp.armeria.client.GoAwayReceivedException
Returns a singleton GoAwayReceivedException.
get() - Static method in exception com.linecorp.armeria.client.RefusedStreamException
Returns a singleton RefusedStreamException.
get() - Static method in exception com.linecorp.armeria.client.ResponseTimeoutException
Returns a singleton ResponseTimeoutException.
get() - Static method in exception com.linecorp.armeria.client.WriteTimeoutException
Returns a singleton WriteTimeoutException.
get() - Static method in exception com.linecorp.armeria.common.ClosedSessionException
Returns a ClosedSessionException which may be a singleton or a new instance, depending on whether the verbose exception mode is enabled.
get() - Static method in exception com.linecorp.armeria.common.ContentTooLargeException
Returns a ContentTooLargeException which may be a singleton or a new instance, depending on whether the verbose exception mode is enabled.
get() - Static method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
Returns the singleton instance.
get() - Static method in exception com.linecorp.armeria.common.stream.AbortedStreamException
Returns a AbortedStreamException which may be a singleton or a new instance, depending on whether the verbose exception mode is enabled.
get() - Static method in exception com.linecorp.armeria.common.stream.CancelledSubscriptionException
Returns a CancelledSubscriptionException which may be a singleton or a new instance, depending on whether the verbose exception mode is enabled.
get() - Static method in exception com.linecorp.armeria.common.stream.ClosedPublisherException
Returns a ClosedPublisherException which may be a singleton or a new instance, depending on whether the verbose exception mode is enabled.
get() - Static method in class com.linecorp.armeria.common.stream.NoopSubscriber
Returns a singleton NoopSubscriber.
get() - Method in interface com.linecorp.armeria.common.util.ReleasableHolder
Returns the resource.
get() - Static method in exception com.linecorp.armeria.server.RequestTimeoutException
Returns a singleton RequestTimeoutException.
get(ClientOption<T>) - Method in class com.linecorp.armeria.client.ClientOptions
Returns the value of the specified ClientOption.
get(ClientRequestContext, Request) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerMapping
Returns the CircuitBreaker mapped to the given parameters.
get(ClientRequestContext, Request) - Method in class com.linecorp.armeria.client.circuitbreaker.KeyedCircuitBreakerMapping
 
get(ClientRequestContext, Request) - Method in interface com.linecorp.armeria.client.circuitbreaker.KeyedCircuitBreakerMapping.KeySelector
Returns the mapping key of the given Request.
get(RequestLog) - Static method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns ClientConnectionTimings from the specified RequestLog if exists.
get(RequestContext) - Static method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns ClientConnectionTimings from the specified RequestContext if exists.
get(RequestContext, HttpHeaders) - Method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
get(String) - Static method in class com.linecorp.armeria.client.endpoint.EndpointGroupRegistry
Get the EndpointGroup for the specified case-insensitive groupName.
get(String) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP GET request.
get(String) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
get(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
get(String, Clock, String, HttpHeaders) - Method in interface com.linecorp.armeria.server.file.HttpVfs
Finds the file at the specified path.
Get - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for mapping HttpMethod.GET onto specific method.
GET - com.linecorp.armeria.common.HttpMethod
The GET method which means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
get0(AbstractOption<V>) - Method in class com.linecorp.armeria.common.util.AbstractOptions
Returns the value of the specified option.
getAllAndRemove(CharSequence) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the removed header values.
getAllDocStrings(ClassLoader) - Method in class com.linecorp.armeria.server.docs.DocStringExtractor
Extract all docstrings from files at the configured path, delegating to DocStringExtractor.getDocStringsFromFiles(Map) for actual processing.
getAndRemove(CharSequence) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getAndRemove(CharSequence, String) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getBaseTimeUnit() - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
 
getByte(int) - Method in class com.linecorp.armeria.common.AbstractHttpData
Gets the byte value at the given index.
getByte(int) - Method in class com.linecorp.armeria.common.DefaultHttpData
 
getByte(int) - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
getCause() - Method in exception com.linecorp.armeria.client.UnprocessedRequestException
 
getCircuitBreaker() - Method in exception com.linecorp.armeria.client.circuitbreaker.FailFastException
Returns the CircuitBreaker that has detected the failure.
getDocStringsFromFiles(Map<String, byte[]>) - Method in class com.linecorp.armeria.server.docs.DocStringExtractor
Extracts a Map of docstrings from the given Map of path to file contents.
getDoubleAndRemove(CharSequence) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getDoubleAndRemove(CharSequence, double) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getFloatAndRemove(CharSequence) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getFloatAndRemove(CharSequence, float) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getIntAndRemove(CharSequence) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getIntAndRemove(CharSequence, int) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getLongAndRemove(CharSequence) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getLongAndRemove(CharSequence, long) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getNextDelay(ClientRequestContext, Backoff) - Method in class com.linecorp.armeria.client.retry.RetryingClient
Returns the next delay which retry will be made after.
getNextDelay(ClientRequestContext, Backoff, long) - Method in class com.linecorp.armeria.client.retry.RetryingClient
Returns the next delay which retry will be made after.
getNodeSelector(String) - Static method in class com.linecorp.armeria.client.endpoint.EndpointGroupRegistry
Returns the EndpointSelector for the specified case-insensitive groupName.
getNow(Object) - Method in interface com.linecorp.armeria.common.RpcResponse
Returns the specified valueIfAbsent when not complete, or returns the result value or throws an exception when complete.
getOrElse(ClientOption<T>, T) - Method in class com.linecorp.armeria.client.ClientOptions
Returns the value of the specified ClientOption.
getOrElse0(O, V) - Method in class com.linecorp.armeria.common.util.AbstractOptions
Returns the value of the specified option.
getPolicy(String, RoutingContext) - Method in class com.linecorp.armeria.server.cors.CorsConfig
Returns the policy for the specified origin.
getTimeMillisAndRemove(CharSequence) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getTimeMillisAndRemove(CharSequence, long) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all the headers with the specified name and returns the header value which was added first.
getTotalAttempts(ClientRequestContext) - Static method in class com.linecorp.armeria.client.retry.RetryingClient
Returns the total number of attempts of the current request represented by the specified ClientRequestContext.
GIF - Static variable in class com.linecorp.armeria.common.MediaType
 
glob(String) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to match the specified glob.
GoAwayReceivedException - Exception in com.linecorp.armeria.client
A RuntimeException raised when a server sent an HTTP/2 GOAWAY frame with the lastStreamId less then the stream ID of the request.
GONE - Static variable in class com.linecorp.armeria.common.HttpStatus
410 Gone.
gracefulShutdownQuietPeriod() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the number of milliseconds to wait for active requests to go end before shutting down.
gracefulShutdownTimeout() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the number of milliseconds to wait before shutting down the server regardless of active requests.
gracefulShutdownTimeout(long, long) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the amount of time to wait after calling Server.stop() for requests to go away before actually shutting down.
gracefulShutdownTimeout(Duration, Duration) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the amount of time to wait after calling Server.stop() for requests to go away before actually shutting down.
group() - Method in interface com.linecorp.armeria.client.endpoint.EndpointSelector
Returns the EndpointGroup held by this selector.
groupName() - Method in class com.linecorp.armeria.client.Endpoint
Returns the group name of this endpoint.
guessServiceMethodName(Object) - Method in interface com.linecorp.armeria.server.docs.DocServicePlugin
Guesses the name of the service method who handles the specified example request.
guessServiceName(Object) - Method in interface com.linecorp.armeria.server.docs.DocServicePlugin
Guesses the name of the service who handles the specified example request.
GZIP - Static variable in class com.linecorp.armeria.common.MediaType
 
GzipStreamDecoderFactory - Class in com.linecorp.armeria.client.encoding
A StreamDecoderFactory which supports the 'gzip' encoding.
GzipStreamDecoderFactory() - Constructor for class com.linecorp.armeria.client.encoding.GzipStreamDecoderFactory
 

H

H1 - com.linecorp.armeria.common.SessionProtocol
HTTP/1 - over TLS.
H1C - com.linecorp.armeria.common.SessionProtocol
HTTP/1 - cleartext.
H2 - com.linecorp.armeria.common.SessionProtocol
HTTP/2 - over TLS.
H2C - com.linecorp.armeria.common.SessionProtocol
HTTP/2 - cleartext.
HAL_JSON - Static variable in class com.linecorp.armeria.common.MediaType
HALF_OPEN - com.linecorp.armeria.client.circuitbreaker.CircuitState
Only one trial request is sent at a time until at least one request succeeds or fails.
handle(ServiceRequestContext, HttpRequest) - Method in interface com.linecorp.armeria.server.healthcheck.HealthCheckUpdateHandler
Determines if the healthiness of the Server needs to be changed or not from the given HttpRequest.
handleDuplicateRoute(VirtualHost, Route, Route) - Method in interface com.linecorp.armeria.server.RejectedRouteHandler
Invoked when a user attempts to bind a Service at the Route that conflicts with an existing Route.
handleException(RequestContext, HttpRequest, Throwable) - Method in interface com.linecorp.armeria.server.annotation.ExceptionHandlerFunction
Returns an HttpResponse which would be sent back to the client who sent the req.
hasAttr(AttributeKey<T>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
hasAttr(AttributeKey<T>) - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
hasAttr(AttributeKey<V>) - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
hashCode() - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
 
hashCode() - Method in class com.linecorp.armeria.client.Endpoint
 
hashCode() - Method in class com.linecorp.armeria.common.AbstractHttpData
 
hashCode() - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
hashCode() - Method in class com.linecorp.armeria.common.CacheControl
 
hashCode() - Method in class com.linecorp.armeria.common.ClientCacheControl
 
hashCode() - Method in class com.linecorp.armeria.common.DefaultRpcRequest
 
hashCode() - Method in class com.linecorp.armeria.common.HttpStatus
 
hashCode() - Method in class com.linecorp.armeria.common.MediaType
 
hashCode() - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
 
hashCode() - Method in class com.linecorp.armeria.common.Scheme
 
hashCode() - Method in class com.linecorp.armeria.common.SerializationFormat
 
hashCode() - Method in class com.linecorp.armeria.common.SerializationFormatProvider.Entry
 
hashCode() - Method in class com.linecorp.armeria.common.ServerCacheControl
 
hashCode() - Method in class com.linecorp.armeria.server.auth.BasicToken
 
hashCode() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
 
hashCode() - Method in class com.linecorp.armeria.server.auth.OAuth2Token
 
hashCode() - Method in class com.linecorp.armeria.server.ClientAddressSource
 
hashCode() - Method in class com.linecorp.armeria.server.docs.EndpointInfo
 
hashCode() - Method in class com.linecorp.armeria.server.docs.EnumInfo
 
hashCode() - Method in class com.linecorp.armeria.server.docs.EnumValueInfo
 
hashCode() - Method in class com.linecorp.armeria.server.docs.ExceptionInfo
 
hashCode() - Method in class com.linecorp.armeria.server.docs.FieldInfo
 
hashCode() - Method in class com.linecorp.armeria.server.docs.MethodInfo
 
hashCode() - Method in class com.linecorp.armeria.server.docs.ServiceInfo
 
hashCode() - Method in class com.linecorp.armeria.server.docs.StructInfo
 
hashCode() - Method in class com.linecorp.armeria.server.docs.TypeSignature
 
hashCode() - Method in class com.linecorp.armeria.server.file.HttpFileAttributes
 
hashCode() - Method in class com.linecorp.armeria.server.RouteBuilder
 
hashCode() - Method in class com.linecorp.armeria.server.ServerPort
 
hasHighestScore() - Method in class com.linecorp.armeria.server.RoutingResult
Returns whether the score of this result is the highest or not.
hasHttp() - Method in class com.linecorp.armeria.server.ServerPort
hasHttps() - Method in class com.linecorp.armeria.server.ServerPort
hasIpAddr() - Method in class com.linecorp.armeria.client.Endpoint
Returns whether this endpoint has an IP address resolved.
hasLowestScore() - Method in class com.linecorp.armeria.server.RoutingResult
Returns whether the score of this result is the lowest or not.
hasMaxStale() - Method in class com.linecorp.armeria.common.ClientCacheControl
Returns whether the "max-stale" directive is enabled.
hasProtocol(SessionProtocol) - Method in class com.linecorp.armeria.server.ServerPort
Returns whether the specified protocol is in the list of SessionProtocols.
hasProxyProtocol() - Method in class com.linecorp.armeria.server.ServerPort
Returns whether the SessionProtocol.PROXY is in the list of SessionProtocols.
hasTls() - Method in class com.linecorp.armeria.server.ServerPort
Returns whether there is a SessionProtocol which is over TLS.
hasTriePath() - Method in enum com.linecorp.armeria.server.RoutePathType
Tells whether this RoutePathType has a trie path or not.
hasWildcard() - Method in class com.linecorp.armeria.common.MediaType
Returns true if either the type or subtype is the wildcard.
head(String) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP HEAD request.
head(String) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
head(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
Head - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for mapping HttpMethod.HEAD onto specific method.
HEAD - com.linecorp.armeria.common.HttpMethod
The HEAD method which is identical to GET except that the server MUST NOT return a message-body in the response.
Header - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for mapping an HTTP request header onto the following elements.
HEADER - com.linecorp.armeria.server.docs.FieldLocation
The field is located in the header.
headers() - Method in exception com.linecorp.armeria.client.InvalidResponseHeadersException
Returns the ResponseHeaders which triggered this exception.
headers() - Method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Returns the RequestHeaders.
headers() - Method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Returns the ResponseHeaders.
headers() - Method in class com.linecorp.armeria.common.DefaultHttpRequest
Deprecated.
 
headers() - Method in interface com.linecorp.armeria.common.HttpRequest
Returns the initial HTTP/2 headers of this request.
headers() - Method in interface com.linecorp.armeria.server.annotation.HttpResult
Returns the response HttpHeaders which may not contain the ":status" header.
headers() - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
Returns the immutable additional HttpHeaders which will be set when building an HttpResponse.
headers() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
Returns the additional HttpHeaders to send in a response.
headersSanitizer(Function<? super HttpHeaders, ?>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the Function to use to sanitize request, response and trailers before logging.
headerValueCacheSpec() - Static method in class com.linecorp.armeria.common.Flags
Returns the value of the headerValueCache parameter.
HealthCheckedEndpointGroup - Class in com.linecorp.armeria.client.endpoint.healthcheck
An EndpointGroup decorator that only provides healthy Endpoints.
HealthCheckedEndpointGroup(ClientFactory, EndpointGroup, Backoff) - Constructor for class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
Creates a new instance.
HealthCheckedEndpointGroup(ClientFactory, EndpointGroup, Duration) - Constructor for class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
HealthCheckedEndpointGroup.EndpointHealthChecker - Interface in com.linecorp.armeria.client.endpoint.healthcheck
Returns whether an Endpoint is healthy or not.
HealthChecker - Interface in com.linecorp.armeria.server.healthcheck
Determines whether the Server is healthy.
healthCheckPort(int) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
Sets the port where a health check request will be sent instead of the original port number specified by EndpointGroup's Endpoints.
HealthCheckService - Class in com.linecorp.armeria.server.healthcheck
An HttpService that responds with HTTP status "200 OK" if the server is healthy and can accept requests and HTTP status "503 Service Not Available" if the server is unhealthy and cannot accept requests.
HealthCheckServiceBuilder - Class in com.linecorp.armeria.server.healthcheck
HealthCheckUpdateHandler - Interface in com.linecorp.armeria.server.healthcheck
Handles PUT, POST or PATCH requests sent to HealthCheckService.
HealthCheckUpdateResult - Enum in com.linecorp.armeria.server.healthcheck
The result of a request handled by HealthCheckUpdateHandler.
HEALTHY - com.linecorp.armeria.server.healthcheck.HealthCheckUpdateResult
Tells HealthCheckService to mark the Server as 'healthy'.
healthyResponse(AggregatedHttpResponse) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Sets the AggregatedHttpResponse to send when the Service is healthy.
host() - Method in class com.linecorp.armeria.client.Endpoint
Returns the host name of this endpoint.
host() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Deprecated.
Do not use this method. Get the remote or local address from RequestLog.context() or get the authority from RequestLog.authority().
HOST - Static variable in interface com.linecorp.armeria.client.circuitbreaker.KeyedCircuitBreakerMapping.KeySelector
A KeyedCircuitBreakerMapping.KeySelector that returns a key consisted of remote host name, IP address and port number.
HOST - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Host" header field name.
HOST_AND_METHOD - Static variable in interface com.linecorp.armeria.client.circuitbreaker.KeyedCircuitBreakerMapping.KeySelector
A KeyedCircuitBreakerMapping.KeySelector that returns a key consisted of remote host name, IP address, port number and method name.
hostname() - Static method in class com.linecorp.armeria.common.util.SystemInfo
Returns the local hostname.
hostname() - Method in interface com.linecorp.armeria.server.RoutingContext
Returns the virtual host name of the request.
hostnamePattern() - Method in class com.linecorp.armeria.server.docs.EndpointInfo
Returns the hostname pattern of this endpoint.
hostnamePattern() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the hostname pattern of this virtual host, as defined in the section 3.1 of RFC2818.
hostnamePattern(String) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the hostname pattern of this VirtualHost.
HTML_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 
http(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Adds an HTTP port that listens on all available network interfaces.
http(InetSocketAddress) - Method in class com.linecorp.armeria.server.ServerBuilder
Adds an HTTP port that listens to the specified localAddress.
HTTP - com.linecorp.armeria.common.SessionProtocol
HTTP - cleartext, HTTP/2 preferred.
HTTP_HEADERS - Static variable in class com.linecorp.armeria.client.ClientOption
The additional HTTP headers to send with requests.
HTTP_VERSION_NOT_SUPPORTED - Static variable in class com.linecorp.armeria.common.HttpStatus
505 HTTP Version Not Supported.
http1MaxChunkSize() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the maximum length of each chunk in an HTTP/1 response content.
http1MaxChunkSize(int) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the maximum length of each chunk in an HTTP/1 response content.
http1MaxChunkSize(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the maximum length of each chunk in an HTTP/1 response content.
http1MaxHeaderSize() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the maximum length of all headers in an HTTP/1 response.
http1MaxHeaderSize(int) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the maximum length of all headers in an HTTP/1 response.
http1MaxHeaderSize(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the maximum length of all headers in an HTTP/1 response.
http1MaxInitialLineLength() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the maximum length of an HTTP/1 response initial line.
http1MaxInitialLineLength(int) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the maximum length of an HTTP/1 response initial line.
http1MaxInitialLineLength(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the maximum length of an HTTP/1 response initial line.
HTTP2_SETTINGS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "HTTP2-Settings" header field name.
http2InitialConnectionWindowSize() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the initial connection-level HTTP/2 flow control window size.
http2InitialConnectionWindowSize(int) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
http2InitialConnectionWindowSize(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the initial connection-level HTTP/2 flow control window size.
http2InitialStreamWindowSize() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the initial stream-level HTTP/2 flow control window size.
http2InitialStreamWindowSize(int) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the SETTINGS_INITIAL_WINDOW_SIZE for HTTP/2 stream-level flow control.
http2InitialStreamWindowSize(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the initial stream-level HTTP/2 flow control window size.
http2MaxFrameSize() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the maximum size of HTTP/2 frames that can be received.
http2MaxFrameSize(int) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the SETTINGS_MAX_FRAME_SIZE that indicates the size of the largest frame payload that this client is willing to receive.
http2MaxFrameSize(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the maximum size of HTTP/2 frame that can be received.
http2MaxHeaderListSize() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the maximum size of headers that can be received.
http2MaxHeaderListSize(long) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the SETTINGS_MAX_HEADER_LIST_SIZE that indicates the maximum size of header list that the client is prepared to accept, in octets.
http2MaxHeaderListSize(long) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the maximum size of headers that can be received.
http2MaxStreamsPerConnection() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the maximum number of concurrent streams per HTTP/2 connection.
http2MaxStreamsPerConnection(long) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the maximum number of concurrent streams per HTTP/2 connection.
HttpAuthService - Class in com.linecorp.armeria.server.auth
Decorates a Service to provide HTTP authorization functionality.
HttpAuthServiceBuilder - Class in com.linecorp.armeria.server.auth
Builds a new HttpAuthService.
HttpAuthServiceBuilder() - Constructor for class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
 
HttpClient - Interface in com.linecorp.armeria.client
An HTTP client.
HttpClientBuilder - Class in com.linecorp.armeria.client
Creates a new HTTP client that connects to the specified URI using the builder pattern.
HttpClientBuilder(SessionProtocol, Endpoint) - Constructor for class com.linecorp.armeria.client.HttpClientBuilder
Creates a new instance.
HttpClientBuilder(String) - Constructor for class com.linecorp.armeria.client.HttpClientBuilder
Creates a new instance.
HttpClientBuilder(URI) - Constructor for class com.linecorp.armeria.client.HttpClientBuilder
Creates a new instance.
HttpData - Interface in com.linecorp.armeria.common
HTTP/2 data.
HttpDecodingClient - Class in com.linecorp.armeria.client.encoding
A DecoratingClient that requests and decodes HTTP encoding (e.g., gzip) that has been applied to the content of a HttpResponse.
HttpEncodingService - Class in com.linecorp.armeria.server.encoding
Decorates a Service to apply HTTP encoding (e.g., gzip) to an HttpService.
HttpEncodingService(Service<HttpRequest, HttpResponse>) - Constructor for class com.linecorp.armeria.server.encoding.HttpEncodingService
Creates a new DecoratingService that HTTP-encodes the response data published from delegate.
HttpEncodingService(Service<HttpRequest, HttpResponse>, Predicate<MediaType>, int) - Constructor for class com.linecorp.armeria.server.encoding.HttpEncodingService
Creates a new DecoratingService that HTTP-encodes the response data published from delegate.
HttpEncodingService(Service<HttpRequest, HttpResponse>, Predicate<MediaType>, Predicate<HttpHeaders>, long) - Constructor for class com.linecorp.armeria.server.encoding.HttpEncodingService
Creates a new DecoratingService that HTTP-encodes the response data published from delegate.
HttpFile - Interface in com.linecorp.armeria.server.file
A file-like HTTP resource which yields an HttpResponse.
HttpFileAttributes - Class in com.linecorp.armeria.server.file
The attributes of an HttpFile.
HttpFileAttributes(long, long) - Constructor for class com.linecorp.armeria.server.file.HttpFileAttributes
Creates a new instance.
HttpFileBuilder - Class in com.linecorp.armeria.server.file
Builds an HttpFile from a file, a classpath resource or an HttpData.
HttpFileService - Class in com.linecorp.armeria.server.file
An HttpService that serves static files from a file system.
HttpFileServiceBuilder - Class in com.linecorp.armeria.server.file
HttpFileServiceConfig - Class in com.linecorp.armeria.server.file
HttpFileService configuration.
HttpHeaderNames - Class in com.linecorp.armeria.common
Contains constant definitions for the HTTP header field names.
httpHeaders() - Method in class com.linecorp.armeria.client.ClientOptions
Returns the additional HTTP headers to send with requests.
HttpHeaders - Interface in com.linecorp.armeria.common
Immutable HTTP/2 headers.
HttpHeadersBuilder - Interface in com.linecorp.armeria.common
Builds an HttpHeaders.
HttpHeadersJsonDeserializer - Class in com.linecorp.armeria.common
HttpHeadersJsonDeserializer() - Constructor for class com.linecorp.armeria.common.HttpHeadersJsonDeserializer
Creates a new instance.
HttpHeadersJsonSerializer - Class in com.linecorp.armeria.common
HttpHeadersJsonSerializer() - Constructor for class com.linecorp.armeria.common.HttpHeadersJsonSerializer
Creates a new instance.
HttpHealthCheckedEndpointGroup - Class in com.linecorp.armeria.client.endpoint.healthcheck
HTTP implementation of HealthCheckedEndpointGroup.
HttpHealthCheckedEndpointGroupBuilder - Class in com.linecorp.armeria.client.endpoint.healthcheck
A builder for creating new HttpHealthCheckedEndpointGroups.
HttpHealthCheckedEndpointGroupBuilder(EndpointGroup, String) - Constructor for class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
HttpHealthCheckService - Class in com.linecorp.armeria.server.healthcheck
Deprecated.
HttpHealthCheckService(HealthChecker...) - Constructor for class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
Deprecated.
Creates a new instance.
HttpHealthCheckService(Iterable<? extends HealthChecker>) - Constructor for class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
Deprecated.
Creates a new instance.
httpMethod() - Method in class com.linecorp.armeria.server.docs.MethodInfo
Returns the HTTP method of this method.
HttpMethod - Enum in com.linecorp.armeria.common
HTTP request method.
HttpObject - Interface in com.linecorp.armeria.common
The common interface for HTTP/2 message objects, HttpHeaders and HttpData.
HttpParameters - Interface in com.linecorp.armeria.common
HTTP parameters map.
HttpRequest - Interface in com.linecorp.armeria.common
A streamed HTTP/2 Request.
HttpRequestDuplicator - Class in com.linecorp.armeria.common
Allows subscribing to a HttpRequest multiple times by duplicating the stream.
HttpRequestDuplicator(HttpRequest) - Constructor for class com.linecorp.armeria.common.HttpRequestDuplicator
Creates a new instance wrapping a HttpRequest and publishing to multiple subscribers.
HttpRequestDuplicator(HttpRequest, long) - Constructor for class com.linecorp.armeria.common.HttpRequestDuplicator
Creates a new instance wrapping a HttpRequest and publishing to multiple subscribers.
HttpRequestDuplicator(HttpRequest, long, EventExecutor) - Constructor for class com.linecorp.armeria.common.HttpRequestDuplicator
Creates a new instance wrapping a HttpRequest and publishing to multiple subscribers.
HttpRequestWriter - Interface in com.linecorp.armeria.common
An HttpRequest that can have HttpObjects written to it.
httpResponse() - Method in exception com.linecorp.armeria.server.HttpResponseException
Returns the HttpResponse which would be sent back to the client who sent the corresponding request.
HttpResponse - Interface in com.linecorp.armeria.common
A streamed HTTP/2 Response.
HttpResponseDuplicator - Class in com.linecorp.armeria.common
Allows subscribing to a HttpResponse multiple times by duplicating the stream.
HttpResponseDuplicator(HttpResponse) - Constructor for class com.linecorp.armeria.common.HttpResponseDuplicator
Creates a new instance wrapping a HttpResponse and publishing to multiple subscribers.
HttpResponseDuplicator(HttpResponse, long) - Constructor for class com.linecorp.armeria.common.HttpResponseDuplicator
Creates a new instance wrapping a HttpResponse and publishing to multiple subscribers.
HttpResponseDuplicator(HttpResponse, long, EventExecutor) - Constructor for class com.linecorp.armeria.common.HttpResponseDuplicator
Creates a new instance wrapping a HttpResponse and publishing to multiple subscribers.
HttpResponseException - Exception in com.linecorp.armeria.server
A RuntimeException that is raised to send an HTTP response with the content specified by a user.
HttpResponseException(HttpResponse) - Constructor for exception com.linecorp.armeria.server.HttpResponseException
Creates a new instance with the specified HttpResponse.
HttpResponseWriter - Interface in com.linecorp.armeria.common
An HttpResponse that can have HttpObjects written to it.
HttpResult<T> - Interface in com.linecorp.armeria.server.annotation
An interface which helps a user specify an HttpStatus or ResponseHeaders for a response produced by an annotated HTTP service method.
https(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Adds an HTTPS port that listens on all available network interfaces.
https(InetSocketAddress) - Method in class com.linecorp.armeria.server.ServerBuilder
Adds an HTTPS port that listens to the specified localAddress.
HTTPS - com.linecorp.armeria.common.SessionProtocol
HTTP - over TLS, HTTP/2 preferred.
HttpService - Interface in com.linecorp.armeria.server
An HTTP/2 Service.
httpStatus() - Method in exception com.linecorp.armeria.server.HttpStatusException
Returns the HttpStatus which would be sent back to the client who sent the corresponding request.
HttpStatus - Class in com.linecorp.armeria.common
HTTP response code and its description.
HttpStatus(int, String) - Constructor for class com.linecorp.armeria.common.HttpStatus
Creates a new instance with the specified status code and its reason phrase.
HttpStatusClass - Enum in com.linecorp.armeria.common
The class of HTTP status.
HttpStatusException - Exception in com.linecorp.armeria.server
A RuntimeException that is raised to send a simplistic HTTP response with minimal content by a Service.
httpsValues() - Static method in enum com.linecorp.armeria.common.SessionProtocol
Returns an immutable Set that contains SessionProtocol.HTTPS, SessionProtocol.H1 and SessionProtocol.H2.
httpValues() - Static method in enum com.linecorp.armeria.common.SessionProtocol
Returns an immutable Set that contains SessionProtocol.HTTP, SessionProtocol.H1C and SessionProtocol.H2C.
HttpVfs - Interface in com.linecorp.armeria.server.file
A virtual file system that provides the files requested by HttpFileService.

I

I_CALENDAR_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 
ICO - Static variable in class com.linecorp.armeria.common.MediaType
 
id() - Method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Returns an ID of this event, if it exists.
id(String) - Method in class com.linecorp.armeria.common.sse.ServerSentEventBuilder
Sets the specified id.
identify() - Static method in class com.linecorp.armeria.common.util.Version
Retrieves the version information of Armeria artifacts using the current context class loader.
identify(ClassLoader) - Static method in class com.linecorp.armeria.common.util.Version
Retrieves the version information of Armeria artifacts using the specified ClassLoader.
identity() - Static method in class com.linecorp.armeria.common.metric.MoreNamingConventions
Returns the NamingConvention that uses the user-provided names and tags as they are.
idleTimeout(Duration) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the idle timeout of a socket connection.
idleTimeout(Duration) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the idle timeout of a connection for keep-alive.
idleTimeoutMillis() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the idle timeout of a connection in milliseconds for keep-alive.
idleTimeoutMillis(long) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the idle timeout of a socket connection in milliseconds.
idleTimeoutMillis(long) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the idle timeout of a connection in milliseconds for keep-alive.
IF_MATCH - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "If-Match" header field name.
IF_MODIFIED_SINCE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "If-Modified-Since" header field name.
IF_NONE_MATCH - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "If-None-Match" header field name.
IF_RANGE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "If-Range" header field name.
IF_UNMODIFIED_SINCE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "If-Unmodified-Since" header field name.
immutable() - Method in class com.linecorp.armeria.common.ServerCacheControl
Returns whether the "immutable" directive is enabled.
immutable() - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables the "immutable" directive.
immutable(boolean) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables or disables the "immutable" directive.
IMMUTABLE - Static variable in class com.linecorp.armeria.common.ServerCacheControl
"max-age=31536000, public, immutable".
include(DocServiceFilter) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds the DocServiceFilter that checks whether a method will be included while building DocService.
increaseRequestLength(long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
increaseRequestLength(long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Increases the RequestLog.requestLength() by deltaBytes.
increaseRequestLength(HttpData) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
increaseRequestLength(HttpData) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Increases the RequestLog.requestLength() by data.length() and passes data to the previewer.
increaseResponseLength(long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
increaseResponseLength(long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Increases the RequestLog.responseLength() by deltaBytes.
increaseResponseLength(HttpData) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
increaseResponseLength(HttpData) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Increases the RequestLog.responseLength() by data.length() and passes data to the previewer.
InetAddressPredicates - Class in com.linecorp.armeria.common.util
A utility class which provides factory methods in order to easily create a Predicate of an InetAddress.
INFO - com.linecorp.armeria.common.logging.LogLevel
INFO log level.
INFORMATIONAL - com.linecorp.armeria.common.HttpStatusClass
The informational class (1xx).
informationals() - Method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Returns the informational class (1xx) HTTP headers.
init() - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
Update healthy servers and start to schedule healthcheck.
init(Endpoint) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
Initializes this context with the specified Endpoint.
initialEndpointsFuture() - Method in class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
Returns the CompletableFuture which is completed when the initial Endpoints are ready.
injectedScript(Iterable<String>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds Javascript scripts to inject into the <head /> of the debug page HTML.
injectedScript(String...) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds Javascript scripts to inject into the <head /> of the debug page HTML.
injectedScriptSupplier(BiFunction<ServiceRequestContext, HttpRequest, String>) - Method in class com.linecorp.armeria.server.docs.DocServiceBuilder
Adds a supplier for Javascript scripts to inject into the <head /> of the debug page HTML.
INSUFFICIENT_STORAGE - Static variable in class com.linecorp.armeria.common.HttpStatus
507 Insufficient Storage (WebDAV, RFC4918).
INTERNAL_SERVER_ERROR - Static variable in class com.linecorp.armeria.common.HttpStatus
500 Internal Server Error.
InvalidResponseException - Exception in com.linecorp.armeria.client
A RuntimeException raised when a client received an invalid response.
InvalidResponseException() - Constructor for exception com.linecorp.armeria.client.InvalidResponseException
Creates a new instance.
InvalidResponseException(String) - Constructor for exception com.linecorp.armeria.client.InvalidResponseException
Creates a new instance with the specified message.
InvalidResponseException(String, Throwable) - Constructor for exception com.linecorp.armeria.client.InvalidResponseException
Creates a new instance with the specified message and cause.
InvalidResponseException(String, Throwable, boolean, boolean) - Constructor for exception com.linecorp.armeria.client.InvalidResponseException
Creates a new instance with the specified message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
InvalidResponseException(Throwable) - Constructor for exception com.linecorp.armeria.client.InvalidResponseException
Creates a new instance with the specified cause.
InvalidResponseHeadersException - Exception in com.linecorp.armeria.client
An InvalidResponseException raised when a client received a response with invalid headers.
InvalidResponseHeadersException(ResponseHeaders) - Constructor for exception com.linecorp.armeria.client.InvalidResponseHeadersException
Creates a new instance with the specified ResponseHeaders.
InvalidResponseHeadersException(ResponseHeaders, Throwable) - Constructor for exception com.linecorp.armeria.client.InvalidResponseHeadersException
Creates a new instance with the specified ResponseHeaders and cause.
InvalidResponseHeadersException(ResponseHeaders, Throwable, boolean, boolean) - Constructor for exception com.linecorp.armeria.client.InvalidResponseHeadersException
Creates a new instance with the specified ResponseHeaders, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
invokeOnChildCallbacks(RequestContext) - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
invokeOnChildCallbacks(RequestContext) - Method in interface com.linecorp.armeria.common.RequestContext
Invokes all RequestContext.onChild(BiConsumer) callbacks.
invokeOnChildCallbacks(RequestContext) - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
invokeOnEnterCallbacks() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
invokeOnEnterCallbacks() - Method in interface com.linecorp.armeria.common.RequestContext
Invokes all RequestContext.onEnter(Consumer) callbacks.
invokeOnEnterCallbacks() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
invokeOnExitCallbacks() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
invokeOnExitCallbacks() - Method in interface com.linecorp.armeria.common.RequestContext
Invokes all RequestContext.onExit(Consumer) callbacks.
invokeOnExitCallbacks() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
invokeOnRequestLog(RequestLogListener, RequestLog) - Static method in class com.linecorp.armeria.common.logging.RequestLogListenerInvoker
invokeServiceAdded(ServiceConfig, Service<?, ?>) - Static method in class com.linecorp.armeria.server.ServiceCallbackInvoker
ipAddr() - Method in class com.linecorp.armeria.client.Endpoint
Returns the IP address of this endpoint.
ipFamily() - Method in class com.linecorp.armeria.client.Endpoint
Returns the StandardProtocolFamily of this endpoint's IP address.
is(MediaType) - Method in class com.linecorp.armeria.common.MediaType
Returns true if this instance falls within the range (as defined by the HTTP Accept header) given by the argument according to three criteria: The type of the argument is the wildcard or equal to the type of this instance.
isAccepted(MediaType) - Method in class com.linecorp.armeria.common.SerializationFormat
Returns whether the specified media range is accepted by any of the SerializationFormat.mediaTypes() defined by this format.
isAccepted(MediaType, MediaType...) - Method in class com.linecorp.armeria.common.SerializationFormat
Returns whether any of the specified media ranges is accepted by any of the SerializationFormat.mediaTypes() defined by this format.
isAccepted(Iterable<MediaType>) - Method in class com.linecorp.armeria.common.SerializationFormat
Returns whether any of the specified media ranges is accepted by any of the SerializationFormat.mediaTypes() defined by this format.
isAnyOriginSupported() - Method in class com.linecorp.armeria.server.cors.CorsConfig
Determines whether a wildcard origin, '*', is supported.
isAvailable(RequestLogAvailability) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
isAvailable(RequestLogAvailability) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns true if the specified RequestLogAvailability is satisfied.
isAvailable(RequestLogAvailability...) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
isAvailable(RequestLogAvailability...) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns true if all of the specified RequestLogAvailabilitys are satisfied.
isAvailable(Iterable<RequestLogAvailability>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
isAvailable(Iterable<RequestLogAvailability>) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns true if all of the specified RequestLogAvailabilitys are satisfied.
isBase() - Method in class com.linecorp.armeria.server.docs.TypeSignature
Returns true if this type signature represents a base type.
isClean() - Method in class com.linecorp.armeria.common.util.Version
Returns true if repository status is not dirty.
isComplete() - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Returns true if this stream is complete, either successfully or exceptionally, including cancellation and abortion.
isCompletedExceptionally() - Method in interface com.linecorp.armeria.common.RpcResponse
Returns true if this RpcResponse completed exceptionally.
isContainer() - Method in class com.linecorp.armeria.server.docs.TypeSignature
Returns true if this type signature represents a container type.
isContentTypeAutoDetectionEnabled() - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets whether to set the "content-type" header automatically based on the extension of the file.
isCorsPreflight() - Method in interface com.linecorp.armeria.server.RoutingContext
Returns true if this context is for a CORS preflight request.
isCredentialsAllowed() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Determines if cookies are supported for CORS requests.
isDateEnabled() - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
Returns whether to add the "date" header automatically.
isDateEnabled() - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Returns whether to set the "date" header automatically.
isDone() - Method in interface com.linecorp.armeria.common.logging.ContentPreviewer
Determines if the previewer has been ready to produce the preview or the preview has been already produced.
isDone() - Method in class com.linecorp.armeria.common.logging.ContentPreviewerAdapter
 
isEmpty() - Method in class com.linecorp.armeria.common.CacheControl
Returns true if all directives are disabled.
isEmpty() - Method in class com.linecorp.armeria.common.ClientCacheControl
 
isEmpty() - Method in interface com.linecorp.armeria.common.HttpData
Returns whether the HttpData.length() is 0.
isEmpty() - Method in class com.linecorp.armeria.common.ServerCacheControl
 
isEmpty() - Method in class com.linecorp.armeria.common.stream.DefaultStreamMessage
 
isEmpty() - Method in class com.linecorp.armeria.common.stream.DeferredStreamMessage
 
isEmpty() - Method in class com.linecorp.armeria.common.stream.EmptyFixedStreamMessage
 
isEmpty() - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
isEmpty() - Method in class com.linecorp.armeria.common.stream.OneElementFixedStreamMessage
 
isEmpty() - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
isEmpty() - Method in class com.linecorp.armeria.common.stream.RegularFixedStreamMessage
 
isEmpty() - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Returns true if this stream has been closed and did not publish any elements.
isEmpty() - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
isEmpty() - Method in class com.linecorp.armeria.common.stream.TwoElementFixedStreamMessage
 
isEmpty() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
isEnabled() - Method in class com.linecorp.armeria.server.cors.CorsConfig
Determines if support for CORS is enabled.
isEnabled(Logger) - Method in enum com.linecorp.armeria.common.logging.LogLevel
Returns true if this level is enabled.
isEndOfStream() - Method in class com.linecorp.armeria.common.DefaultHttpData
 
isEndOfStream() - Method in interface com.linecorp.armeria.common.HttpObject
Tells whether the stream should be ended when writing this object.
isEndOfStream() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
isEpollAvailable() - Static method in class com.linecorp.armeria.common.util.NativeLibraries
Deprecated.
Use Flags.useEpoll() instead.
isExpected(Throwable) - Static method in class com.linecorp.armeria.common.util.Exceptions
Returns true if the specified exception is expected to occur in well-known circumstances.
isGroup() - Method in class com.linecorp.armeria.client.Endpoint
Returns true if this endpoint refers to a group.
isHealthy() - Method in interface com.linecorp.armeria.server.healthcheck.HealthChecker
Returns true if and only if the Server is healthy.
isHealthy() - Method in class com.linecorp.armeria.server.healthcheck.SettableHealthChecker
 
isHealthy(Endpoint) - Method in interface com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup.EndpointHealthChecker
 
isIpAddrOnly() - Method in class com.linecorp.armeria.client.Endpoint
Returns whether this endpoint's host name is an IP address.
isLastModifiedEnabled() - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
Returns whether to add the "last-modified" header automatically.
isLastModifiedEnabled() - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Returns whether to set the "last-modified" header automatically.
isMultiplex() - Method in enum com.linecorp.armeria.common.SessionProtocol
Returns true if and only if this protocol can multiplex a single transport-layer connection into more than one stream.
isNamed() - Method in class com.linecorp.armeria.server.docs.TypeSignature
Returns true if this type signature represents a named type.
isNullOriginAllowed() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Determines if the policy allows a "null" origin.
isOpen() - Method in class com.linecorp.armeria.common.stream.DefaultStreamMessage
 
isOpen() - Method in class com.linecorp.armeria.common.stream.DeferredStreamMessage
 
isOpen() - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
isOpen() - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
isOpen() - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Returns true if this stream is not closed yet.
isOpen() - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
isOpen() - Method in interface com.linecorp.armeria.common.stream.StreamWriter
Returns true if the StreamMessage is open.
isOpenSslAvailable() - Static method in class com.linecorp.armeria.common.util.NativeLibraries
Deprecated.
Use Flags.useOpenSsl() instead.
isPresent() - Method in class com.linecorp.armeria.server.Routed
Returns true if Router found a matching value.
isPresent() - Method in class com.linecorp.armeria.server.RoutingResult
Returns true if this result is not RoutingResult.empty().
isRequestContentDeferred() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
isRequestContentDeferred() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Returns true if RequestLogBuilder.deferRequestContent() was ever called.
isRequestStartTimeSet() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns whether the request start time has been specified.
isResponseContentDeferred() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
isResponseContentDeferred() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Returns true if RequestLogBuilder.deferResponseContent() was ever called.
isShortCircuit() - Method in class com.linecorp.armeria.server.cors.CorsConfig
Determines whether a CORS request should be rejected if it's invalid before being further processing.
isSupported(String) - Static method in enum com.linecorp.armeria.common.HttpMethod
Returns whether the specified String is one of the supported method names.
isTimedOut() - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
isTimedOut() - Method in interface com.linecorp.armeria.common.RequestContext
isTimedOut() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns whether this ServiceRequestContext has been timed-out (e.g., when the corresponding request passes a deadline).
isTls() - Method in enum com.linecorp.armeria.common.SessionProtocol
Returns true if and only if this protocol uses TLS as its transport-level security layer.
isUnresolved() - Method in class com.linecorp.armeria.server.docs.TypeSignature
Returns true if this type signature represents an unresolved type.
isUnsupported(SocketAddress, SessionProtocol) - Static method in class com.linecorp.armeria.client.SessionProtocolNegotiationCache
Returns true if the specified remoteAddress is known to have no support for the specified SessionProtocol.
isVerbose() - Static method in class com.linecorp.armeria.common.util.Exceptions
Deprecated.
iterator() - Method in class com.linecorp.armeria.common.MediaTypeSet
 

J

JacksonRequestConverterFunction - Class in com.linecorp.armeria.server.annotation
A default implementation of a RequestConverterFunction which converts a JSON body of the AggregatedHttpRequest to an object by ObjectMapper.
JacksonRequestConverterFunction() - Constructor for class com.linecorp.armeria.server.annotation.JacksonRequestConverterFunction
Creates an instance with the default ObjectMapper.
JacksonRequestConverterFunction(ObjectMapper) - Constructor for class com.linecorp.armeria.server.annotation.JacksonRequestConverterFunction
Creates an instance with the specified ObjectMapper.
JacksonResponseConverterFunction - Class in com.linecorp.armeria.server.annotation
A response converter implementation which creates an HttpResponse with content-type: application/json; charset=utf-8 or content-type: application/json-seq.
JacksonResponseConverterFunction() - Constructor for class com.linecorp.armeria.server.annotation.JacksonResponseConverterFunction
Creates an instance with the default ObjectMapper.
JacksonResponseConverterFunction(ObjectMapper) - Constructor for class com.linecorp.armeria.server.annotation.JacksonResponseConverterFunction
Creates an instance with the specified ObjectMapper.
JAVASCRIPT_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
RFC 4329 declares this to be the correct media type for JavaScript, but text/javascript may be necessary in certain situations for compatibility.
javaVersion() - Static method in class com.linecorp.armeria.common.util.SystemInfo
Returns the major version of the current Java Virtual Machine.
jettyAlpnOptionalOrAvailable() - Static method in class com.linecorp.armeria.common.util.SystemInfo
Whether the environment either supports ALPN natively or includes Jetty ALPN.
join() - Method in interface com.linecorp.armeria.common.RpcResponse
Returns the result value if completed successfully or throws an unchecked exception if completed exceptionally.
JOSE - Static variable in class com.linecorp.armeria.common.MediaType
JOSE_JSON - Static variable in class com.linecorp.armeria.common.MediaType
JPEG - Static variable in class com.linecorp.armeria.common.MediaType
 
JSON - Static variable in class com.linecorp.armeria.common.MediaType
 
JSON_PATCH - Static variable in class com.linecorp.armeria.common.MediaType
As described in RFC 6902, this constant (application/json-patch+json) is used for expressing a sequence of operations to apply to a JavaScript Object Notation(JSON) document.
JSON_SEQ - Static variable in class com.linecorp.armeria.common.MediaType
As described in RFC 7464, this constant (application/json-seq) is used for expressing JSON text sequences.
JSON_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 
JsonTextSequences - Class in com.linecorp.armeria.server.streaming
A utility class which helps to create a JavaScript Object Notation (JSON) Text Sequences from a content Publisher or Stream.

K

KEY_ARCHIVE - Static variable in class com.linecorp.armeria.common.MediaType
As described in PKCS #12: Personal Information Exchange Syntax Standard, PKCS #12 defines an archive file format for storing many cryptography objects as a single file.
KeyedCircuitBreakerMapping<K> - Class in com.linecorp.armeria.client.circuitbreaker
A CircuitBreakerMapping that binds a CircuitBreaker to its key.
KeyedCircuitBreakerMapping(KeyedCircuitBreakerMapping.KeySelector<K>, Function<K, CircuitBreaker>) - Constructor for class com.linecorp.armeria.client.circuitbreaker.KeyedCircuitBreakerMapping
KeyedCircuitBreakerMapping.KeySelector<K> - Interface in com.linecorp.armeria.client.circuitbreaker
Returns the mapping key of the given Request.
KML - Static variable in class com.linecorp.armeria.common.MediaType
KMZ - Static variable in class com.linecorp.armeria.common.MediaType
OGC KML (Keyhole Markup Language), compressed using the ZIP format into KMZ archives.
knownMethods() - Static method in enum com.linecorp.armeria.common.HttpMethod
Returns all HttpMethods except HttpMethod.UNKNOWN.

L

L16_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
L16 audio, as defined by RFC 2586.
L24_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
L24 audio, as defined by RFC 3190.
LAST_EVENT_ID - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Last-Event-ID" header field name.
LAST_MODIFIED - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Last-Modified" header field name.
lastModified(boolean) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets whether to set the "last-modified" header automatically.
lastModifiedMillis() - Method in class com.linecorp.armeria.server.file.HttpFileAttributes
Returns the last modified time represented as the number of milliseconds since the epoch.
length() - Method in class com.linecorp.armeria.common.DefaultHttpData
 
length() - Method in interface com.linecorp.armeria.common.HttpData
Returns the length of this data.
length() - Method in class com.linecorp.armeria.server.file.HttpFileAttributes
Returns the length in bytes.
length() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
length(T) - Method in interface com.linecorp.armeria.common.stream.SignalLengthGetter
Returns the length of obj.
LENGTH_REQUIRED - Static variable in class com.linecorp.armeria.common.HttpStatus
411 Length Required.
LINK - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Link" header field name.
list(String) - Method in class com.linecorp.armeria.server.file.AbstractHttpVfs
 
list(String) - Method in interface com.linecorp.armeria.server.file.HttpVfs
Lists the files at the specified directory path non-recursively.
Listenable<T> - Interface in com.linecorp.armeria.common.util
An interface that accepts item change listeners.
ListenableHealthChecker - Interface in com.linecorp.armeria.server.healthcheck
A HealthChecker which notifies its state change to its listeners.
listener(CircuitBreakerListener) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerBuilder
loadDocStrings(Set<ServiceConfig>) - Method in interface com.linecorp.armeria.server.docs.DocServicePlugin
Loads the documentation strings that describes services and their methods, enums and their values and structs/exceptions and their fields.
localAddress() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the local socket address of the connection.
localAddress() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
localAddress() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the local address of this request, or null if the connection is not established yet.
localAddress() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
localAddress() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
localAddress() - Method in class com.linecorp.armeria.server.ServerPort
Returns the local address this ServerPort listens to.
localAddress() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the local address of this request.
localAddress() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
localAddress(InetSocketAddress) - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Sets the local socket address of the connection.
location() - Method in class com.linecorp.armeria.server.docs.FieldInfo
Returns the location of the field.
location(FieldLocation) - Method in class com.linecorp.armeria.server.docs.FieldInfoBuilder
Sets the FieldLocation of the field.
LOCATION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Location" header field name.
LOCKED - Static variable in class com.linecorp.armeria.common.HttpStatus
423 Locked (WebDAV, RFC4918).
log() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
log() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the RequestLog that contains the information about the current Request.
log() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
log() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
log(RequestLog) - Method in interface com.linecorp.armeria.server.logging.AccessLogWriter
Logs the specified RequestLog.
log(Throwable) - Static method in class com.linecorp.armeria.common.util.CompletionActions
Logs the specified Throwable.
log(Logger, String) - Method in enum com.linecorp.armeria.common.logging.LogLevel
Logs a message at this level.
log(Logger, String, Object) - Method in enum com.linecorp.armeria.common.logging.LogLevel
Logs a message at this level.
log(Logger, String, Object, Object) - Method in enum com.linecorp.armeria.common.logging.LogLevel
Logs a message at this level.
logBuilder() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
logBuilder() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the RequestLogBuilder that collects the information about the current Request.
logBuilder() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
logBuilder() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
logger() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
logger() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Deprecated.
Use a logging framework integration such as RequestContextExportingAppender in armeria-logback.
logger() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
loggerName() - Method in interface com.linecorp.armeria.server.Route
Returns the logger name.
loggerName() - Method in class com.linecorp.armeria.server.ServiceConfig
Deprecated.
Use a logging framework integration such as RequestContextExportingAppender in armeria-logback.
LoggingClient<I extends Request,​O extends Response> - Class in com.linecorp.armeria.client.logging
Decorates a Client to log Requests and Responses.
LoggingClient(Client<I, O>) - Constructor for class com.linecorp.armeria.client.logging.LoggingClient
LoggingClient(Client<I, O>, LogLevel) - Constructor for class com.linecorp.armeria.client.logging.LoggingClient
Deprecated.
LoggingClientBuilder - Class in com.linecorp.armeria.client.logging
Builds a new LoggingClient.
LoggingClientBuilder() - Constructor for class com.linecorp.armeria.client.logging.LoggingClientBuilder
 
LoggingDecorator - Annotation Type in com.linecorp.armeria.server.annotation.decorator
A LoggingService decorator for annotated HTTP services.
LoggingDecoratorBuilder<T extends LoggingDecoratorBuilder<T>> - Class in com.linecorp.armeria.common.logging
Builds a new logging decorator.
LoggingDecoratorBuilder() - Constructor for class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
 
LoggingDecoratorFactoryFunction - Class in com.linecorp.armeria.server.annotation.decorator
A factory which creates a LoggingService decorator.
LoggingDecoratorFactoryFunction() - Constructor for class com.linecorp.armeria.server.annotation.decorator.LoggingDecoratorFactoryFunction
 
LoggingDecorators - Annotation Type in com.linecorp.armeria.server.annotation.decorator
The containing annotation type for LoggingDecorator.
LoggingService<I extends Request,​O extends Response> - Class in com.linecorp.armeria.server.logging
Decorates a Service to log Requests and Responses.
LoggingService(Service<I, O>) - Constructor for class com.linecorp.armeria.server.logging.LoggingService
LoggingService(Service<I, O>, LogLevel) - Constructor for class com.linecorp.armeria.server.logging.LoggingService
Deprecated.
LoggingServiceBuilder - Class in com.linecorp.armeria.server.logging
Builds a new LoggingService.
LoggingServiceBuilder() - Constructor for class com.linecorp.armeria.server.logging.LoggingServiceBuilder
 
logIfUnexpected(Logger, Channel, SessionProtocol, String, Throwable) - Static method in class com.linecorp.armeria.common.util.Exceptions
Logs the specified exception if it is unexpected.
logIfUnexpected(Logger, Channel, SessionProtocol, Throwable) - Static method in class com.linecorp.armeria.common.util.Exceptions
Logs the specified exception if it is unexpected.
logIfUnexpected(Logger, Channel, String, Throwable) - Static method in class com.linecorp.armeria.common.util.Exceptions
Logs the specified exception if it is unexpected.
logIfUnexpected(Logger, Channel, Throwable) - Static method in class com.linecorp.armeria.common.util.Exceptions
Logs the specified exception if it is unexpected.
LogLevel - Enum in com.linecorp.armeria.common.logging
Log level.
longCommitHash() - Method in class com.linecorp.armeria.common.util.Version
 
longPolling(long) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Enables or disables long-polling support.
longPolling(long, double) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Enables or disables long-polling support.
longPolling(Duration) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Enables or disables long-polling support.
longPolling(Duration, double) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Enables or disables long-polling support.
LruMap<T,​U> - Class in com.linecorp.armeria.common.util
LRU (Least Recently Used) cache Map.
LruMap(int) - Constructor for class com.linecorp.armeria.common.util.LruMap
Creates a new instance with the specified maximum number of allowed entries.

M

makeContextAware(ChannelFutureListener) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(ChannelFutureListener) - Method in interface com.linecorp.armeria.common.RequestContext
Deprecated.
Use CompletableFuture instead.
makeContextAware(FutureListener<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(FutureListener<T>) - Method in interface com.linecorp.armeria.common.RequestContext
Deprecated.
Use CompletableFuture instead.
makeContextAware(GenericFutureListener<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(GenericFutureListener<T>) - Method in interface com.linecorp.armeria.common.RequestContext
Deprecated.
Use CompletableFuture instead.
makeContextAware(Runnable) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(Runnable) - Method in interface com.linecorp.armeria.common.RequestContext
Returns a Runnable that makes sure the current RequestContext is set and then invokes the input runnable.
makeContextAware(Callable<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(Callable<T>) - Method in interface com.linecorp.armeria.common.RequestContext
Returns a Callable that makes sure the current RequestContext is set and then invokes the input callable.
makeContextAware(CompletableFuture<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(CompletableFuture<T>) - Method in interface com.linecorp.armeria.common.RequestContext
Returns a CompletableFuture that makes sure the current CompletableFuture is set and then invokes the input future.
makeContextAware(CompletionStage<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(CompletionStage<T>) - Method in interface com.linecorp.armeria.common.RequestContext
Returns a CompletionStage that makes sure the current CompletionStage is set and then invokes the input stage.
makeContextAware(Executor) - 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(BiConsumer<T, U>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(BiConsumer<T, U>) - Method in interface com.linecorp.armeria.common.RequestContext
Returns a BiConsumer that makes sure the current RequestContext is set and then invokes the input action.
makeContextAware(BiFunction<T, U, V>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(BiFunction<T, U, V>) - Method in interface com.linecorp.armeria.common.RequestContext
Returns a BiFunction that makes sure the current RequestContext is set and then invokes the input function.
makeContextAware(Consumer<T>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(Consumer<T>) - Method in interface com.linecorp.armeria.common.RequestContext
Returns a Consumer that makes sure the current RequestContext is set and then invokes the input action.
makeContextAware(Function<T, R>) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
makeContextAware(Function<T, R>) - Method in interface com.linecorp.armeria.common.RequestContext
Returns a Function that makes sure the current RequestContext is set and then invokes the input function.
ManagedHttpHealthCheckService - Class in com.linecorp.armeria.server.healthcheck
Deprecated.
ManagedHttpHealthCheckService() - Constructor for class com.linecorp.armeria.server.healthcheck.ManagedHttpHealthCheckService
Deprecated.
 
MANIFEST_JSON_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
mapCurrent(Function<? super ClientRequestContext, T>, Supplier<T>) - Static method in interface com.linecorp.armeria.client.ClientRequestContext
Maps the client-side context of the Request that is being handled in the current thread.
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.
mapCurrent(Function<? super ServiceRequestContext, T>, Supplier<T>) - Static method in interface com.linecorp.armeria.server.ServiceRequestContext
Maps the server-side 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 RequestContext.path() with its context path removed.
mappedPath() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
match(MediaType) - Method in class com.linecorp.armeria.common.MediaTypeSet
Finds the MediaType in this List that matches the specified media range.
match(MediaType, 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(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(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.
MAX_FORWARDS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Max-Forwards" header field name.
MAX_RESPONSE_LENGTH - Static variable in class com.linecorp.armeria.client.ClientOption
The maximum allowed length of a server response.
maxAge() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
The value of the CORS "Access-Control-Max-Age" response header which enables the caching of the preflight response for the specified time.
maxAge() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Gets the maxAge setting.
maxAge(long) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Sets the CORS "Access-Control-Max-Age" response header and enables the caching of the preflight response for the specified time.
maxAge(Duration) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
 
maxAge(Duration) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
 
maxAgeSeconds() - Method in class com.linecorp.armeria.common.CacheControl
Returns the value of the "max-age" directive or -1 if disabled.
maxAgeSeconds(long) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
 
maxAgeSeconds(long) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
 
maxCacheEntries() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
Returns the maximum allowed number of cached file entries.
maxCacheEntries(int) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Sets the maximum allowed number of cached file entries.
maxCacheEntrySizeBytes() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
Returns the maximum allowed size of a cached file entry.
maxCacheEntrySizeBytes(int) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Sets the maximum allowed size of a cached file entry.
maxNumConnections() - Static method in class com.linecorp.armeria.common.Flags
Returns the default server-side maximum number of connections.
maxNumConnections() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the maximum allowed number of open connections.
maxNumConnections(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the maximum allowed number of open connections.
maxRequestLength() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
maxRequestLength() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the maximum allowed length of the content decoded at the session layer.
maxRequestLength() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns the maximum allowed length of the content decoded at the session layer.
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
 
maxRequestLength() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the maximum allowed length of the content decoded at the session layer.
maxRequestLength(long) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the maximum allowed length of the content decoded at the session layer.
maxRequestLength(long) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
maxRequestLength(long) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the maximum allowed length of the content decoded at the session layer.
maxRequestLength(long) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
maxResponseLength() - Method in class com.linecorp.armeria.client.ClientOptions
Returns the maximum allowed length of a server response.
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
 
maxStale() - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables the "max-stale directive without a value.
maxStale(boolean) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables or disables the "max-stale" directive.
maxStale(Duration) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables or disables the "max-stale" directive.
maxStaleSeconds() - Method in class com.linecorp.armeria.common.ClientCacheControl
Returns the value of the "max-stale" directive or -1 if disabled or the value is not specified.
maxStaleSeconds(long) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables the "max-stale" directive.
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 Meters in the specified MeterRegistry.
mediaType() - Method in class com.linecorp.armeria.common.SerializationFormat
Returns the primary MediaType of this format.
MediaType - Class in com.linecorp.armeria.common
Represents an Internet Media Type (also known as a MIME Type or Content Type).
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 MediaTypes 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
Merges the specified ServiceSpecifications into one.
MeterIdPrefix - Class in com.linecorp.armeria.common.metric
A common prefix of Meter.Id which consists of Meter name and Tags.
MeterIdPrefix(String) - Constructor for class com.linecorp.armeria.common.metric.MeterIdPrefix
Creates a new instance with no Tags.
MeterIdPrefix(String, Iterable<Tag>) - Constructor for class com.linecorp.armeria.common.metric.MeterIdPrefix
Creates a new instance.
MeterIdPrefix(String, String...) - Constructor for class com.linecorp.armeria.common.metric.MeterIdPrefix
Creates a new instance.
MeterIdPrefixFunction - Interface in com.linecorp.armeria.common.metric
Creates a MeterIdPrefix from a RequestLog.
meterRegistry() - Method in interface com.linecorp.armeria.client.ClientFactory
Returns the MeterRegistry that collects various stats.
meterRegistry() - Method in class com.linecorp.armeria.client.DecoratingClientFactory
 
meterRegistry() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the MeterRegistry.
meterRegistry() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
meterRegistry() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the MeterRegistry that collects various stats.
meterRegistry() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
meterRegistry() - Method in class com.linecorp.armeria.server.Server
Returns the MeterRegistry that collects various stats.
meterRegistry() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the MeterRegistry that collects various stats.
meterRegistry(MeterRegistry) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the MeterRegistry which collects various stats.
meterRegistry(MeterRegistry) - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Sets the MeterRegistry.
meterRegistry(MeterRegistry) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the MeterRegistry that collects various stats.
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.Route
Returns the value of the Tag in a Meter of this Route.
method() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the HttpMethod of the request.
method() - Method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Returns the METHOD of this request.
method() - Method in class com.linecorp.armeria.common.DefaultRpcRequest
 
method() - Method in interface com.linecorp.armeria.common.HttpRequest
Returns the method of this request.
method() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the method of the Request.
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.RoutingContext
Returns HttpMethod of the request.
method(HttpMethod) - Method in class com.linecorp.armeria.client.ClientRequestContextBuilder
 
method(HttpMethod) - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Sets the HttpMethod of the request.
method(HttpMethod) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
Sets the ":method" header.
METHOD - Static variable in interface com.linecorp.armeria.client.circuitbreaker.KeyedCircuitBreakerMapping.KeySelector
A KeyedCircuitBreakerMapping.KeySelector that returns remote method name as a key.
METHOD - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP ":method" pseudo header field name.
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>, HttpMethod, String) - 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>, HttpMethod, 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.
methods() - Method in interface com.linecorp.armeria.server.Route
Returns the Set of HttpMethods that this Route supports.
methods(HttpMethod...) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to support the specified HttpMethods.
methods(HttpMethod...) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
methods(HttpMethod...) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
methods(Iterable<HttpMethod>) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to support the specified HttpMethods.
methods(Iterable<HttpMethod>) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
methods(Iterable<HttpMethod>) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
MetricCollectingCircuitBreakerListener - Class in com.linecorp.armeria.client.circuitbreaker
A CircuitBreakerListener which exports the status of CircuitBreakers to MeterRegistry.
MetricCollectingCircuitBreakerListener(MeterRegistry) - Constructor for class com.linecorp.armeria.client.circuitbreaker.MetricCollectingCircuitBreakerListener
Creates a new instance with the default name "armeria.client.circuitBreaker".
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
Decorates a Client to collect metrics into MeterRegistry.
MetricCollectingService<I extends Request,​O extends Response> - Class in com.linecorp.armeria.server.metric
Decorates a Service to collect metrics into MeterRegistry.
MICROSOFT_EXCEL - Static variable in class com.linecorp.armeria.common.MediaType
Microsoft Excel spreadsheets.
MICROSOFT_OUTLOOK - Static variable in class com.linecorp.armeria.common.MediaType
MICROSOFT_POWERPOINT - Static variable in class com.linecorp.armeria.common.MediaType
Microsoft Powerpoint presentations.
MICROSOFT_WORD - Static variable in class com.linecorp.armeria.common.MediaType
Microsoft Word documents.
minFresh(Duration) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables or disables the "min-fresh" directive.
minFreshSeconds() - Method in class com.linecorp.armeria.common.ClientCacheControl
Returns the value of the "min-fresh" directive or -1 if disabled.
minFreshSeconds(long) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables the "min-fresh" directive.
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
Deprecated.
Judge the turning mode.
MoreMeters - Class in com.linecorp.armeria.common.metric
Provides utilities for accessing MeterRegistry.
MoreNamingConventions - Class in com.linecorp.armeria.common.metric
Provides commonly-used NamingConventions.
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.
mustRevalidate() - Method in class com.linecorp.armeria.common.ServerCacheControl
Returns whether the "must-revalidate" directive is enabled.
mustRevalidate() - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables the "must-revalidate" directive.
mustRevalidate(boolean) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables or disables the "must-revalidate" directive.

N

NACL_APPLICATION - Static variable in class com.linecorp.armeria.common.MediaType
NaCl applications.
NACL_PORTABLE_APPLICATION - Static variable in class com.linecorp.armeria.common.MediaType
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() - Method in annotation type com.linecorp.armeria.server.annotation.AdditionalHeader
The name of the HTTP header to set.
name() - Method in annotation type com.linecorp.armeria.server.annotation.AdditionalTrailer
The name of the HTTP trailer to set.
name() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.RateLimitingDecorator
The name of the configured ThrottlingStrategy.
name() - Method in interface com.linecorp.armeria.server.docs.DocServicePlugin
Returns the name of this plugin.
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
Returns the name of this ThrottlingStrategy.
name(String) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
Returns the name concatenated by the specified suffix.
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
Deprecated.
Use Flags instead.
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.RoutingResult
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
 
negotiatedResponseMediaType(MediaType) - Method in class com.linecorp.armeria.server.RoutingResultBuilder
Sets the negotiated producible MediaType.
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
A RetryStrategy that defines a retry should not be performed.
never() - Static method in class com.linecorp.armeria.server.throttling.ThrottlingStrategy
Returns a singleton ThrottlingStrategy that never accepts requests.
newClient(ClientFactory, Scheme, Endpoint, Class<T>, ClientOptions) - Static method in class com.linecorp.armeria.client.Clients
Creates a new client that connects to the specified Endpoint with the Scheme using the specified ClientFactory.
newClient(ClientFactory, Scheme, Endpoint, Class<T>, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.Clients
Creates a new client that connects to the specified Endpoint with the Scheme using the specified ClientFactory.
newClient(ClientFactory, SessionProtocol, SerializationFormat, Endpoint, Class<T>, ClientOptions) - Static method in class com.linecorp.armeria.client.Clients
Creates a new client that connects to the specified Endpoint with the SessionProtocol and the SerializationFormat using the specified ClientFactory.
newClient(ClientFactory, SessionProtocol, SerializationFormat, Endpoint, Class<T>, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.Clients
Creates a new client that connects to the specified Endpoint with the SessionProtocol and the SerializationFormat using the specified 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 the specified 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 the specified 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 the specified 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 the specified ClientFactory.
newClient(Scheme, Endpoint, Class<T>, ClientOptions) - Method in class com.linecorp.armeria.client.AbstractClientFactory
 
newClient(Scheme, Endpoint, Class<T>, ClientOptions) - Method in interface com.linecorp.armeria.client.ClientFactory
Creates a new client that connects to the specified Endpoint with the Scheme.
newClient(Scheme, Endpoint, Class<T>, ClientOptions) - Static method in class com.linecorp.armeria.client.Clients
Creates a new client that connects to the specified Endpoint with the Scheme using the default ClientFactory.
newClient(Scheme, Endpoint, Class<T>, ClientOptionValue<?>...) - Method in class com.linecorp.armeria.client.AbstractClientFactory
 
newClient(Scheme, Endpoint, Class<T>, ClientOptionValue<?>...) - Method in interface com.linecorp.armeria.client.ClientFactory
Creates a new client that connects to the specified Endpoint with the Scheme.
newClient(Scheme, Endpoint, Class<T>, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.Clients
Creates a new client that connects to the specified Endpoint with the Scheme using the default ClientFactory.
newClient(Scheme, Endpoint, String, Class<T>, ClientOptions) - Method in interface com.linecorp.armeria.client.ClientFactory
Creates a new client that connects to the specified Endpoint with the Scheme and path.
newClient(Scheme, Endpoint, String, Class<T>, ClientOptions) - Method in class com.linecorp.armeria.client.DecoratingClientFactory
 
newClient(Scheme, Endpoint, String, Class<T>, ClientOptionValue<?>...) - Method in class com.linecorp.armeria.client.AbstractClientFactory
 
newClient(Scheme, Endpoint, String, Class<T>, ClientOptionValue<?>...) - Method in interface com.linecorp.armeria.client.ClientFactory
Creates a new client that connects to the specified Endpoint with the Scheme and path.
newClient(SessionProtocol, SerializationFormat, Endpoint, Class<T>, ClientOptions) - Static method in class com.linecorp.armeria.client.Clients
Creates a new client that connects to the specified Endpoint with the SessionProtocol and the SerializationFormat using the default ClientFactory.
newClient(SessionProtocol, SerializationFormat, Endpoint, Class<T>, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.Clients
Creates a new client that connects to the specified Endpoint with the SessionProtocol and the SerializationFormat using the default ClientFactory.
newClient(String, Class<T>, ClientOptions) - Method in class com.linecorp.armeria.client.AbstractClientFactory
 
newClient(String, Class<T>, ClientOptions) - Method in interface com.linecorp.armeria.client.ClientFactory
Creates a new client that connects to the specified uri.
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(String, 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>, 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) - Method in interface com.linecorp.armeria.client.ClientFactory
Creates a new client that connects to the specified URI.
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(URI, Class<T>, ClientOptions) - Method in class com.linecorp.armeria.client.DecoratingClientFactory
 
newClient(URI, Class<T>, ClientOptionValue<?>...) - Method in class com.linecorp.armeria.client.AbstractClientFactory
 
newClient(URI, Class<T>, ClientOptionValue<?>...) - Method in interface com.linecorp.armeria.client.ClientFactory
Creates a new client that connects to the specified URI.
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.
newCounter(Meter.Id) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
 
newDecoder(ByteBufAllocator) - Method in class com.linecorp.armeria.client.encoding.DeflateStreamDecoderFactory
 
newDecoder(ByteBufAllocator) - Method in class com.linecorp.armeria.client.encoding.GzipStreamDecoderFactory
 
newDecoder(ByteBufAllocator) - Method in interface com.linecorp.armeria.client.encoding.StreamDecoderFactory
Construct a new StreamDecoder to use to decode an HttpResponse.
newDecorator() - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClientBuilder
 
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() - Static method in class com.linecorp.armeria.client.logging.LoggingClient
Returns a new Client decorator that logs Requests and Responses at LogLevel.INFO for success, LogLevel.WARN for failure.
newDecorator() - Method in class com.linecorp.armeria.client.logging.LoggingClientBuilder
Returns a newly-created LoggingClient decorator based on the properties of this builder.
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() - 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() - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Returns a newly-created decorator that decorates a Service with a new HttpAuthService based on the Authorizers added to this builder.
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
Returns a new Service decorator that logs Requests and Responses at LogLevel.INFO for success, LogLevel.WARN for failure.
newDecorator() - Method in class com.linecorp.armeria.server.logging.LoggingServiceBuilder
Returns a newly-created LoggingService decorator based on the properties of this builder.
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(CircuitBreakerMapping, CircuitBreakerStrategy) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
Creates a new decorator with the specified CircuitBreakerMapping and CircuitBreakerStrategy.
newDecorator(CircuitBreakerMapping, CircuitBreakerStrategyWithContent<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
Creates a new decorator with the specified CircuitBreakerMapping and CircuitBreakerStrategy.
newDecorator(CircuitBreaker, CircuitBreakerStrategy) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
Creates a new decorator using the specified CircuitBreaker instance and CircuitBreakerStrategy.
newDecorator(CircuitBreaker, CircuitBreakerStrategyWithContent<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
Creates a new decorator using the specified CircuitBreaker instance and CircuitBreakerStrategy.
newDecorator(StreamDecoderFactory...) - Static method in class com.linecorp.armeria.client.encoding.HttpDecodingClient
Creates a new HttpDecodingClient decorator with the specified StreamDecoderFactorys.
newDecorator(RetryStrategy) - 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, 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, 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(RetryStrategyWithContent<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(RetryStrategyWithContent<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(RetryStrategyWithContent<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(LogLevel) - Static method in class com.linecorp.armeria.client.logging.LoggingClient
Deprecated.
newDecorator(LogLevel) - Static method in class com.linecorp.armeria.server.logging.LoggingService
Deprecated.
newDecorator(MeterIdPrefixFunction) - Static method in class com.linecorp.armeria.client.metric.MetricCollectingClient
Returns a Client decorator that tracks request stats using MeterRegistry.
newDecorator(MeterIdPrefixFunction) - Static method in class com.linecorp.armeria.server.metric.MetricCollectingService
Returns a new Service decorator that tracks request stats using MeterRegistry.
newDecorator(CorsDecorator) - Method in class com.linecorp.armeria.server.cors.CorsDecoratorFactoryFunction
 
newDecorator(CorsDecorators) - Method in class com.linecorp.armeria.server.cors.CorsDecoratorsFactoryFunction
 
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(Authorizer<HttpRequest>...) - Static method in class com.linecorp.armeria.server.auth.HttpAuthService
Creates a new HTTP authorization Service decorator using the specified Authorizers.
newDecorator(ThrottlingStrategy<HttpRequest>) - Static method in class com.linecorp.armeria.server.throttling.ThrottlingHttpService
Creates a new decorator using the specified ThrottlingStrategy instance.
newDecorator(ThrottlingStrategy<RpcRequest>) - Static method in class com.linecorp.armeria.server.throttling.ThrottlingRpcService
Creates a new decorator using the specified ThrottlingStrategy instance.
newDecorator(Iterable<? extends StreamDecoderFactory>) - Static method in class com.linecorp.armeria.client.encoding.HttpDecodingClient
Creates a new HttpDecodingClient decorator with the specified StreamDecoderFactorys.
newDecorator(Iterable<? extends Authorizer<HttpRequest>>) - Static method in class com.linecorp.armeria.server.auth.HttpAuthService
Creates a new HTTP authorization Service decorator using the specified Authorizers.
newDecorator(T) - Method in interface com.linecorp.armeria.server.annotation.DecoratorFactoryFunction
Creates a new decorator with the specified parameter.
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 ClientOptions.
newDerivedContext() - Method in interface com.linecorp.armeria.client.ClientRequestContext
Creates a new ClientRequestContext whose properties and Attributes are copied from this ClientRequestContext, except having its own RequestLog.
newDerivedContext() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
newDerivedContext() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
newDerivedContext() - Method in interface com.linecorp.armeria.common.RequestContext
Creates a new RequestContext whose properties and Attributes are copied from this RequestContext, except having its own RequestLog.
newDerivedContext() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
newDerivedContext() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
 
newDerivedContext() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
newDerivedContext(ClientRequestContext, Request) - Static method in class com.linecorp.armeria.client.retry.RetryingClient
Creates a new derived ClientRequestContext, replacing the Request with req.
newDerivedContext(Request) - Method in interface com.linecorp.armeria.client.ClientRequestContext
Creates a new ClientRequestContext whose properties and Attributes are copied from this ClientRequestContext, except having a different Request and its own RequestLog.
newDerivedContext(Request) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
newDerivedContext(Request) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
newDerivedContext(Request) - Method in interface com.linecorp.armeria.common.RequestContext
Creates a new RequestContext whose properties and Attributes are copied from this RequestContext, except having a different Request and its own RequestLog.
newDerivedContext(Request) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
newDerivedContext(Request) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
 
newDerivedContext(Request) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
newDerivedContext(Request, Endpoint) - Method in interface com.linecorp.armeria.client.ClientRequestContext
Creates a new ClientRequestContext whose properties and Attributes are copied from this ClientRequestContext, except having different Request, Endpoint and its own RequestLog.
newDerivedContext(Request, Endpoint) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
newDerivedContext(Request, Endpoint) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
newDistributionSummary(Meter.Id, DistributionStatisticConfig, double) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
 
newDistributionSummary(MeterRegistry, String, Iterable<Tag>) - Static method in class com.linecorp.armeria.common.metric.MoreMeters
Returns a newly-registered DistributionSummary configured by MoreMeters.distributionStatisticConfig().
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
Returns a newly-created EventLoopGroup.
newEventLoopGroup(int, boolean) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
Returns a newly-created EventLoopGroup.
newEventLoopGroup(int, String) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
Returns a newly-created EventLoopGroup.
newEventLoopGroup(int, String, boolean) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
Returns a newly-created EventLoopGroup.
newEventLoopGroup(int, ThreadFactory) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
Returns a newly-created EventLoopGroup.
newFactory(ClientFactory) - Method in interface com.linecorp.armeria.client.ClientFactoryProvider
Creates a new ClientFactory.
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
 
newHealthyResponse(ServiceRequestContext) - Method in class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
Deprecated.
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(MeterIdPrefix) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
Returns a newly-created MeterBinder which binds the stats about this HealthCheckedEndpointGroup.
newMeterBinder(String) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HealthCheckedEndpointGroup
Returns a newly-created MeterBinder which binds the stats about this HealthCheckedEndpointGroup with the default meter names.
newPerHostAndMethodDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategy) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
Creates a new decorator that binds one CircuitBreaker per host and HttpMethod with the specified CircuitBreakerStrategy.
newPerHostAndMethodDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategyWithContent<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
Creates a new decorator that binds one CircuitBreaker per host and RPC method name with the specified CircuitBreakerStrategy.
newPerHostDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategy) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
Creates a new decorator that binds one CircuitBreaker per host with the specified CircuitBreakerStrategy.
newPerHostDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategyWithContent<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
Creates a new decorator that binds one CircuitBreaker per host with the specified CircuitBreakerStrategy.
newPerMethodDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategy) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerHttpClient
Creates a new decorator that binds one CircuitBreaker per HttpMethod with the specified CircuitBreakerStrategy.
newPerMethodDecorator(Function<String, CircuitBreaker>, CircuitBreakerStrategyWithContent<RpcResponse>) - Static method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerRpcClient
Creates a new decorator that binds one CircuitBreaker per RPC method name with the specified CircuitBreakerStrategy.
newRegistry() - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
Returns a newly-created DropwizardMeterRegistry instance with the default HierarchicalNameMapper.
newRegistry() - Static method in class com.linecorp.armeria.common.metric.PrometheusMeterRegistries
Returns a newly-created PrometheusMeterRegistry instance with a new CollectorRegistry.
newRegistry(MetricRegistry) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
Returns a newly-created DropwizardMeterRegistry instance with the specified MetricRegistry and the default HierarchicalNameMapper.
newRegistry(MetricRegistry, HierarchicalNameMapper) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
Returns a newly-created DropwizardMeterRegistry instance with the specified MetricRegistry and HierarchicalNameMapper.
newRegistry(MetricRegistry, HierarchicalNameMapper, Clock) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
Returns a newly-created DropwizardMeterRegistry instance with the specified MetricRegistry, HierarchicalNameMapper and Clock.
newRegistry(HierarchicalNameMapper) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
Returns a newly-created DropwizardMeterRegistry instance with the specified HierarchicalNameMapper.
newRegistry(HierarchicalNameMapper, Clock) - Static method in class com.linecorp.armeria.common.metric.DropwizardMeterRegistries
Returns a newly-created DropwizardMeterRegistry instance with the specified HierarchicalNameMapper and Clock.
newRegistry(CollectorRegistry) - Static method in class com.linecorp.armeria.common.metric.PrometheusMeterRegistries
Returns a newly-created PrometheusMeterRegistry instance with the specified CollectorRegistry.
newRegistry(CollectorRegistry, Clock) - Static method in class com.linecorp.armeria.common.metric.PrometheusMeterRegistries
Returns a newly-created PrometheusMeterRegistry instance with the specified CollectorRegistry and Clock.
newSelector(EndpointGroup) - Method in interface com.linecorp.armeria.client.endpoint.EndpointSelectionStrategy
Creates a new EndpointSelector that selects an Endpoint from the specified EndpointGroup.
newSelector(EndpointGroup) - Method in class com.linecorp.armeria.client.endpoint.StickyEndpointSelectionStrategy
Creates a new StickyEndpointSelectionStrategy.StickyEndpointSelector.
newStream() - Method in class com.linecorp.armeria.server.file.StreamingHttpFile
Opens a new stream which reads from the file.
newThread(Runnable) - Method in class com.linecorp.armeria.common.util.EventLoopThreadFactory
 
newTimer(Meter.Id, DistributionStatisticConfig, PauseDetector) - Method in class com.linecorp.armeria.common.metric.NoopMeterRegistry
 
newTimer(MeterRegistry, String, Iterable<Tag>) - Static method in class com.linecorp.armeria.common.metric.MoreMeters
Returns a newly-registered Timer configured by MoreMeters.distributionStatisticConfig().
newUnhealthyResponse(ServiceRequestContext) - Method in class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
Deprecated.
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
Returns a EventLoop from the worker group.
NO_CONTENT - Static variable in class com.linecorp.armeria.common.HttpStatus
204 No Content.
noCache() - Method in class com.linecorp.armeria.common.CacheControl
Returns whether the "no-cache" directive is enabled.
noCache() - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
 
noCache() - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
 
noCache(boolean) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
 
noCache(boolean) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
 
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 - com.linecorp.armeria.server.annotation.ExceptionVerbosity
Do not log any exceptions.
NONE - Static variable in class com.linecorp.armeria.client.ClientDecoration
A ClientDecoration that decorates no Client.
NONE - Static variable in class com.linecorp.armeria.common.SerializationFormat
No serialization format.
nonExistent() - Static method in interface com.linecorp.armeria.server.file.HttpFile
Returns an AggregatedHttpFile which represents a non-existent file.
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
Default RequestContext implementation.
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.ConnectionPoolListener
Returns an instance that does nothing.
NOOP - Static variable in interface com.linecorp.armeria.common.logging.RequestLogBuilder
A dummy RequestLogBuilder that discards everything it collected.
NoopMeterRegistry - Class in com.linecorp.armeria.common.metric
A MeterRegistry which does not record any values.
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
 
noStore() - Method in class com.linecorp.armeria.common.CacheControl
Returns whether the "no-store" directive is enabled.
noStore() - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
 
noStore() - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
 
noStore(boolean) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
 
noStore(boolean) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
 
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.
notificationFailed(L, Throwable) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Invoked when an event listener raises an exception.
NOTIFY_CANCELLATION - com.linecorp.armeria.common.stream.SubscriptionOption
To get notified by Subscriber.onError(Throwable) even when the StreamMessage is cancelled.
notifyListeners(T) - Method in class com.linecorp.armeria.common.util.AbstractListenable
Notify the new value changes to the listeners added via AbstractListenable.addListener(Consumer).
notifyStarted(L, T, V) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Invoked when the startup procedure is finished.
notifyStarting(L, T) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Invoked when the startup procedure begins.
notifyStopped(L, U) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Invoked when the shutdown procedure is finished.
notifyStopping(L, U) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Invoked when the shutdown procedure begins.
noTransform() - Method in class com.linecorp.armeria.common.CacheControl
Returns whether the "no-transform" directive is enabled.
noTransform() - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
 
noTransform() - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
 
noTransform(boolean) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
 
noTransform(boolean) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
 
nullOriginAllowed() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
Determines if a "null" origin is allowed.
NullToNoContentResponseConverterFunction - Class in com.linecorp.armeria.server.annotation
A response converter implementation which creates an HttpResponse of HttpStatus.NO_CONTENT when the specified result is null.
NullToNoContentResponseConverterFunction() - Constructor for class com.linecorp.armeria.server.annotation.NullToNoContentResponseConverterFunction
 
numActiveRequests() - Method in class com.linecorp.armeria.client.limit.ConcurrencyLimitingClient
Returns the number of the Requests that are being executed.
numCommonBlockingTaskThreads() - Static method in class com.linecorp.armeria.common.Flags
Returns the default number of blocking task executor threads.
numCommonWorkers() - Static method in class com.linecorp.armeria.common.Flags
Returns the default number of common worker group threads.
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.

O

OAUTH1A - Static variable in class com.linecorp.armeria.server.auth.AuthTokenExtractors
An OAuth1aToken extractor function instance.
OAuth1aToken - Class in com.linecorp.armeria.server.auth
The bearer token of OAuth 1.0a authentication.
OAUTH2 - Static variable in class com.linecorp.armeria.server.auth.AuthTokenExtractors
An OAuth2Token extractor function instance.
OAuth2Token - Class in com.linecorp.armeria.server.auth
The bearer token of OAuth 2.0 authentication.
obtrudeException(Throwable) - Method in class com.linecorp.armeria.common.DefaultRpcResponse
 
OCTET_STREAM - Static variable in class com.linecorp.armeria.common.MediaType
 
of() - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns an empty HttpHeaders.
of() - Static method in interface com.linecorp.armeria.common.HttpParameters
Returns a new empty HTTP parameters map.
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(byte[]) - Static method in interface com.linecorp.armeria.common.HttpData
Deprecated.
of(byte[], int, int) - Static method in interface com.linecorp.armeria.common.HttpData
of(int) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response.
of(int) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified statusCode.
of(int) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified statusCode.
of(int) - Static method in exception com.linecorp.armeria.server.HttpResponseException
Returns a new HttpResponseException instance with the specified HTTP status code.
of(int) - Static method in exception com.linecorp.armeria.server.HttpStatusException
Returns a new HttpStatusException instance with the specified HTTP status code.
of(ClientFactory, EndpointGroup, String, Duration) - Static method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroup
of(ClientFactory, SessionProtocol, Endpoint, ClientOptions) - Static method in interface com.linecorp.armeria.client.HttpClient
Creates a new HTTP client that connects to the specified Endpoint with the SessionProtocol using an alternative ClientFactory.
of(ClientFactory, SessionProtocol, Endpoint, ClientOptionValue<?>...) - Static method in interface com.linecorp.armeria.client.HttpClient
Creates a new HTTP client that connects to the specified Endpoint with the SessionProtocol 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(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, 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(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(ClientOptions, ClientOptions) - Static method in class com.linecorp.armeria.client.ClientOptions
Merges the specified two ClientOptions into one.
of(ClientOptions, ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.ClientOptions
Merges the specified ClientOptions and ClientOptionValues.
of(ClientOptions, Iterable<ClientOptionValue<?>>) - Static method in class com.linecorp.armeria.client.ClientOptions
Merges the specified ClientOptions and ClientOptionValues.
of(ClientOptionValue<?>...) - Static method in class com.linecorp.armeria.client.ClientOptions
Returns the ClientOptions with the specified ClientOptionValues.
of(EndpointGroup, String) - Static method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroup
Creates a new HttpHealthCheckedEndpointGroup instance.
of(EndpointGroup, String, Duration) - Static method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroup
of(AggregatedHttpRequest) - Static method in interface com.linecorp.armeria.common.HttpRequest
Converts the AggregatedHttpRequest into a new HttpRequest and closes the stream.
of(AggregatedHttpResponse) - Static method in interface com.linecorp.armeria.common.HttpResponse
Converts the AggregatedHttpResponse into a new complete HttpResponse.
of(AggregatedHttpResponse) - Static method in exception com.linecorp.armeria.server.HttpResponseException
Returns a new HttpResponseException instance with the specified AggregatedHttpResponse.
of(HttpData) - Static method in interface com.linecorp.armeria.server.file.HttpFile
Creates a new AggregatedHttpFile which streams the specified HttpData.
of(HttpData) - Static method in class com.linecorp.armeria.server.file.HttpFileBuilder
Returns a new HttpFileBuilder that builds an AggregatedHttpFile from the specified HttpData.
of(HttpData, long) - Static method in interface com.linecorp.armeria.server.file.HttpFile
Creates a new AggregatedHttpFile which streams the specified HttpData with the specified lastModifiedMillis.
of(HttpData, long) - Static method in class com.linecorp.armeria.server.file.HttpFileBuilder
Returns a new HttpFileBuilder that builds an AggregatedHttpFile from the specified HttpData and lastModifiedMillis.
of(HttpHeaders) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders copied from the specified HttpHeaders.
of(HttpHeaders) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders copied from the specified HttpHeaders.
of(HttpHeaders) - Static method in interface com.linecorp.armeria.server.annotation.HttpResult
Creates a new HttpResult with the specified headers and without content.
of(HttpHeaders, T) - Static method in interface com.linecorp.armeria.server.annotation.HttpResult
Creates a new HttpResult with the specified headers and content.
of(HttpHeaders, T, HttpHeaders) - Static method in interface com.linecorp.armeria.server.annotation.HttpResult
Creates a new HttpResult with the specified headers, content and trailers.
of(HttpMethod, String) - Static method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Creates a new HTTP request with empty content.
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) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders with the specified HttpMethod and path.
of(HttpMethod, String, MediaType, byte[]) - Static method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Creates a new HTTP request.
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, HttpData) - Static method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Creates a new HTTP request.
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.AggregatedHttpRequest
Creates a new HTTP request.
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(HttpMethod, String, MediaType, CharSequence) - Static method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Creates a new HTTP request.
of(HttpMethod, String, MediaType, CharSequence) - Static method in interface com.linecorp.armeria.common.HttpRequest
Creates a new HTTP request and closes the stream.
of(HttpMethod, String, MediaType, String) - Static method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Creates a new HTTP request.
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.AggregatedHttpRequest
Creates a new HTTP request.
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, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders with the specified HttpMethod, path and an additional header.
of(HttpMethod, String, CharSequence, Object, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders with the specified HttpMethod, path and additional headers.
of(HttpMethod, String, CharSequence, Object, CharSequence, Object, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders with the specified HttpMethod, path and additional headers.
of(HttpMethod, String, CharSequence, Object, CharSequence, Object, CharSequence, Object, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders with the specified HttpMethod, path and additional headers.
of(HttpMethod, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders with the specified HttpMethod, path and an additional header.
of(HttpMethod, String, CharSequence, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders with the specified HttpMethod, path and additional headers.
of(HttpMethod, String, CharSequence, String, CharSequence, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders with the specified HttpMethod, path and additional headers.
of(HttpMethod, String, CharSequence, String, CharSequence, String, CharSequence, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.RequestHeaders
Returns a new RequestHeaders with the specified HttpMethod, path and additional headers.
of(HttpObject...) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified objects.
of(HttpRequest) - Static method in interface com.linecorp.armeria.client.ClientRequestContext
Returns a new ClientRequestContext created from the specified HttpRequest.
of(HttpRequest) - Static method in class com.linecorp.armeria.client.ClientRequestContextBuilder
Returns a new ClientRequestContextBuilder created from the specified HttpRequest.
of(HttpRequest) - Static method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns a new ServiceRequestContext created from the specified HttpRequest.
of(HttpRequest) - Static method in class com.linecorp.armeria.server.ServiceRequestContextBuilder
Returns a new ServiceRequestContextBuilder created from the specified HttpRequest.
of(HttpRequest, RequestHeaders) - Static method in interface com.linecorp.armeria.common.HttpRequest
Creates a new instance from an existing HttpRequest replacing its RequestHeaders with the specified newHeaders.
of(HttpResponse) - Static method in exception com.linecorp.armeria.server.HttpResponseException
Returns a new HttpResponseException instance with the specified HttpResponse.
of(HttpStatus) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response.
of(HttpStatus) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified HttpStatus.
of(HttpStatus) - Static method in interface com.linecorp.armeria.server.annotation.HttpResult
Creates a new HttpResult with the specified HttpStatus and without content.
of(HttpStatus) - Static method in exception com.linecorp.armeria.server.HttpResponseException
Returns a new HttpResponseException instance with the specified HttpStatus.
of(HttpStatus) - Static method in exception com.linecorp.armeria.server.HttpStatusException
Returns a new HttpStatusException instance with the specified HttpStatus.
of(HttpStatus, MediaType, byte[]) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, byte[]) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, HttpData) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, HttpData) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, CharSequence) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, CharSequence) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, String) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, String) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, String, Object...) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, MediaType, String, Object...) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified HttpStatus.
of(HttpStatus, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified HttpStatus and an additional header.
of(HttpStatus, CharSequence, Object, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified HttpStatus and additional headers.
of(HttpStatus, CharSequence, Object, CharSequence, Object, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified HttpStatus and additional headers.
of(HttpStatus, CharSequence, Object, CharSequence, Object, CharSequence, Object, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified HttpStatus and additional headers.
of(HttpStatus, CharSequence, String) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified HttpStatus and an additional header.
of(HttpStatus, CharSequence, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified HttpStatus and additional headers.
of(HttpStatus, CharSequence, String, CharSequence, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified HttpStatus and additional headers.
of(HttpStatus, CharSequence, String, CharSequence, String, CharSequence, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.ResponseHeaders
Returns a new ResponseHeaders with the specified HttpStatus and additional headers.
of(HttpStatus, T) - Static method in interface com.linecorp.armeria.server.annotation.HttpResult
Creates a new HttpResult with the specified HttpStatus and content.
of(HttpStatus, T, HttpHeaders) - Static method in interface com.linecorp.armeria.server.annotation.HttpResult
Creates a new HttpResult with the specified HttpStatus, content and trailers.
of(ContentPreviewerFactory...) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory which wraps a list of ContentPreviewerFactorys.
of(MediaType, String) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of OK status with the content.
of(MediaType, String, Object...) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of OK status with the content.
of(MediaType, Supplier<? extends ContentPreviewer>) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory which creates a ContentPreviewer through supplier for the request/response with the contentType.
of(RequestHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Creates a new HTTP request with empty content.
of(RequestHeaders) - Static method in interface com.linecorp.armeria.common.HttpRequest
Creates a new HttpRequest with empty content and closes the stream.
of(RequestHeaders, HttpData) - Static method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Creates a new HTTP request.
of(RequestHeaders, HttpData) - Static method in interface com.linecorp.armeria.common.HttpRequest
Creates a new HttpRequest and closes the stream.
of(RequestHeaders, HttpData...) - Static method in interface com.linecorp.armeria.common.HttpRequest
Creates a new HttpRequest that publishes the given HttpObjects and closes the stream.
of(RequestHeaders, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Creates a new HTTP request.
of(RequestHeaders, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpRequest
Creates a new HttpRequest and closes the stream.
of(RequestHeaders, Publisher<? extends HttpObject>) - Static method in interface com.linecorp.armeria.common.HttpRequest
Creates a new instance from an existing RequestHeaders and Publisher.
of(ResponseHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response with empty content.
of(ResponseHeaders) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified headers.
of(ResponseHeaders, HttpData) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response.
of(ResponseHeaders, HttpData) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified headers and content.
of(ResponseHeaders, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response.
of(ResponseHeaders, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.HttpResponse
Creates a new HTTP response of the specified objects.
of(RpcRequest, String) - Static method in interface com.linecorp.armeria.client.ClientRequestContext
Returns a new ClientRequestContext created from the specified RpcRequest and URI.
of(RpcRequest, String) - Static method in class com.linecorp.armeria.client.ClientRequestContextBuilder
Returns a new ClientRequestContextBuilder created from the specified RpcRequest and URI.
of(RpcRequest, URI) - Static method in interface com.linecorp.armeria.client.ClientRequestContext
Returns a new ClientRequestContext created from the specified RpcRequest and URI.
of(RpcRequest, URI) - Static method in class com.linecorp.armeria.client.ClientRequestContextBuilder
Returns a new ClientRequestContextBuilder created from the specified RpcRequest and URI.
of(SerializationFormat, SessionProtocol) - Static method in class com.linecorp.armeria.common.Scheme
Returns the Scheme of the specified SerializationFormat and SessionProtocol.
of(SessionProtocol, Endpoint, ClientOptions) - Static method in interface com.linecorp.armeria.client.HttpClient
Creates a new HTTP client that connects to the specified Endpoint with the SessionProtocol using the default ClientFactory.
of(SessionProtocol, Endpoint, ClientOptionValue<?>...) - Static method in interface com.linecorp.armeria.client.HttpClient
Creates a new HTTP client that connects to the specified Endpoint with the SessionProtocol using the default ClientFactory.
of(HealthChecker...) - Static method in class com.linecorp.armeria.server.healthcheck.HealthCheckService
Returns a newly created HealthCheckService with the specified HealthCheckers.
of(Route, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
Creates a new CompositeServiceEntry with the specified Route and Service.
of(ByteBuf) - Static method in interface com.linecorp.armeria.common.HttpData
Deprecated.
of(Cookie...) - Static method in interface com.linecorp.armeria.server.annotation.Cookies
Creates an instance with a copy of the specified set of Cookies.
of(AsciiString) - Static method in class com.linecorp.armeria.common.HttpHeaderNames
Lower-cases and converts the specified header name into an AsciiString.
of(File) - Static method in interface com.linecorp.armeria.server.file.HttpFile
Creates a new HttpFile which streams the specified File.
of(File) - Static method in class com.linecorp.armeria.server.file.HttpFileBuilder
Returns a new HttpFileBuilder that builds an HttpFile from the specified File.
of(CharSequence) - Static method in class com.linecorp.armeria.common.HttpHeaderNames
Lower-cases and converts the specified header name into an AsciiString.
of(CharSequence, Object) - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new HttpHeaders with the specified header.
of(CharSequence, Object, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new HttpHeaders with the specified headers.
of(CharSequence, Object, CharSequence, Object, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new HttpHeaders with the specified headers.
of(CharSequence, Object, CharSequence, Object, CharSequence, Object, CharSequence, Object) - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new HttpHeaders with the specified headers.
of(CharSequence, String) - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new HttpHeaders with the specified header.
of(CharSequence, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new HttpHeaders with the specified headers.
of(CharSequence, String, CharSequence, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new HttpHeaders with the specified headers.
of(CharSequence, String, CharSequence, String, CharSequence, String, CharSequence, String) - Static method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new HttpHeaders with the specified headers.
of(Class<?>, String) - Static method in interface com.linecorp.armeria.common.RpcRequest
Creates a new instance with no 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 a single parameter.
of(Class<?>, String, Object...) - Static method in interface com.linecorp.armeria.common.RpcRequest
Creates a new instance with the specified parameters.
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(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(Iterable<? extends ContentPreviewerFactory>) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory which wraps a list of ContentPreviewerFactorys.
of(Iterable<? extends HealthChecker>) - Static method in class com.linecorp.armeria.server.healthcheck.HealthCheckService
Returns a newly created HealthCheckService with the specified HealthCheckers.
of(Iterable<ClientOptionValue<?>>) - Static method in class com.linecorp.armeria.client.ClientOptions
Returns the ClientOptions with the specified ClientOptionValues.
of(Iterable<ResponseHeaders>, ResponseHeaders, HttpData, HttpHeaders) - Static method in interface com.linecorp.armeria.common.AggregatedHttpResponse
Creates a new HTTP response.
of(Object) - Static method in interface com.linecorp.armeria.common.RpcResponse
Creates a new successfully complete RpcResponse.
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(String) - Static method in class com.linecorp.armeria.client.endpoint.dns.DnsAddressEndpointGroup
Creates a DnsAddressEndpointGroup with an unspecified port that schedules queries on a random EventLoop from CommonPools.workerGroup().
of(String) - Static method in class com.linecorp.armeria.client.endpoint.dns.DnsServiceEndpointGroup
Creates a DnsServiceEndpointGroup that schedules queries on a random EventLoop from CommonPools.workerGroup().
of(String) - Static method in class com.linecorp.armeria.client.Endpoint
Creates a new host Endpoint with unspecified port number.
of(String) - Static method in interface com.linecorp.armeria.client.retry.Backoff
Creates a new Backoff that computes backoff delay using one of Backoff.exponential(long, long, double), Backoff.fixed(long) and Backoff.random(long, long) chaining with Backoff.withJitter(double, double) and Backoff.withMaxAttempts(int) from the specification.
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.
of(String) - Static method in class com.linecorp.armeria.common.SerializationFormat
Returns the SerializationFormat with the specified SerializationFormat.uriText().
of(String) - Static method in enum com.linecorp.armeria.common.SessionProtocol
Returns the SessionProtocol with the specified SessionProtocol.uriText().
of(String) - Static method in class com.linecorp.armeria.server.auth.OAuth2Token
Creates a new OAuth2Token from the given accessToken.
of(String, int) - Static method in class com.linecorp.armeria.client.endpoint.dns.DnsAddressEndpointGroup
Creates a DnsAddressEndpointGroup that schedules queries on a random EventLoop from CommonPools.workerGroup().
of(String, int) - Static method in class com.linecorp.armeria.client.Endpoint
Creates a new host Endpoint.
of(String, int, int) - Static method in class com.linecorp.armeria.client.Endpoint
Deprecated.
Use Endpoint.of(String, int) and Endpoint.withWeight(int), e.g. Endpoint.of("foo.com", 80).withWeight(500).
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(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, TypeSignature) - Static method in class com.linecorp.armeria.server.docs.FieldInfo
Creates a new FieldInfo with the specified name and TypeSignature.
of(String, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
Creates a new CompositeServiceEntry whose Service is bound at the specified path pattern.
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.
of(String, String) - Static method in class com.linecorp.armeria.server.auth.BasicToken
Creates a new BasicToken from the given username and password.
of(String, Function<byte[], Endpoint>) - Static method in class com.linecorp.armeria.client.endpoint.dns.DnsTextEndpointGroup
Creates a DnsTextEndpointGroup that schedules queries on a random EventLoop from CommonPools.workerGroup().
of(String, Supplier<? extends ContentPreviewer>) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory which creates a ContentPreviewer through supplier for the request/response with the contentType.
of(SocketAddress, SocketAddress) - Static method in class com.linecorp.armeria.server.ProxiedAddresses
Creates a new instance.
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(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(Charset, CharSequence) - Static method in interface com.linecorp.armeria.common.HttpData
Converts the specified text into an HttpData.
of(Charset, String) - Static method in interface com.linecorp.armeria.common.HttpData
Converts the specified text into an HttpData.
of(Charset, String, Object...) - Static method in interface com.linecorp.armeria.common.HttpData
Converts the specified formatted string into an HttpData.
of(Path) - Static method in interface com.linecorp.armeria.server.file.HttpFile
Creates a new HttpFile which streams the file at the specified Path.
of(Path) - Static method in class com.linecorp.armeria.server.file.HttpFileBuilder
Returns a new HttpFileBuilder that builds an HttpFile from the file at the specified Path.
of(Path, 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 path of a resource file.
of(Path, 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 path of a resource file.
of(BiFunction<ServiceRequestContext, T, CompletionStage<Boolean>>) - Static method in class com.linecorp.armeria.server.throttling.ThrottlingStrategy
Creates a new ThrottlingStrategy that determines whether a request should be accepted or not using a given BiFunction instance.
of(BiFunction<ServiceRequestContext, T, CompletionStage<Boolean>>, String) - Static method in class com.linecorp.armeria.server.throttling.ThrottlingStrategy
Creates a new ThrottlingStrategy that determines whether a request should be accepted or not using a given BiFunction instance.
of(Supplier<? extends ContentPreviewer>, MediaType...) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory which creates a ContentPreviewer through supplier if a request/response matches any of contentTypes.
of(Supplier<? extends ContentPreviewer>, Iterable<MediaType>) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory which creates a ContentPreviewer through supplier if a request/response matches any of contentTypes.
of(Supplier<? extends ContentPreviewer>, String...) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory which creates a ContentPreviewer through supplier if the content type of a request/response matches any of contentTypes.
of(Map<MediaType, ? extends Supplier<? extends ContentPreviewer>>) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory which creates a ContentPreviewer through the supplier that matches with "content-type" header.
of(Map<String, String>) - Static method in class com.linecorp.armeria.server.auth.OAuth1aToken
Creates a new OAuth1aToken from the given arguments.
of(Properties, 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 Properties.
of(Properties, 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 Properties.
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(T) - Static method in interface com.linecorp.armeria.common.stream.StreamMessage
Creates a new StreamMessage that will publish the single obj.
of(T) - Static method in interface com.linecorp.armeria.server.annotation.HttpResult
Creates a new HttpResult with the specified content and the HttpStatus.OK status.
of(T...) - Static method in interface com.linecorp.armeria.common.stream.StreamMessage
Creates a new StreamMessage that will publish the given objs.
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.
ofAnnotated() - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true only for the services detected by the annotated service plugin.
ofAscii(CharSequence) - Static method in interface com.linecorp.armeria.common.HttpData
Converts the specified text into a US-ASCII HttpData.
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.
ofBinary(int, BiFunction<? super HttpHeaders, ? super ByteBuf, String>) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewer
Creates a new instance of ContentPreviewer which produces the preview through reproducer when the contents have been aggregated more than length bytes.
ofBinary(int, Function<? super ByteBuf, String>) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewer
Creates a new instance of ContentPreviewer which produces the preview through reproducer when the contents have been aggregated more than length bytes.
ofCached(HttpFile, int) - Static method in interface com.linecorp.armeria.server.file.HttpFile
Creates a new HttpFile which caches the content and attributes of the specified HttpFile.
ofCatchAll(Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
ofCidr(String) - Static method in class com.linecorp.armeria.common.util.InetAddressPredicates
Returns a Predicate which returns true if the given InetAddress is in the range of a Classless Inter-domain Routing (CIDR) block.
ofCidr(InetAddress, int) - Static method in class com.linecorp.armeria.common.util.InetAddressPredicates
Returns a Predicate which returns true if the given InetAddress is in the range of a Classless Inter-domain Routing (CIDR) block.
ofCidr(InetAddress, String) - Static method in class com.linecorp.armeria.common.util.InetAddressPredicates
Returns a Predicate which returns true if the given InetAddress is in the range of a Classless Inter-domain Routing (CIDR) block.
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.
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.
ofComment(String) - Static method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Creates a new ServerSentEvent with the specified comment.
ofCompositeService(List<CompositeServiceEntry<I, O>>) - Static method in class com.linecorp.armeria.server.Routers
Returns the default implementation of the Router to find a CompositeServiceEntry.
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.
ofData(String) - Static method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Creates a new ServerSentEvent with the specified data.
ofDefault() - Static method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerMapping
Returns the default CircuitBreakerMapping.
ofDefault() - Static method in interface com.linecorp.armeria.client.retry.Backoff
Returns the default Backoff.
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 Tags 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.
ofEvent(String) - Static method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Creates a new ServerSentEvent with the specified event.
ofExact(String) - Static method in class com.linecorp.armeria.common.util.InetAddressPredicates
Returns a Predicate which returns true if the given InetAddress equals to the specified address.
ofExact(String, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
Creates a new CompositeServiceEntry whose Service is bound at the specified exact path.
ofExact(InetAddress) - Static method in class com.linecorp.armeria.common.util.InetAddressPredicates
Returns a Predicate which returns true if the given InetAddress equals to the specified address.
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
Creates a new exceptionally complete RpcResponse.
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 interface com.linecorp.armeria.common.HttpData
Deprecated.
The offset of HttpData is always 0.
ofGlob(String, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
Creates a new CompositeServiceEntry whose Service is bound at the path that matches the specified glob pattern.
ofGroup(String) - Static method in class com.linecorp.armeria.client.Endpoint
Creates a new group Endpoint.
ofGrpc() - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true only for the services detected by the gRPC plugin.
ofHeader(CharSequence) - Static method in class com.linecorp.armeria.server.ClientAddressSource
Returns a ClientAddressSource which indicates the value of the specified header in a request will be used to determine a client address.
ofId(String) - Static method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Creates a new ServerSentEvent with the specified id.
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.
ofMethodName(String) - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true when the name of the method matches the specified methodName.
ofMethodName(String, String) - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true when the name of the service and method matches the specified serviceName and methodName.
ofMethodName(String, String, String) - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true when the name of the plugin, service and method matches the specified pluginName, serviceName and methodName.
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.
ofPluginName(String) - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true when the name of the plugin matches the specified pluginName.
ofPrefix(String, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
Creates a new CompositeServiceEntry whose Service is bound under the specified directory.
ofProxyProtocol() - Static method in class com.linecorp.armeria.server.ClientAddressSource
Returns the ClientAddressSource which indicates the source address specified in a PROXY protocol message will be used to determine a client address.
ofRegex(String) - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true when the concatenated name of the plugin, service and method matches the specified regex.
ofRegex(Pattern) - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true when the concatenated name of the plugin, service and method matches the specified Pattern.
ofRegex(Pattern, Service<I, O>) - Static method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
Creates a new CompositeServiceEntry whose Service is bound at the path that matches the specified regular expression.
ofResource(ClassLoader, String) - Static method in interface com.linecorp.armeria.server.file.HttpFile
Creates a new HttpFile which streams the resource at the specified path, loaded by the specified ClassLoader.
ofResource(ClassLoader, String) - Static method in class com.linecorp.armeria.server.file.HttpFileBuilder
Returns a new HttpFileBuilder that builds an HttpFile from the classpath resource at the specified path using the specified ClassLoader.
ofResource(String) - Static method in interface com.linecorp.armeria.server.file.HttpFile
Creates a new HttpFile which streams the resource at the specified path.
ofResource(String) - Static method in class com.linecorp.armeria.server.file.HttpFileBuilder
Returns a new HttpFileBuilder that builds an HttpFile from the classpath resource at the specified path.
ofRetry(Duration) - Static method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Creates a new ServerSentEvent with the specified retry.
ofServiceName(String) - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true when the name of the service matches the specified serviceName.
ofServiceName(String, String) - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true when the name of the plugin and service matches the specified pluginName and serviceName.
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.
ofText(int) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewer
Creates a new instance of ContentPreviewer which produces the text with the maximum length limit.
ofText(int) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory for creating a ContentPreviewer.
ofText(int, Charset) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewer
Creates a new instance of ContentPreviewer which produces the text with the maximum length limit.
ofText(int, Charset) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory for creating a ContentPreviewer.
ofText(int, Charset, MediaType...) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory for creating a ContentPreviewer which produces the text with the maximum length if the content type of a request/response matches any of contentTypes.
ofText(int, Charset, Iterable<MediaType>) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory for creating a ContentPreviewer which produces the text with the maximum length if the content type of a request/response matches any of contentTypes.
ofText(int, Charset, String...) - Static method in interface com.linecorp.armeria.common.logging.ContentPreviewerFactory
Creates a new instance of ContentPreviewerFactory for creating a ContentPreviewer which produces the text with the maximum length limit if the content type of a request/response matches any of contentTypes.
ofThrift() - Static method in class com.linecorp.armeria.common.SerializationFormat
Deprecated.
Use ThriftSerializationFormats.values().
ofThrift() - Static method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a DocServiceFilter which returns true only for the services detected by the Thrift plugin.
ofUnresolved(String) - Static method in class com.linecorp.armeria.server.docs.TypeSignature
Creates a new unresolved type signature with the specified type name.
ofUtf8(CharSequence) - Static method in interface com.linecorp.armeria.common.HttpData
Converts the specified text into a UTF-8 HttpData.
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(VirtualHost, Iterable<ServiceConfig>, RejectedRouteHandler) - Static method in class com.linecorp.armeria.server.Routers
Returns the default implementation of the Router to find a ServiceConfig.
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
 
onData(HttpData) - Method in interface com.linecorp.armeria.common.logging.ContentPreviewer
Invoked after request/response data is received.
onData(HttpData) - Method in class com.linecorp.armeria.common.logging.ContentPreviewerAdapter
 
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(Runnable) - Method in interface com.linecorp.armeria.common.RequestContext
Deprecated.
onEnter(Consumer<? super RequestContext>) - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
onEnter(Consumer<? super RequestContext>) - Method in interface com.linecorp.armeria.common.RequestContext
Registers callback to be run when re-entering this RequestContext, usually when using the RequestContext.makeContextAware(java.util.concurrent.Executor) family of methods.
onEnter(Consumer<? super RequestContext>) - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
onError(Throwable) - Method in class com.linecorp.armeria.common.stream.NoopSubscriber
 
onEventCountUpdated(String, EventCount) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListener
Invoked when the circuit breaker's internal EventCount is updated.
onEventCountUpdated(String, EventCount) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListenerAdapter
 
onEventCountUpdated(String, EventCount) - Method in class com.linecorp.armeria.client.circuitbreaker.MetricCollectingCircuitBreakerListener
 
onExit(Runnable) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
onExit(Runnable) - Method in interface com.linecorp.armeria.common.RequestContext
Deprecated.
onExit(Consumer<? super RequestContext>) - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
onExit(Consumer<? super RequestContext>) - Method in interface com.linecorp.armeria.common.RequestContext
Registers callback to be run when re-exiting this RequestContext, usually when using the RequestContext.makeContextAware(java.util.concurrent.Executor) family of methods.
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(AuthFailureHandler<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Sets the AuthFailureHandler which handles the requests with failed authorization.
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.
onHeaders(HttpHeaders) - Method in interface com.linecorp.armeria.common.logging.ContentPreviewer
Invoked after request/response headers is received.
onHeaders(HttpHeaders) - Method in class com.linecorp.armeria.common.logging.ContentPreviewerAdapter
 
onlyIfCached() - Method in class com.linecorp.armeria.common.ClientCacheControl
Returns whether the "only-if-cached" directive is enabled.
onlyIfCached() - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables the "only-if-cached" directive.
onlyIfCached(boolean) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables or disables the "only-if-cached" directive.
onNext(T) - Method in class com.linecorp.armeria.common.stream.NoopSubscriber
 
onRequestLog(RequestLog) - Method in interface com.linecorp.armeria.common.logging.RequestLogListener
onRequestRejected(String) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListener
Invoked when the circuit breaker rejects a request.
onRequestRejected(String) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListenerAdapter
 
onRequestRejected(String) - 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
Returns the CircuitBreakerStrategy that determines a Response as successful when its HttpStatus is not HttpStatusClass.SERVER_ERROR and there was no Exception raised.
onServerErrorStatus() - Static method in interface com.linecorp.armeria.client.retry.RetryStrategy
Returns the RetryStrategy that retries the request with the Backoff.ofDefault() when the response status matches HttpStatusClass.SERVER_ERROR or an Exception is raised.
onServerErrorStatus(Backoff) - Static method in interface com.linecorp.armeria.client.retry.RetryStrategy
Returns the RetryStrategy that retries the request with the specified backoff when the response status matches HttpStatusClass.SERVER_ERROR or an Exception is raised.
onStateChanged(String, CircuitState) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListener
Invoked when the circuit state is changed.
onStateChanged(String, CircuitState) - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerListenerAdapter
 
onStateChanged(String, CircuitState) - Method in class com.linecorp.armeria.client.circuitbreaker.MetricCollectingCircuitBreakerListener
 
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.
onStatus(BiFunction<HttpStatus, Throwable, Boolean>) - Static method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerStrategy
Returns the CircuitBreakerStrategy that determines a Response as successful using the specified BiFunction.
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(AuthSuccessHandler<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.auth.HttpAuthServiceBuilder
Sets the AuthSuccessHandler which handles successfully authorized requests.
onSuccess(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.throttling.ThrottlingService
Invoked when req is not throttled.
onUnprocessed() - Static method in interface com.linecorp.armeria.client.retry.RetryStrategy
onUnprocessed(Backoff) - Static method in interface com.linecorp.armeria.client.retry.RetryStrategy
A RetryStrategy that retries only on UnprocessedRequestException with the specified Backoff.
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
 
OPEN - com.linecorp.armeria.client.circuitbreaker.CircuitState
The circuit is tripped.
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.
OPTIONAL - com.linecorp.armeria.server.docs.FieldRequirement
The field is optional.
options() - Method in interface com.linecorp.armeria.client.ClientBuilderParams
Returns the options of the client.
options() - Method in interface com.linecorp.armeria.client.ClientRequestContext
Returns the ClientOptions of the current Request.
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() - Method in class com.linecorp.armeria.client.UserClient
 
options(ClientOptions) - Method in class com.linecorp.armeria.client.ClientRequestContextBuilder
Sets the ClientOptions of the client.
options(String) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP OPTIONS request.
options(String) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
options(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
Options - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for mapping HttpMethod.OPTIONS onto specific method.
OPTIONS - com.linecorp.armeria.common.HttpMethod
The OPTIONS method which represents a request for information about the communication options available on the request/response chain identified by the Request-URI.
or(DocServiceFilter) - Method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Returns a composite DocServiceFilter that represents a short-circuiting logical OR of this filter and other.
order() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.LoggingDecorator
The order of decoration, where a Decorator of lower value will be applied first.
order() - Method in annotation type com.linecorp.armeria.server.annotation.Decorator
The order of decoration, where a Decorator of lower value will be applied first.
order() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.RateLimitingDecorator
The order of decoration, where a Decorator of lower value will be applied first.
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(Authorizer<T>) - Method in interface com.linecorp.armeria.server.auth.Authorizer
Returns a new Authorizer that delegates the authorization request to the specified Authorizer if this Authorizer rejects the authorization request by returning a CompletionStage completed with false.
orElse(Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.file.HttpFileService
Creates a new HttpService that tries this HttpFileService first and then the specified HttpService when this HttpFileService does not have a requested resource.
origin() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Returns the allowed origin.
ORIGIN - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Origin" header field name.
ORIGIN_TRIAL - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Origin-Trial" header field name.
origins() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
Allowed origins.
origins() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Returns the set of allowed origins.
overridePath(String) - Method in interface com.linecorp.armeria.server.RoutingContext
Returns a wrapped RoutingContext which holds the specified path.

P

P3P - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "P3P" header field name.
Param - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for mapping a parameter of a request onto the following elements.
PARAMETERIZED - com.linecorp.armeria.server.RoutePathType
The path which contains path parameters. e.g, "/:", "/foo/:/bar/:"
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.Route
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(Iterable<String>) - Static method in class com.linecorp.armeria.common.ClientCacheControl
Parses the specified "cache-control" header values into a ClientCacheControl.
parse(Iterable<String>) - Static method in class com.linecorp.armeria.common.ServerCacheControl
Parses the specified "cache-control" header values into a ServerCacheControl.
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
Parses the specified String into a Scheme.
parse(String...) - Static method in class com.linecorp.armeria.common.ClientCacheControl
Parses the specified "cache-control" header values into a ClientCacheControl.
parse(String...) - Static method in class com.linecorp.armeria.common.ServerCacheControl
Parses the specified "cache-control" header values into a ServerCacheControl.
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) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
patch(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
patch(String, byte[]) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP PATCH request with the specified content.
patch(String, HttpData) - 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
Annotation for mapping HttpMethod.PATCH onto specific method.
PATCH - com.linecorp.armeria.common.HttpMethod
The PATCH method which requests that a set of changes described in the request entity be applied to the resource identified by the Request-URI.
path() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the path of the request, excluding the query part.
path() - Method in interface com.linecorp.armeria.common.AggregatedHttpRequest
Returns the PATH of this request.
path() - Method in interface com.linecorp.armeria.common.HttpRequest
Returns 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() - Method in interface com.linecorp.armeria.server.RoutingContext
Returns the absolute path retrieved from the request, as defined in RFC3986.
path() - Method in class com.linecorp.armeria.server.RoutingResult
Returns the path mapped by the Route.
path(String) - Method in class com.linecorp.armeria.client.ClientBuilder
Sets the path of the client.
path(String) - Method in class com.linecorp.armeria.client.HttpClientBuilder
Sets the path of the client.
path(String) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
Sets the ":path" headers.
path(String) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to match the specified pathPattern. e.g.
path(String) - Method in class com.linecorp.armeria.server.RoutingResultBuilder
Sets the mapped path, encoded as defined in RFC3986.
path(String) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
path(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
Path - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for mapping dynamic web requests onto specific method.
PATH - com.linecorp.armeria.server.docs.FieldLocation
The field is located in the path.
PATH - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP ":path" pseudo header field name.
pathMapping() - Method in class com.linecorp.armeria.server.docs.EndpointInfo
Returns the path mapping of this endpoint.
pathOrUri() - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
Returns the String representation of the file path or URI, which is given to the entityTagFunction specified with the constructor.
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.RoutingResult
Returns the path parameters extracted by the Route.
pathParams() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the path parameters mapped by the ServiceRequestContext.route() associated with the Service that is handling the current Request.
pathParams() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
pathPatterns() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
The path patterns that this policy is supposed to be applied to.
paths() - Method in interface com.linecorp.armeria.server.Route
Returns the list of paths that this Route has.
pathType() - Method in interface com.linecorp.armeria.server.Route
Returns the type of the path which was specified when this is created.
pathUnder(String) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
pathUnder(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
pathWithPrefix(String, String) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to match the specified prefix and pathPattern.
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
Returns the cause of the specified throwable peeling it recursively, if it is one of the CompletionException, ExecutionException, InvocationTargetException or ExceptionInInitializerError.
pendingAcquisitionDurationNanos() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the duration which was taken to wait for the completion of an existing connection attempt in order to use one connection for HTTP/2.
pendingAcquisitionEnd() - Method in class com.linecorp.armeria.client.ClientConnectionTimingsBuilder
Sets the time when the client ended to wait for an existing connection attempt in order to use one connection for HTTP/2.
pendingAcquisitionStart() - Method in class com.linecorp.armeria.client.ClientConnectionTimingsBuilder
Sets the time when the client started to wait for the completion of an existing connection attempt in order to use one connection for HTTP/2.
pendingAcquisitionStartTimeMicros() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the time when the client started to wait for the completion of an existing connection attempt, in microseconds since the epoch.
pendingAcquisitionStartTimeMillis() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the time when the client started to wait for the completion of an existing connection attempt, in milliseconds since the epoch.
perHost(Function<String, CircuitBreaker>) - Static method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerMapping
Creates a new CircuitBreakerMapping which maps CircuitBreakers with the remote host name.
perHostAndMethod(Function<String, CircuitBreaker>) - Static method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerMapping
Creates a new CircuitBreakerMapping which maps CircuitBreakers with the remote host and method name.
perMethod(Function<String, CircuitBreaker>) - Static method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerMapping
Creates a new CircuitBreakerMapping which maps CircuitBreakers with method name.
pid() - Static method in class com.linecorp.armeria.common.util.SystemInfo
Returns the current process ID.
PING_FROM - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Ping-From" header field name.
PING_TO - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Ping-To" header field name.
PLAIN_TEXT_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 
PNG - Static variable in class com.linecorp.armeria.common.MediaType
 
policies() - Method in class com.linecorp.armeria.server.cors.CorsConfig
Returns the policies.
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.dns.DnsAddressEndpointGroupBuilder
Sets the port number of the Endpoints created by DnsAddressEndpointGroup.
port(int) - Method in class com.linecorp.armeria.client.Endpoint
Returns the port number of this endpoint.
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 SessionProtocols.
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 SessionProtocols.
port(int, String) - Method in class com.linecorp.armeria.server.ServerBuilder
port(ServerPort) - Method in class com.linecorp.armeria.server.ServerBuilder
Adds the specified ServerPort.
port(InetSocketAddress, SessionProtocol...) - Method in class com.linecorp.armeria.server.ServerBuilder
Adds a new ServerPort that listens to the specified localAddress using the specified SessionProtocols.
port(InetSocketAddress, Iterable<SessionProtocol>) - Method in class com.linecorp.armeria.server.ServerBuilder
Adds a new ServerPort that listens to the specified localAddress using the specified SessionProtocols.
port(InetSocketAddress, String) - Method in class com.linecorp.armeria.server.ServerBuilder
ports() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the ServerPorts to listen on.
post(String) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
post(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
post(String, byte[]) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP POST request with the specified content.
post(String, HttpData) - 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
Annotation for mapping HttpMethod.POST onto specific method.
POST - com.linecorp.armeria.common.HttpMethod
The POST method which is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.
POSTSCRIPT - Static variable in class com.linecorp.armeria.common.MediaType
 
PRAGMA - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Pragma" header field name.
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
The HTTP "Prefer" header field name.
prefix(String) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to match when a path is under the specified prefix.
prefix(String, boolean) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to match when a path is under the specified prefix.
PREFIX - com.linecorp.armeria.server.RoutePathType
The prefix path type. e.g, "/", "/foo/"
preflightRequestDisabled() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
Determines if no preflight response headers should be added to a CORS preflight response.
preflightRequestHeaders() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorator
The HTTP response headers that should be added to a CORS preflight response.
preflightResponseHeader(CharSequence, Iterable<?>) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Returns HTTP response headers that should be added to a CORS preflight response.
preflightResponseHeader(CharSequence, Object...) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Returns HTTP response headers that should be added to a CORS preflight response.
preflightResponseHeader(CharSequence, Supplier<?>) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
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).
produce() - Method in interface com.linecorp.armeria.common.logging.ContentPreviewer
Produces the preview of RequestLog.
produce() - Method in class com.linecorp.armeria.common.logging.ContentPreviewerAdapter
 
produces() - Method in interface com.linecorp.armeria.server.Route
Returns the Set of MediaTypes that this Route produces.
produces(MediaType...) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to produce the specified MediaTypes.
produces(MediaType...) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
produces(MediaType...) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
produces(Iterable<MediaType>) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to produce the specified MediaTypes.
produces(Iterable<MediaType>) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
produces(Iterable<MediaType>) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
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").
ProducesEventStream - Annotation Type in com.linecorp.armeria.server.annotation
An alias for @Produces("text/event-stream") and @ResponseConverter(ServerSentEventResponseConverterFunction.class).
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").
ProducesJsonSequences - Annotation Type in com.linecorp.armeria.server.annotation
An alias for @Produces("application/json-seq").
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
Deprecated.
ProduceTypes - Annotation Type in com.linecorp.armeria.server.annotation
Deprecated.
prometheus() - Static method in class com.linecorp.armeria.common.metric.MoreNamingConventions
PrometheusExpositionService - Class in com.linecorp.armeria.server.metric
Exposes Prometheus metrics in text format 0.0.4.
PrometheusExpositionService(CollectorRegistry) - Constructor for class com.linecorp.armeria.server.metric.PrometheusExpositionService
Creates a new instance.
PrometheusMeterRegistries - Class in com.linecorp.armeria.common.metric
Provides the convenient factory methods for PrometheusMeterRegistry with more sensible defaults for NamingConvention.
PropertiesEndpointGroup - Class in com.linecorp.armeria.client.endpoint
PROTOBUF - Static variable in class com.linecorp.armeria.common.MediaType
protocol() - Method in class com.linecorp.armeria.server.ServerPort
Deprecated.
protocol(SessionProtocol) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
Sets the SessionProtocol to be used when making health check requests.
protocols() - Method in class com.linecorp.armeria.server.ServerPort
Returns the SessionProtocols this ServerPort uses.
ProtocolViolationException - Exception in com.linecorp.armeria.common
A RuntimeException raised when a remote peer violated the current SessionProtocol.
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(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.
ProtocolViolationException(Throwable) - Constructor for exception com.linecorp.armeria.common.ProtocolViolationException
Creates a new instance with the specified cause.
proxiedAddresses() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
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
 
proxiedAddresses(ProxiedAddresses) - Method in class com.linecorp.armeria.server.ServiceRequestContextBuilder
Sets the ProxiedAddresses of the request.
ProxiedAddresses - Class in com.linecorp.armeria.server
An interface to provide source and destination addresses delivered from a proxy server.
PROXY - com.linecorp.armeria.common.SessionProtocol
PROXY protocol - v1 or v2.
PROXY_AUTHENTICATE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Proxy-Authenticate" header field name.
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
The HTTP "Proxy-Authorization" header field name.
proxyProtocolMaxTlvSize() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the maximum size of additional data (TLV, Tag-Length-Value).
proxyProtocolMaxTlvSize(int) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the maximum size of additional data for PROXY protocol.
proxyRevalidate() - Method in class com.linecorp.armeria.common.ServerCacheControl
Returns whether the "proxy-revalidate" directive is enabled.
proxyRevalidate() - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables the "proxy-revalidate" directive.
proxyRevalidate(boolean) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables or disables the "proxy-revalidate" directive.
PSD - Static variable in class com.linecorp.armeria.common.MediaType
The Photoshop File Format (psd files) as defined by IANA, and found in /etc/mime.types, e.g.
PUBLIC_KEY_PINS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Public-Key-Pins header field name.
PUBLIC_KEY_PINS_REPORT_ONLY - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Public-Key-Pins-Report-Only header field name.
PublisherBasedStreamMessage<T> - Class in com.linecorp.armeria.common.stream
Adapts a Publisher into a StreamMessage.
PublisherBasedStreamMessage(Publisher<? extends T>) - Constructor for class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
Creates a new instance with the specified delegate Publisher.
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.
push(RequestContext) - Static method in interface com.linecorp.armeria.common.RequestContext
Deprecated.
push(RequestContext, boolean) - Static method in interface com.linecorp.armeria.common.RequestContext
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) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
put(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
put(String, byte[]) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP PUT request with the specified content.
put(String, HttpData) - 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
Annotation for mapping HttpMethod.PUT onto specific method.
PUT - com.linecorp.armeria.common.HttpMethod
The PUT method which requests that the enclosed entity be stored under the supplied Request-URI.

Q

qualityFactor() - Method in class com.linecorp.armeria.common.MediaType
Returns the quality factor of this MediaType.
qualityFactor(float) - Method in class com.linecorp.armeria.common.MediaType
Returns the quality factor of this MediaType.
query() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the query part of the request, excluding the leading question mark ('?').
query() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the query part of the Request URI, without the leading '?', as defined in RFC3986.
query() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
query() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the query part of the current Request URI, without the leading '?', as defined in RFC3986.
query() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
query() - Method in interface com.linecorp.armeria.server.RoutingContext
Returns the query retrieved from the request, as defined in RFC3986.
query() - Method in class com.linecorp.armeria.server.RoutingResult
Returns the query mapped by the Route.
query(String) - Method in class com.linecorp.armeria.server.RoutingResultBuilder
Sets the specified query.
QUERY - com.linecorp.armeria.server.docs.FieldLocation
The field is located in the query.
QUICKTIME - Static variable in class com.linecorp.armeria.common.MediaType
 

R

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
The HTTP "Range" header field name.
RateLimitingDecorator - Annotation Type in com.linecorp.armeria.server.annotation.decorator
A ThrottlingHttpService decorator for annotated HTTP services.
RateLimitingDecoratorFactoryFunction - Class in com.linecorp.armeria.server.annotation.decorator
A factory which creates a ThrottlingHttpService decorator with a RateLimitingThrottlingStrategy.
RateLimitingDecoratorFactoryFunction() - Constructor for class com.linecorp.armeria.server.annotation.decorator.RateLimitingDecoratorFactoryFunction
 
RateLimitingDecorators - Annotation Type in com.linecorp.armeria.server.annotation.decorator
The containing annotation type for RateLimitingDecorator.
RateLimitingThrottlingStrategy<T extends Request> - Class in com.linecorp.armeria.server.throttling
A ThrottlingStrategy that provides a throttling strategy based on QPS.
RateLimitingThrottlingStrategy(double) - Constructor for class com.linecorp.armeria.server.throttling.RateLimitingThrottlingStrategy
Creates a new strategy.
RateLimitingThrottlingStrategy(double, String) - Constructor for class com.linecorp.armeria.server.throttling.RateLimitingThrottlingStrategy
Creates a new strategy with specified name.
rawParam(String, String) - Method in class com.linecorp.armeria.server.RoutingResultBuilder
Adds an encoded path parameter, which will be decoded in UTF-8 automatically.
rawRequestContent() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
rawRequestContent() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the low-level content object of the Request, which is specific to the SerializationFormat.
rawResponseContent() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
rawResponseContent() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the low-level content object of the Response, which is specific to the SerializationFormat.
RDF_XML_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
RDF/XML documents, which are XML serializations of Resource Description Framework graphs.
read() - Method in interface com.linecorp.armeria.common.util.Ticker
Returns the number of nanoseconds elapsed since this ticker's fixed point of reference.
read(Executor, ByteBufAllocator) - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
 
read(Executor, ByteBufAllocator) - Method in interface com.linecorp.armeria.server.file.HttpFile
Starts to stream this file into the returned HttpResponse.
read(T, ByteBuf) - Method in class com.linecorp.armeria.server.file.StreamingHttpFile
Reads the content of src into dst.
readAttributes() - Method in interface com.linecorp.armeria.server.file.AggregatedHttpFile
Returns the attributes of the file.
readAttributes() - Method in interface com.linecorp.armeria.server.file.HttpFile
Retrieves the attributes of this file.
readHeaders() - Method in class com.linecorp.armeria.server.file.AbstractHttpFile
 
readHeaders() - Method in interface com.linecorp.armeria.server.file.AggregatedHttpFile
Returns the attributes of this file as ResponseHeaders, which could be useful for building a response for a HEAD request.
readHeaders() - Method in interface com.linecorp.armeria.server.file.HttpFile
Reads the attributes of this file as ResponseHeaders, which could be useful for building a response for a HEAD request.
realm() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
 
reasonPhrase() - Method in class com.linecorp.armeria.common.HttpStatus
Returns the reason phrase of this HttpStatus.
REDIRECTION - com.linecorp.armeria.common.HttpStatusClass
The redirection class (3xx).
RedirectService - Class in com.linecorp.armeria.server
An HttpService that sends a redirect response such as "307 Temporary Redirect".
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, preserving the query string in the request URI.
RedirectService(HttpStatus, String, boolean) - 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, preserving the query string in the request URI.
RedirectService(HttpStatus, Function<? super ServiceRequestContext, String>, boolean) - Constructor for class com.linecorp.armeria.server.RedirectService
Creates a new instance that redirects to the location returned by locationFunction.
RedirectService(String) - Constructor for class com.linecorp.armeria.server.RedirectService
Creates a new instance that redirects to the location constructed with the specified locationPattern, preserving the query string in the request URI.
RedirectService(String, boolean) - 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, preserving the query string in the request URI.
RedirectService(Function<? super ServiceRequestContext, String>, boolean) - 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
The HTTP "Referer" header field name.
REFERRER_POLICY - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Referrer-Policy" header field name.
REFRESH - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Refresh" header field name.
RefusedStreamException - Exception in com.linecorp.armeria.client
A RuntimeException raised when a server set HTTP/2 MAX_CONCURRENT_STREAMS to 0, which means a client can't send anything.
regex(String) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to match the specified regex.
regex(Pattern) - Method in class com.linecorp.armeria.server.RouteBuilder
Sets the Route to match the specified regex.
REGEX - com.linecorp.armeria.server.RoutePathType
The regex path type. e.g, "^/(?<foo>.*)$" The Route which is created using RouteBuilder.glob(String) and RouteBuilder.regex(String) can be this type.
REGEX_WITH_PREFIX - com.linecorp.armeria.server.RoutePathType
The path which has the prefix and the regex.
regexPathPrefix() - Method in class com.linecorp.armeria.server.docs.EndpointInfo
Returns the prefix of this endpoint if the EndpointInfo.pathMapping() returns a regular expression string of endpoint and the prefix exists, otherwise null.
regexPathPrefix(String) - Method in class com.linecorp.armeria.server.docs.EndpointInfoBuilder
Sets the prefix of the pathMapping if the pathMapping is a regular expression string and the prefix exists.
register(String, EndpointGroup, EndpointSelectionStrategy) - Static method in class com.linecorp.armeria.client.endpoint.EndpointGroupRegistry
Registers the specified EndpointGroup.
registerMetrics(MeterRegistry, MeterIdPrefix) - Method in interface com.linecorp.armeria.server.Router
Registers the stats of this Router to the specified MeterRegistry.
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
Creates a new instance with the specified elements.
rejectedRouteHandler(RejectedRouteHandler) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the RejectedRouteHandler which will be invoked when an attempt to bind a Service at a certain Route is rejected.
rejectedRouteHandler(RejectedRouteHandler) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the RejectedRouteHandler which will be invoked when an attempt to bind a Service at a certain Route is rejected.
RejectedRouteHandler - Interface in com.linecorp.armeria.server
A handler that is invoked when a ServerBuilder rejects to bind a Service at a certain Route.
rejectPromise(Promise<?>, Throwable) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
rejectPromise(Promise<?>, Throwable) - Method in interface com.linecorp.armeria.common.RequestContext
Deprecated.
Use CompletableFuture instead.
ReleasableHolder<T> - Interface in com.linecorp.armeria.common.util
A holder of releasable resource ReleasableHolder.
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.AbstractRequestContextBuilder
Returns the remote socket address of the connection.
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 class com.linecorp.armeria.server.DefaultServiceRequestContext
 
remoteAddress() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the remote address of this request.
remoteAddress() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
remoteAddress(InetSocketAddress) - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Sets the remote socket address of the connection.
remove(CharSequence) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all headers with the specified name.
removeAdditionalRequestHeader(CharSequence) - Method in interface com.linecorp.armeria.client.ClientRequestContext
Removes all headers with the specified name.
removeAdditionalRequestHeader(CharSequence) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
removeAdditionalRequestHeader(CharSequence) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
removeAdditionalResponseHeader(CharSequence) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
removeAdditionalResponseHeader(CharSequence) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Removes all headers with the specified name.
removeAdditionalResponseHeader(CharSequence) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
removeAdditionalResponseTrailer(CharSequence) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
removeAdditionalResponseTrailer(CharSequence) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Removes all trailers with the specified name.
removeAdditionalResponseTrailer(CharSequence) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
removeAndThen(CharSequence) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Removes all headers with the specified name.
removeAndThen(CharSequence) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
removeAndThen(CharSequence) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
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
Removes the specified Endpoint from current Endpoint list.
removeListener(ServerListener) - Method in class com.linecorp.armeria.server.Server
Removes the specified ServerListener from this Server, so that it is not notified anymore when the state of this Server changes.
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(L) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Removes the specified listener, so that it is not notified anymore.
replace(ByteBuf) - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
report() - Static method in class com.linecorp.armeria.common.util.NativeLibraries
Deprecated.
This method will be removed without a replacement, because the information about the availability of the native libraries are now logged automatically by Flags.
REPORT_TO - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Report-To" header field name.
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
 
REQ_CONTENT_PREVIEWER_FACTORY - Static variable in class com.linecorp.armeria.client.ClientOption
 
request() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the Request of the context.
request() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
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() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
request() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the HttpRequest associated with this context.
request() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
Request - Interface in com.linecorp.armeria.common
A request.
REQUEST_CONTENT - com.linecorp.armeria.common.logging.RequestLogAvailability
RequestLog.requestContent() is available, as well as all the properties mentioned in RequestLogAvailability.REQUEST_START.
REQUEST_END - com.linecorp.armeria.common.logging.RequestLogAvailability
REQUEST_ENTITY_TOO_LARGE - Static variable in class com.linecorp.armeria.common.HttpStatus
413 Request Entity Too Large.
REQUEST_FIRST_BYTES_TRANSFERRED - com.linecorp.armeria.common.logging.RequestLogAvailability
RequestLog.requestFirstBytesTransferredTimeNanos() is available, as well as all the properties mentioned in RequestLogAvailability.REQUEST_START.
REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class com.linecorp.armeria.common.HttpStatus
431 Request Header Fields Too Large (RFC6585).
REQUEST_HEADERS - com.linecorp.armeria.common.logging.RequestLogAvailability
RequestLog.requestHeaders() is available, as well as all the properties mentioned in RequestLogAvailability.REQUEST_START.
REQUEST_START - com.linecorp.armeria.common.logging.RequestLogAvailability
Request processing started.
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() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the high-level content object of the Request, which is specific to the SerializationFormat.
requestContent(Object, Object) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestContent(Object, Object) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
requestContentPreview() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestContentPreview() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the preview of response content of the Request.
requestContentPreview(String) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestContentPreview(String) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
requestContentPreviewerFactory() - Method in class com.linecorp.armeria.client.ClientOptions
 
requestContentPreviewerFactory() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns the ContentPreviewerFactory used for creating a new ContentPreviewer which produces the request content preview of this Service.
requestContentPreviewerFactory() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the ContentPreviewerFactory used for creating a new ContentPreviewer which produces the request content preview of this virtual host.
requestContentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the ContentPreviewerFactory for a request of this Server.
requestContentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
requestContentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the ContentPreviewerFactory for a request of this VirtualHost.
requestContentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
requestContentSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the Function to use to sanitize request content before logging.
requestContentSanitizer(Function<Object, ?>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the Function to use to sanitize request content before logging.
RequestContext - Interface in com.linecorp.armeria.common
Provides information about a Request, its Response and related utilities.
RequestContextWrapper<T extends RequestContext> - Class in com.linecorp.armeria.common
Wraps an existing RequestContext.
RequestContextWrapper(T) - Constructor for class com.linecorp.armeria.common.RequestContextWrapper
Creates a new instance.
RequestConverter - Annotation Type in com.linecorp.armeria.server.annotation
Specifies a RequestConverterFunction class which converts an AggregatedHttpRequest to an object.
RequestConverterFunction - Interface in com.linecorp.armeria.server.annotation
Converts an AggregatedHttpRequest to an object.
RequestConverters - Annotation Type in com.linecorp.armeria.server.annotation
The containing annotation type for RequestConverter.
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.
requestFirstBytesTransferred() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestFirstBytesTransferred() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
requestFirstBytesTransferred(long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestFirstBytesTransferred(long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Sets RequestLog.requestFirstBytesTransferredTimeNanos() with the specified timestamp.
requestFirstBytesTransferredTimeNanos() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestFirstBytesTransferredTimeNanos() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the time when the first bytes of the request headers were transferred over the wire.
requestHeaders() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestHeaders() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the RequestHeaders.
requestHeaders(RequestHeaders) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestHeaders(RequestHeaders) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
RequestHeaders - Interface in com.linecorp.armeria.common
Immutable HTTP/2 headers for an HttpRequest.
RequestHeadersBuilder - Interface in com.linecorp.armeria.common
Builds a RequestHeaders.
RequestHeadersJsonDeserializer - Class in com.linecorp.armeria.common
RequestHeadersJsonDeserializer() - Constructor for class com.linecorp.armeria.common.RequestHeadersJsonDeserializer
Creates a new instance.
requestHeadersSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the Function to use to sanitize request headers before logging.
requestHeadersSanitizer(Function<? super HttpHeaders, ?>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the Function to use to sanitize request headers before logging.
requestLength() - 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 class com.linecorp.armeria.common.logging.DefaultRequestLog
 
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
A RuntimeException raised when accessing a RequestLog property that's not available yet.
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(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.
RequestLogAvailabilityException(Throwable) - Constructor for exception com.linecorp.armeria.common.logging.RequestLogAvailabilityException
Creates a new instance with the specified cause.
RequestLogBuilder - Interface in com.linecorp.armeria.common.logging
Updates a RequestLog with newly available information.
requestLogLevel() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the LogLevel to use when logging requests.
requestLogLevel() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.LoggingDecorator
The LogLevel to use when logging requests.
requestLogLevel(LogLevel) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the LogLevel to use when logging requests.
RequestLogListener - Interface in com.linecorp.armeria.common.logging
RequestLogListenerInvoker - Class in com.linecorp.armeria.common.logging
Utility methods that invokes the callback methods of RequestLogListener safely.
RequestObject - Annotation Type in com.linecorp.armeria.server.annotation
Specifies which element should be converted by RequestConverterFunction.
requestSize() - Method in class com.linecorp.armeria.server.logging.structured.StructuredLog
Deprecated.
Returns the size of request payload.
requestStartTime(long, long) - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Sets the request start time of the request.
requestStartTimeMicros() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the number of microseconds since the epoch when the request started.
requestStartTimeMicros() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestStartTimeMicros() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the time when the processing of the request started, in microseconds since the epoch.
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 milliseconds since the epoch.
requestStartTimeNanos() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the System.nanoTime() value when the request started.
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.
requestTimeout(Duration) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the timeout of a request.
requestTimeout(Duration) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
requestTimeout(Duration) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the timeout of a request.
requestTimeout(Duration) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
RequestTimeoutChangeListener - Interface in com.linecorp.armeria.server
A listener that is notified when request timeout setting is changed.
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 class com.linecorp.armeria.server.ServerConfig
Returns the timeout of a request.
requestTimeoutMillis() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns the timeout of a request.
requestTimeoutMillis() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the amount of time allowed until receiving the current Request and sending the corresponding Response completely.
requestTimeoutMillis() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
requestTimeoutMillis() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the timeout of a request.
requestTimeoutMillis(long) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the timeout of a request in milliseconds.
requestTimeoutMillis(long) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
requestTimeoutMillis(long) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the timeout of a request in milliseconds.
requestTimeoutMillis(long) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
requestTrailers() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestTrailers() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the HTTP trailers of the Request.
requestTrailers(HttpHeaders) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
requestTrailers(HttpHeaders) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
requestTrailersSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the Function to use to sanitize request trailers before logging.
requestTrailersSanitizer(Function<? super HttpHeaders, ?>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the Function to use to sanitize request trailers before logging.
REQUIRED - com.linecorp.armeria.server.docs.FieldRequirement
The field is required.
requirement() - Method in class com.linecorp.armeria.server.docs.FieldInfo
Returns the requirement level of the field.
requirement(FieldRequirement) - Method in class com.linecorp.armeria.server.docs.FieldInfoBuilder
Sets the FieldRequirement of the field.
RES_CONTENT_PREVIEWER_FACTORY - Static variable in class com.linecorp.armeria.client.ClientOption
 
RESET_CONTENT - Static variable in class com.linecorp.armeria.common.HttpStatus
205 Reset Content.
resolve(ClientRequestContext) - Method in class com.linecorp.armeria.client.Endpoint
Resolves this endpoint into a host endpoint associated with the specified ClientRequestContext.
resolvePromise(Promise<?>, Object) - Method in class com.linecorp.armeria.common.AbstractRequestContext
 
resolvePromise(Promise<?>, Object) - Method in interface com.linecorp.armeria.common.RequestContext
Deprecated.
Use CompletableFuture instead.
respond(int) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
Deprecated.
respond(HttpStatus) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
Deprecated.
respond(HttpStatus, MediaType, byte[]) - 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(HttpStatus, MediaType, String) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
respond(HttpStatus, MediaType, String, Object...) - Method in interface com.linecorp.armeria.common.HttpResponseWriter
response() - Method in interface com.linecorp.armeria.client.limit.ConcurrencyLimitingClient.Deferred
Returns the Response which will delegate to the Response set by ConcurrencyLimitingClient.Deferred.delegate(Response).
Response - Interface in com.linecorp.armeria.common
A response stream or a holder of the future result value.
RESPONSE_CONTENT - com.linecorp.armeria.common.logging.RequestLogAvailability
RequestLog.responseContent() is available, as well as all the properties mentioned in RequestLogAvailability.RESPONSE_START.
RESPONSE_END - com.linecorp.armeria.common.logging.RequestLogAvailability
RESPONSE_FIRST_BYTES_TRANSFERRED - com.linecorp.armeria.common.logging.RequestLogAvailability
RequestLog.responseFirstBytesTransferredTimeNanos() is available, as well as all the properties mentioned in RequestLogAvailability.RESPONSE_START.
RESPONSE_HEADERS - com.linecorp.armeria.common.logging.RequestLogAvailability
RequestLog.responseHeaders() is available, as well as all the properties mentioned in RequestLogAvailability.RESPONSE_START.
RESPONSE_START - com.linecorp.armeria.common.logging.RequestLogAvailability
RESPONSE_TIMEOUT_MILLIS - Static variable in class com.linecorp.armeria.client.ClientOption
The timeout of a server reply to a client call.
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.
responseCauseSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the Function to use to sanitize response cause before logging.
responseCauseSanitizer(Function<? super Throwable, ?>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the Function to use to sanitize a response cause before logging.
responseContent() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseContent() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the high-level content object of the Response, which is specific to the SerializationFormat.
responseContent(Object, Object) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseContent(Object, Object) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
responseContentPreview() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseContentPreview() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the preview of response content of the Response.
responseContentPreview(String) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseContentPreview(String) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
responseContentPreviewerFactory() - Method in class com.linecorp.armeria.client.ClientOptions
 
responseContentPreviewerFactory() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns the ContentPreviewerFactory used for creating a new ContentPreviewer which produces the response content preview of this Service.
responseContentPreviewerFactory() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the ContentPreviewerFactory used for creating a new ContentPreviewer which produces the response content preview of this virtual host.
responseContentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the ContentPreviewerFactory for a response of this Server.
responseContentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
responseContentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets the ContentPreviewerFactory for a response of this VirtualHost.
responseContentPreviewerFactory(ContentPreviewerFactory) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
responseContentSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the Function to use to sanitize response content before logging.
responseContentSanitizer(Function<Object, ?>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the Function to use to sanitize response content before logging.
ResponseConverter - Annotation Type in com.linecorp.armeria.server.annotation
Specifies a ResponseConverterFunction class which converts the result to HttpResponse.
ResponseConverterFunction - Interface in com.linecorp.armeria.server.annotation
Converts a result object to HttpResponse.
ResponseConverterFunctionProvider - Interface in com.linecorp.armeria.server.annotation
A ResponseConverterFunction provider interface which creates a new ResponseConverterFunction for converting an object of the given type and functions.
ResponseConverters - Annotation Type in com.linecorp.armeria.server.annotation
The containing annotation type for ResponseConverter.
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.
responseFirstBytesTransferred() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseFirstBytesTransferred() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
responseFirstBytesTransferred(long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseFirstBytesTransferred(long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Sets RequestLog.responseFirstBytesTransferredTimeNanos() with the specified timestamp.
responseFirstBytesTransferredTimeNanos() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseFirstBytesTransferredTimeNanos() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the time when the first bytes of the response headers were transferred over the wire.
responseHeaders() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseHeaders() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the non-informational status ResponseHeaders.
responseHeaders(ResponseHeaders) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseHeaders(ResponseHeaders) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
ResponseHeaders - Interface in com.linecorp.armeria.common
Immutable HTTP/2 headers for an HttpResponse.
ResponseHeadersBuilder - Interface in com.linecorp.armeria.common
Builds a ResponseHeaders.
ResponseHeadersJsonDeserializer - Class in com.linecorp.armeria.common
ResponseHeadersJsonDeserializer() - Constructor for class com.linecorp.armeria.common.ResponseHeadersJsonDeserializer
Creates a new instance.
responseHeadersSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the Function to use to sanitize response headers before logging.
responseHeadersSanitizer(Function<? super HttpHeaders, ?>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the Function to use to sanitize response headers before logging.
responseLength() - 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 class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseLength(long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
responseSize() - Method in class com.linecorp.armeria.server.logging.structured.StructuredLog
Deprecated.
Returns the size of response payload.
responseStartTimeMicros() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseStartTimeMicros() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the time when the processing of the response started, in microseconds since the epoch.
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 milliseconds 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
Deprecated.
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 class com.linecorp.armeria.client.ClientOptions
Returns the timeout of a server reply to a client call.
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.
responseTrailers() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseTrailers() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the HTTP trailers of the Response.
responseTrailers(HttpHeaders) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
responseTrailers(HttpHeaders) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
responseTrailersSanitizer() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the Function to use to sanitize response trailers before logging.
responseTrailersSanitizer(Function<? super HttpHeaders, ?>) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets the Function to use to sanitize response trailers before logging.
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() - Method in interface com.linecorp.armeria.common.sse.ServerSentEvent
Returns a reconnection time in milliseconds, if it exists.
retry(Duration) - Method in class com.linecorp.armeria.common.sse.ServerSentEventBuilder
Sets the specified retry.
RETRY_AFTER - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Retry-After" header field name.
retryBackoff(Backoff) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
Sets the backoff between health check requests.
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, int, long) - Constructor for class com.linecorp.armeria.client.retry.RetryingClient
Creates a new instance that decorates the specified Client.
RetryingClient(Client<I, O>, RetryStrategyWithContent<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
Builds a new RetryingClient or its decorator function.
RetryingClientBuilder(RetryStrategy) - Constructor for class com.linecorp.armeria.client.retry.RetryingClientBuilder
Creates a new builder with the specified RetryStrategy.
RetryingClientBuilder(RetryStrategyWithContent<O>) - Constructor for class com.linecorp.armeria.client.retry.RetryingClientBuilder
Creates a new builder with the specified RetryStrategyWithContent.
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
Builds a new RetryingHttpClient or its decorator function.
RetryingHttpClientBuilder(RetryStrategy) - Constructor for class com.linecorp.armeria.client.retry.RetryingHttpClientBuilder
Creates a new builder with the specified RetryStrategy.
RetryingHttpClientBuilder(RetryStrategyWithContent<HttpResponse>) - Constructor for class com.linecorp.armeria.client.retry.RetryingHttpClientBuilder
Creates a new builder with the specified RetryStrategyWithContent.
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
Builds a new RetryingRpcClient or its decorator function.
RetryingRpcClientBuilder(RetryStrategyWithContent<RpcResponse>) - Constructor for class com.linecorp.armeria.client.retry.RetryingRpcClientBuilder
Creates a new builder with the specified RetryStrategyWithContent.
retryInterval(Duration) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
retryStrategy() - Method in class com.linecorp.armeria.client.retry.RetryingClient
Returns the RetryStrategy.
RetryStrategy - Interface in com.linecorp.armeria.client.retry
Determines whether a failed request should be retried.
retryStrategyWithContent() - Method in class com.linecorp.armeria.client.retry.RetryingClient
RetryStrategyWithContent<T extends Response> - Interface in com.linecorp.armeria.client.retry
Determines whether a failed request should be retried using the content of a Response.
returnTypeSignature() - Method in class com.linecorp.armeria.server.docs.MethodInfo
Returns the signature of the return type of the function.
REVALIDATED - Static variable in class com.linecorp.armeria.common.ServerCacheControl
"no-cache, must-revalidate".
rollbackFailed(Throwable) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Invoked when failed to stop during the rollback after startup failure.
ROUND_ROBIN - Static variable in interface com.linecorp.armeria.client.endpoint.EndpointSelectionStrategy
Simple round-robin strategy.
route() - Method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
route() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
route() - Method in class com.linecorp.armeria.server.Routed
Returns the Route which matched the RoutingContext.
route() - Method in class com.linecorp.armeria.server.ServerBuilder
Returns a ServiceBindingBuilder which is for binding a Service fluently.
route() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns the Route of the ServiceConfig.service().
route() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the Route associated with the Service that is handling the current Request.
route() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
route() - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Returns a ServiceBindingBuilder which is for binding a Service fluently.
route(String) - Method in class com.linecorp.armeria.server.cors.CorsServiceBuilder
Adds a path pattern that this policy is supposed to be applied to.
Route - Interface in com.linecorp.armeria.server
Route maps from an incoming HTTP request to a Service based on its path, method, content type and accepted types.
RouteBuilder - Class in com.linecorp.armeria.server
Builds a new Route.
RouteBuilder() - Constructor for class com.linecorp.armeria.server.RouteBuilder
 
routeCacheSpec() - Static method in class com.linecorp.armeria.common.Flags
Returns the value of the routeCache parameter.
Routed<T> - Class in com.linecorp.armeria.server
A value mapped by Router.
RoutePathType - Enum in com.linecorp.armeria.server
The type of the path which was specified when a Route is created.
Router<V> - Interface in com.linecorp.armeria.server
Finds a mapping that matches a given RoutingContext.
Routers - Class in com.linecorp.armeria.server
A factory that creates a Router instance.
routes() - Method in class com.linecorp.armeria.server.cors.CorsPolicy
Returns the list of Routes that this policy is supposed to be applied to.
routes() - Method in interface com.linecorp.armeria.server.ServiceWithRoutes
Returns the set of Routes to which this Service is bound.
routingContext() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
routingContext() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the RoutingContext used to find the Service.
routingContext() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
RoutingContext - Interface in com.linecorp.armeria.server
Holds the parameters which are required to find a service available to handle the request.
routingResult() - Method in class com.linecorp.armeria.server.Routed
Returns the RoutingResult.
routingResult(RoutingResult) - Method in class com.linecorp.armeria.server.ServiceRequestContextBuilder
Sets the RoutingResult of the request.
RoutingResult - Class in com.linecorp.armeria.server
The result returned by Route.apply(RoutingContext).
RoutingResultBuilder - Class in com.linecorp.armeria.server
Builds a new RoutingResult.
RoutingResultBuilder() - Constructor for class com.linecorp.armeria.server.RoutingResultBuilder
 
RpcRequest - Interface in com.linecorp.armeria.common
An RPC Request.
RpcResponse - Interface in com.linecorp.armeria.common
An RPC Response.
RpcService - Interface in com.linecorp.armeria.server
An RPC Service.
RTF_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 

S

SafeCloseable - Interface in com.linecorp.armeria.common.util
An AutoCloseable whose SafeCloseable.close() method does not throw an exception.
samplingRate() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the rate at which to sample requests to log.
samplingRate() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.LoggingDecorator
The rate at which to sample requests to log.
samplingRate(float) - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Sets 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.AggregatedHttpRequest
Returns the SCHEME of this request.
scheme() - Method in interface com.linecorp.armeria.common.HttpRequest
Returns 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
Returns the Scheme of the Request.
scheme(String) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
Sets the ":scheme" headers.
Scheme - Class in com.linecorp.armeria.common
SCHEME - com.linecorp.armeria.common.logging.RequestLogAvailability
RequestLog.scheme() and RequestLog.serializationFormat() are available, as well as all the properties mentioned in RequestLogAvailability.REQUEST_START.
SCHEME - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP ":scheme" pseudo header field name.
score() - Method in class com.linecorp.armeria.server.RoutingResult
Returns the score of this result.
score(int) - Method in class com.linecorp.armeria.server.RoutingResultBuilder
Sets the score.
SEC_PROVIDED_TOKEN_BINDING_ID - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Sec-Provided-Token-Binding-ID header field name.
SEC_REFERRED_TOKEN_BINDING_ID - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Sec-Referred-Token-Binding-ID header field name.
SEC_TOKEN_BINDING - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Sec-Token-Binding header field name.
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
Selects an Endpoint from the EndpointGroup associated with the specified ClientRequestContext.
selectNode(ClientRequestContext, String) - Static method in class com.linecorp.armeria.client.endpoint.EndpointGroupRegistry
Selects an Endpoint from the EndpointGroup associated with the specified ClientRequestContext and case-insensitive groupName.
self() - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
Returns this cast to the type T.
self() - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Returns this.
serializationFormat() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
serializationFormat() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the SerializationFormat of the Request.
serializationFormat() - Method in class com.linecorp.armeria.common.Scheme
Returns the SerializationFormat.
serializationFormat(SerializationFormat) - Method in class com.linecorp.armeria.client.ClientBuilder
Sets the SerializationFormat of the client.
serializationFormat(SerializationFormat) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
serializationFormat(SerializationFormat) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
SerializationFormat - Class in com.linecorp.armeria.common
Serialization format of a remote procedure call and its reply.
SerializationFormatProvider - Class in com.linecorp.armeria.common
Registers the SerializationFormats dynamically via Java SPI (Service Provider Interface).
SerializationFormatProvider() - Constructor for class com.linecorp.armeria.common.SerializationFormatProvider
 
SerializationFormatProvider.Entry - Class in com.linecorp.armeria.common
A registration entry of a SerializationFormat.
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(Service<I, O>, ServiceRequestContext, I) - Method in interface com.linecorp.armeria.server.DecoratingServiceFunction
Serves an incoming Request.
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, HttpRequest) - Method in class com.linecorp.armeria.server.cors.CorsService
 
serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.encoding.HttpEncodingService
 
serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckService
 
serve(ServiceRequestContext, HttpRequest) - Method in interface com.linecorp.armeria.server.HttpService
 
serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.RedirectService
NB: For now we redirect all methods.
serve(ServiceRequestContext, RpcRequest) - Method in interface com.linecorp.armeria.server.RpcService
 
serve(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeService
 
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
Deprecated.
 
serve(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.metric.MetricCollectingService
 
serve(ServiceRequestContext, I) - Method in interface com.linecorp.armeria.server.Service
Serves an incoming Request.
serve(ServiceRequestContext, I) - Method in class com.linecorp.armeria.server.throttling.ThrottlingService
 
serveCompressedFiles() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
Returns whether pre-compressed files should be served.
serveCompressedFiles(boolean) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Sets whether pre-compressed files should be served.
server() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
server() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the Server.
server() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns the Server the ServiceConfig.service() belongs to.
server() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the Server that is handling the current Request.
server() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
server() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the Server where this VirtualHost belongs to.
Server - Class in com.linecorp.armeria.server
Listens to ServerPorts and delegates client requests to Services.
SERVER - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Server" header field name.
SERVER_ERROR - com.linecorp.armeria.common.HttpStatusClass
The server error class (5xx).
SERVER_TIMING - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Server-Timing" header field name.
ServerBuilder - Class in com.linecorp.armeria.server
Builds a new Server and its ServerConfig.
ServerBuilder() - Constructor for class com.linecorp.armeria.server.ServerBuilder
 
ServerCacheControl - Class in com.linecorp.armeria.common
Directives for HTTP caching mechanisms in responses.
ServerCacheControlBuilder - Class in com.linecorp.armeria.common
Creates a new ServerCacheControl using the builder pattern.
ServerCacheControlBuilder() - Constructor for class com.linecorp.armeria.common.ServerCacheControlBuilder
Creates a new builder with all directives disabled initially.
serverChannelClass(EventLoopGroup) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
serverChannelType(EventLoopGroup) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
Returns the ServerChannel class that is available for this eventLoopGroup, for use in configuring a custom Bootstrap.
ServerConfig - Class in com.linecorp.armeria.server
Server configuration.
serverConfigurator(Consumer<? super ServerBuilder>) - Method in class com.linecorp.armeria.server.ServiceRequestContextBuilder
Adds the Consumer that configures the given ServerBuilder.
serverListener(ServerListener) - Method in class com.linecorp.armeria.server.ServerBuilder
Adds the specified ServerListener.
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 in order for a user to implement only the methods what he or she really needs.
ServerListenerAdapter() - Constructor for class com.linecorp.armeria.server.ServerListenerAdapter
 
ServerListenerBuilder - Class in com.linecorp.armeria.server
Builds a new ServerListener.
ServerListenerBuilder() - Constructor for class com.linecorp.armeria.server.ServerListenerBuilder
 
ServerPort - Class in com.linecorp.armeria.server
A pair of server-side bind address and SessionProtocol.
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 SessionProtocols.
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 SessionProtocols.
ServerPort(InetSocketAddress, SessionProtocol...) - Constructor for class com.linecorp.armeria.server.ServerPort
Creates a new ServerPort that listens to the specified localAddress using the specified SessionProtocols.
ServerPort(InetSocketAddress, Iterable<SessionProtocol>) - Constructor for class com.linecorp.armeria.server.ServerPort
Creates a new ServerPort that listens to the specified localAddress using the specified SessionProtocols.
ServerSentEvent - Interface in com.linecorp.armeria.common.sse
An interface for the Server-Sent Events specification.
ServerSentEventBuilder - Class in com.linecorp.armeria.common.sse
A builder which creates a ServerSentEvent instance.
ServerSentEventBuilder() - Constructor for class com.linecorp.armeria.common.sse.ServerSentEventBuilder
 
ServerSentEventResponseConverterFunction - Class in com.linecorp.armeria.server.annotation
A response converter implementation which creates an HttpResponse with content-type: text/event-stream.
ServerSentEventResponseConverterFunction() - Constructor for class com.linecorp.armeria.server.annotation.ServerSentEventResponseConverterFunction
 
ServerSentEvents - Class in com.linecorp.armeria.server.streaming
A utility class which helps to create a Server-Sent Events stream from a content Publisher or Stream.
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() - Method in class com.linecorp.armeria.server.composition.CompositeServiceEntry
Returns the Service.
service() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
service() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns the Service.
service() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the Service that is handling the current Request.
service() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
service(CompositeServiceEntry<I, O>) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
Binds the specified CompositeServiceEntry.
service(Route, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified Service at the specified Route of the default VirtualHost.
service(Route, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified Service at the specified Route.
service(Route, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
Binds the specified Service at the specified Route.
service(Route, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
 
service(Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServiceRequestContextBuilder
Sets the Service that handles the request.
service(ServiceWithRoutes<HttpRequest, HttpResponse>, Iterable<Function<? super Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>>) - Method in class com.linecorp.armeria.server.ServerBuilder
Decorates and binds the specified ServiceWithRoutes at multiple Routes of the default VirtualHost.
service(ServiceWithRoutes<HttpRequest, HttpResponse>, Iterable<Function<? super Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Decorates and binds the specified ServiceWithRoutes at multiple Routes of the default VirtualHost.
service(ServiceWithRoutes<HttpRequest, HttpResponse>, Function<? super Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>...) - Method in class com.linecorp.armeria.server.ServerBuilder
Decorates and binds the specified ServiceWithRoutes at multiple Routes of the default VirtualHost.
service(ServiceWithRoutes<HttpRequest, HttpResponse>, Function<? super Service<HttpRequest, HttpResponse>, ? extends Service<HttpRequest, HttpResponse>>...) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Decorates and binds the specified ServiceWithRoutes at multiple Routes of the default VirtualHost.
service(String, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified Service at the specified path pattern of the default VirtualHost.
service(String, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified Service at the specified path pattern. e.g.
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(String, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
 
Service<I extends Request,​O extends Response> - Interface in com.linecorp.armeria.server
Handles a Request received by a Server.
SERVICE_UNAVAILABLE - Static variable in class com.linecorp.armeria.common.HttpStatus
503 Service Unavailable.
SERVICE_WORKER - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Service-Worker header field name.
SERVICE_WORKER_ALLOWED - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Service-Worker-Allowed header field name.
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.HealthCheckService
 
serviceAdded(ServiceConfig) - Method in class com.linecorp.armeria.server.healthcheck.HttpHealthCheckService
Deprecated.
 
serviceAdded(ServiceConfig) - Method in class com.linecorp.armeria.server.logging.structured.StructuredLoggingService
Deprecated.
 
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
Returns the index-th Service in this composite Service.
serviceAt(int) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeService
 
serviceAt(String, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServerBuilder
Deprecated.
serviceAt(String, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
serviceAt(String, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.AbstractCompositeServiceBuilder
serviceAt(String, Service<I, O>) - Method in class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
 
ServiceBindingBuilder - Class in com.linecorp.armeria.server
A builder class for binding a Service fluently.
ServiceCallbackInvoker - Class in com.linecorp.armeria.server
A helper class that invokes the callback methods in Service.
ServiceConfig - Class in com.linecorp.armeria.server
A Service configuration.
serviceConfigs() - Method in class com.linecorp.armeria.server.Server
Returns the information of all available Services in the Server.
serviceConfigs() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the information of all available Services in the Server.
serviceConfigs() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the information about the Services bound to this virtual host.
ServiceInfo - Class in com.linecorp.armeria.server.docs
Metadata about a Service.
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.
ServiceInfo(String, Iterable<MethodInfo>, String) - Constructor for class com.linecorp.armeria.server.docs.ServiceInfo
Creates a new instance.
serviceLoggerPrefix() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the prefix of service logger's names.
serviceLoggerPrefix(String) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the prefix of service logger names.
ServiceRequestContext - Interface in com.linecorp.armeria.server
Provides information about an invocation and related utilities.
ServiceRequestContextBuilder - Class in com.linecorp.armeria.server
Builds a new ServiceRequestContext.
ServiceRequestContextWrapper - Class in com.linecorp.armeria.server
Wraps an existing ServiceRequestContext.
ServiceRequestContextWrapper(ServiceRequestContext) - Constructor for class com.linecorp.armeria.server.ServiceRequestContextWrapper
Creates a new instance.
services() - Method in class com.linecorp.armeria.server.composition.AbstractCompositeService
Returns the list of CompositeServiceEntrys added to this composite Service.
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
The specification of one or more Services that provides their ServiceInfos and NamedTypeInfos.
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<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.ServerBuilder
Binds the specified Service under the specified directory of the default VirtualHost.
serviceUnder(String, Service<HttpRequest, HttpResponse>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Binds the specified Service under the specified directory.
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
 
ServiceWithRoutes<I extends Request,​O extends Response> - Interface in com.linecorp.armeria.server
An interface that enables getting all the Routes where a Service should be bound.
sessionProtocol() - Method in class com.linecorp.armeria.client.UserClient
sessionProtocol() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the SessionProtocol of the request.
sessionProtocol() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
sessionProtocol() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the SessionProtocol of the Request.
sessionProtocol() - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
sessionProtocol() - Method in interface com.linecorp.armeria.common.RequestContext
Returns the SessionProtocol of the current Request.
sessionProtocol() - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
sessionProtocol() - Method in class com.linecorp.armeria.common.Scheme
Returns the SessionProtocol.
sessionProtocol(SessionProtocol) - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Sets the SessionProtocol of the request.
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
Keeps the recent SessionProtocol negotiation failures.
SessionProtocolNegotiationException - Exception in com.linecorp.armeria.client
An exception triggered when failed to negotiate the desired SessionProtocol with a server.
SessionProtocolNegotiationException(SessionProtocol, SessionProtocol, String) - Constructor for exception com.linecorp.armeria.client.SessionProtocolNegotiationException
Creates a new instance with the specified expected and actual SessionProtocols.
SessionProtocolNegotiationException(SessionProtocol, String) - Constructor for exception com.linecorp.armeria.client.SessionProtocolNegotiationException
Creates a new instance with the specified expected SessionProtocol.
set(CharSequence, Iterable<String>) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a new header with the specified name and values.
set(CharSequence, Iterable<String>) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
set(CharSequence, Iterable<String>) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
set(CharSequence, String) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a header with the specified name and value.
set(CharSequence, String) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
set(CharSequence, String) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
set(CharSequence, String...) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a header with the specified name and values.
set(CharSequence, String...) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
set(CharSequence, String...) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
set(Iterable<? extends Map.Entry<? extends CharSequence, String>>) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Retains all current headers but calls HttpHeadersBuilder.set(CharSequence, String) for each entry in the specified headers.
set(Iterable<? extends Map.Entry<? extends CharSequence, String>>) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
set(Iterable<? extends Map.Entry<? extends CharSequence, String>>) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
SET_COOKIE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Set-Cookie" header field name.
SET_COOKIE2 - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Set-Cookie2" header field name.
setAdditionalRequestHeader(CharSequence, Object) - Method in interface com.linecorp.armeria.client.ClientRequestContext
Sets a header with the specified name and value.
setAdditionalRequestHeader(CharSequence, Object) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
setAdditionalRequestHeader(CharSequence, Object) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
setAdditionalRequestHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.client.ClientRequestContext
Clears the current header and sets the specified HttpHeaders which is included when a Client sends an HttpRequest.
setAdditionalRequestHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
setAdditionalRequestHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
setAdditionalResponseHeader(CharSequence, Object) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
setAdditionalResponseHeader(CharSequence, Object) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Sets a header with the specified name and value.
setAdditionalResponseHeader(CharSequence, Object) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
setAdditionalResponseHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
setAdditionalResponseHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Clears the current header and sets the specified HttpHeaders which is included when a Service sends an HttpResponse.
setAdditionalResponseHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
setAdditionalResponseTrailer(CharSequence, Object) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
setAdditionalResponseTrailer(CharSequence, Object) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Sets a trailer with the specified name and value.
setAdditionalResponseTrailer(CharSequence, Object) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
setAdditionalResponseTrailers(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
setAdditionalResponseTrailers(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Clears the current trailer and sets the specified HttpHeaders which is included when a Service completes an HttpResponse.
setAdditionalResponseTrailers(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
setDistributionStatisticConfig(DistributionStatisticConfig) - Static method in class com.linecorp.armeria.common.metric.MoreMeters
Sets the DistributionStatisticConfig to use when the factory methods in MoreMeters create a Timer or a DistributionSummary.
setDouble(CharSequence, double) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a header with the specified name to value.
setDouble(CharSequence, double) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setDouble(CharSequence, double) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
setEndpoints(Iterable<Endpoint>) - Method in class com.linecorp.armeria.client.endpoint.DynamicEndpointGroup
Sets the specified Endpoints as current Endpoint list.
setFloat(CharSequence, float) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a header with the specified name to value.
setFloat(CharSequence, float) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setFloat(CharSequence, float) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
setHeader(CharSequence, Object) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets the specified HTTP header.
setHeader(CharSequence, Object) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Sets the specified HTTP header.
setHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.file.AbstractHttpFileBuilder
Sets the specified HTTP headers.
setHeaders(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in class com.linecorp.armeria.server.file.HttpFileServiceBuilder
Sets the specified HTTP headers.
setHealthy(boolean) - Method in class com.linecorp.armeria.server.healthcheck.SettableHealthChecker
Sets if the Server is healthy or not.
setIfAbsent(Iterable<? extends Map.Entry<? extends CharSequence, String>>) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Copies the entries missing in this headers from the specified headers.
setIfAbsent(Iterable<? extends Map.Entry<? extends CharSequence, String>>) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setIfAbsent(Iterable<? extends Map.Entry<? extends CharSequence, String>>) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
setInt(CharSequence, int) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a header with the specified name to value.
setInt(CharSequence, int) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setInt(CharSequence, int) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
setLong(CharSequence, long) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a header with the specified name to value.
setLong(CharSequence, long) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setLong(CharSequence, long) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
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
Sets the MeterRegistry that collects various stats.
setMeterRegistry(MeterRegistry) - Method in class com.linecorp.armeria.client.DecoratingClientFactory
 
setObject(CharSequence, Iterable<?>) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a header with the specified name and values.
setObject(CharSequence, Iterable<?>) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setObject(CharSequence, Iterable<?>) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
setObject(CharSequence, Object) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a new header.
setObject(CharSequence, Object) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setObject(CharSequence, Object) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
setObject(CharSequence, Object...) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a header with the specified name and values.
setObject(CharSequence, Object...) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setObject(CharSequence, Object...) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
setObject(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Retains all current headers but calls HttpHeadersBuilder.setObject(CharSequence, Object) for each entry in the specified headers.
setObject(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setObject(Iterable<? extends Map.Entry<? extends CharSequence, ?>>) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
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 and sending the corresponding Response completely.
setRequestTimeout(Duration) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
setRequestTimeoutChangeListener(RequestTimeoutChangeListener) - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
Sets the listener that is notified when the DefaultServiceRequestContext.requestTimeoutMillis() request timeout} of the request is changed.
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 and sending the corresponding Response completely.
setRequestTimeoutMillis(long) - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
setResponseTimeout(ClientRequestContext) - Method in class com.linecorp.armeria.client.retry.RetryingClient
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
 
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
A simple ListenableHealthChecker whose state can be set by a caller.
SettableHealthChecker() - Constructor for class com.linecorp.armeria.server.healthcheck.SettableHealthChecker
Constructs a new SettableHealthChecker which starts out in a healthy state and can be changed using SettableHealthChecker.setHealthy(boolean).
SettableHealthChecker(boolean) - Constructor for class com.linecorp.armeria.server.healthcheck.SettableHealthChecker
Constructs a new SettableHealthChecker which starts out in the specified health state and can be changed using SettableHealthChecker.setHealthy(boolean).
setTimedOut() - Method in class com.linecorp.armeria.common.AbstractRequestContext
setTimedOut() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
Marks this ServiceRequestContext as having been timed out.
setTimeMillis(CharSequence, long) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Sets a header with the specified name to value.
setTimeMillis(CharSequence, long) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
setTimeMillis(CharSequence, long) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
setTo(RequestLog) - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Sets this ClientConnectionTimings to the specified RequestLog.
setTo(RequestContext) - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Sets this ClientConnectionTimings to the specified RequestContext.
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
Returns the amount of time allowed until the initial write attempt of the current Request succeeds.
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
Returns the amount of time allowed until the initial write attempt of the current Request succeeds.
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
SFNT fonts (which includes TrueType and OpenType fonts).
SHOCKWAVE_FLASH - Static variable in class com.linecorp.armeria.common.MediaType
 
shortCircuit() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorators
Specifies that a CORS request should be rejected if it's invalid before being processed further.
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, Route) - Method in class com.linecorp.armeria.server.DecoratingService
 
shouldCachePath(String, String, Route) - Method in class com.linecorp.armeria.server.file.HttpFileService
 
shouldCachePath(String, String, Route) - 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(ClientRequestContext, Throwable) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerStrategy
Returns a CompletionStage that contains true, false or null which indicates a Response is successful or not.
shouldReportAsSuccess(ClientRequestContext, T) - Method in interface com.linecorp.armeria.client.circuitbreaker.CircuitBreakerStrategyWithContent
Returns a CompletionStage that contains true, false or null according to the specified Response.
shouldRetry(ClientRequestContext, Throwable) - Method in interface com.linecorp.armeria.client.retry.RetryStrategy
Tells whether the request sent with the specified ClientRequestContext requires a retry or not.
shouldRetry(ClientRequestContext, T) - Method in interface com.linecorp.armeria.client.retry.RetryStrategyWithContent
Tells whether the request sent with the specified ClientRequestContext requires a retry or not.
shutdown() - Method in interface com.linecorp.armeria.server.logging.AccessLogWriter
Shuts down this AccessLogWriter.
shutdownAccessLogWriterOnStop() - Method in class com.linecorp.armeria.server.ServerConfig
Returns whether the AccessLogWriter is shut down when the Server stops.
shutdownAccessLogWriterOnStop() - Method in class com.linecorp.armeria.server.ServiceConfig
Tells whether the AccessLogWriter is shut down when the Server stops.
shutdownAccessLogWriterOnStop() - Method in class com.linecorp.armeria.server.VirtualHost
Tells whether the AccessLogWriter is shut down when the Server stops.
shutdownBlockingTaskExecutorOnStop() - Method in class com.linecorp.armeria.server.ServerConfig
Returns whether the worker Executor is shut down when the Server stops.
shutdownWorkerGroupOnStop() - Method in class com.linecorp.armeria.server.ServerConfig
Returns whether the worker EventLoopGroup is shut down when the Server stops.
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
A general purpose AbstractCompositeService implementation.
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
A general purpose AbstractCompositeServiceBuilder implementation.
SimpleCompositeServiceBuilder() - Constructor for class com.linecorp.armeria.server.composition.SimpleCompositeServiceBuilder
 
SimpleDecoratingClient<I extends Request,​O extends Response> - Class in com.linecorp.armeria.client
Decorates a Client.
SimpleDecoratingClient(Client<I, O>) - Constructor for class com.linecorp.armeria.client.SimpleDecoratingClient
Creates a new instance that decorates the specified Client.
SimpleDecoratingHttpClient - Class in com.linecorp.armeria.client
Decorates an HTTP Client.
SimpleDecoratingHttpClient(Client<HttpRequest, HttpResponse>) - Constructor for class com.linecorp.armeria.client.SimpleDecoratingHttpClient
Creates a new instance that decorates the specified Client.
SimpleDecoratingHttpService - Class in com.linecorp.armeria.server
An HttpService that decorates another HttpService.
SimpleDecoratingHttpService(Service<HttpRequest, HttpResponse>) - Constructor for class com.linecorp.armeria.server.SimpleDecoratingHttpService
Creates a new instance that decorates the specified Service.
SimpleDecoratingRpcClient - Class in com.linecorp.armeria.client
Decorates an RPC Client.
SimpleDecoratingRpcClient(Client<RpcRequest, RpcResponse>) - Constructor for class com.linecorp.armeria.client.SimpleDecoratingRpcClient
Creates a new instance that decorates the specified Client.
SimpleDecoratingRpcService - Class in com.linecorp.armeria.server
An RpcService that decorates another RpcService.
SimpleDecoratingRpcService(Service<RpcRequest, RpcResponse>) - Constructor for class com.linecorp.armeria.server.SimpleDecoratingRpcService
Creates a new instance that decorates the specified Service.
SimpleDecoratingService<I extends Request,​O extends Response> - Class in com.linecorp.armeria.server
A Service that decorates another Service.
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
Returns the simplified name of the DefaultRpcRequest.serviceType().
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.
sizeHint(int) - Method in interface com.linecorp.armeria.common.HttpHeadersBuilder
Specifies the hint about the number of headers which may improve the memory efficiency and performance of the underlying data structure.
sizeHint(int) - Method in interface com.linecorp.armeria.common.RequestHeadersBuilder
 
sizeHint(int) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
 
SKETCHUP - Static variable in class com.linecorp.armeria.common.MediaType
skp files produced by the 3D Modeling software SketchUp.
sMaxAge(Duration) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables or disables the "s-maxage" directive.
sMaxAgeSeconds() - Method in class com.linecorp.armeria.common.ServerCacheControl
Returns the value of the "s-maxage" directive or -1 if disabled.
sMaxAgeSeconds(long) - Method in class com.linecorp.armeria.common.ServerCacheControlBuilder
Enables the "s-maxage" directive.
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.
socketChannelType(EventLoopGroup) - Static method in class com.linecorp.armeria.common.util.EventLoopGroups
Returns the available SocketChannel class for eventLoopGroup, for use in configuring a custom Bootstrap.
socketConnectDurationNanos() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the duration which was taken to connect to a remote peer, in nanoseconds.
socketConnectEnd() - Method in class com.linecorp.armeria.client.ClientConnectionTimingsBuilder
Sets the time when the client ended to connect to a remote peer.
socketConnectStart() - Method in class com.linecorp.armeria.client.ClientConnectionTimingsBuilder
Sets the time when the client started to connect to a remote peer.
socketConnectStartTimeMicros() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the time when the client started to connect to a remote peer, in microseconds since the epoch.
socketConnectStartTimeMillis() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
Returns the time when the client started to connect to a remote peer, in milliseconds since the epoch.
socketOption(ChannelOption<T>, T) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
SOURCE_MAP - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "SourceMap" header field name.
sourceAddress() - Method in class com.linecorp.armeria.server.ProxiedAddresses
Returns the source address of the proxied request.
sslContext() - Method in class com.linecorp.armeria.server.VirtualHost
Returns the SslContext of this virtual host.
sslContext(SessionProtocol, File, File) - Method in class com.linecorp.armeria.server.ServerBuilder
sslContext(SessionProtocol, File, File) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
sslContext(SessionProtocol, File, File, String) - Method in class com.linecorp.armeria.server.ServerBuilder
sslContext(SessionProtocol, File, File, String) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
sslContext(SslContext) - Method in class com.linecorp.armeria.server.ServerBuilder
sslContext(SslContext) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
sslContextCustomizer(Consumer<? super SslContextBuilder>) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the Consumer which can arbitrarily configure the SslContextBuilder that will be applied to the SSL session.
sslSession() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
sslSession() - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Returns the SSLSession of the connection.
sslSession() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
sslSession() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the SSLSession of the connection which handled the Request.
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
 
sslSession(SSLSession) - Method in class com.linecorp.armeria.common.AbstractRequestContextBuilder
Sets the SSLSession of the connection.
staleIfError(Duration) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables or disables the "stale-if-error" directive.
staleIfErrorSeconds() - Method in class com.linecorp.armeria.common.ClientCacheControl
Returns the value of the "stale-if-error" directive or -1 if disabled.
staleIfErrorSeconds(long) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables the "stale-if-error" directive.
staleWhileRevalidate(Duration) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables or disables the "stale-while-revalidate" directive.
staleWhileRevalidateSeconds() - Method in class com.linecorp.armeria.common.ClientCacheControl
Returns the value of the "stale-while-revalidate" directive or -1 if disabled.
staleWhileRevalidateSeconds(long) - Method in class com.linecorp.armeria.common.ClientCacheControlBuilder
Enables the "stale-while-revalidate" directive.
start() - Method in class com.linecorp.armeria.server.Server
Starts this Server to listen to the ServerPorts specified in the ServerConfig.
start(boolean) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Begins the startup procedure without an argument by calling StartStopSupport.doStart(Object), ensuring that neither StartStopSupport.doStart(Object) nor StartStopSupport.doStop(Object) is invoked concurrently.
start(T, boolean) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Begins the startup procedure without an argument by calling StartStopSupport.doStart(Object), ensuring that neither StartStopSupport.doStart(Object) nor StartStopSupport.doStop(Object) is invoked concurrently.
start(T, U, boolean) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Begins the startup procedure by calling StartStopSupport.doStart(Object), ensuring that neither StartStopSupport.doStart(Object) nor StartStopSupport.doStop(Object) is invoked concurrently.
startRequest(Channel, SessionProtocol) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Starts the collection of the Request information.
startRequest(Channel, SessionProtocol, long, long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Starts the collection of the Request information.
startRequest(Channel, SessionProtocol, SSLSession) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
startRequest(Channel, SessionProtocol, SSLSession) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Starts the collection of the Request information.
startRequest(Channel, SessionProtocol, SSLSession, long, long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
startRequest(Channel, SessionProtocol, SSLSession, long, long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Starts the collection of the Request information.
startResponse() - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
startResponse() - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Starts the collection of Response information.
startResponse(long, long) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
startResponse(long, long) - Method in interface com.linecorp.armeria.common.logging.RequestLogBuilder
Starts the collection of Response information.
startStopExecutor(Executor) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the Executor which will invoke the callbacks of Server.start(), Server.stop() and ServerListener.
StartStopSupport<T,​U,​V,​L> - Class in com.linecorp.armeria.common.util
Provides asynchronous start-stop life cycle support.
StartStopSupport(Executor) - Constructor for class com.linecorp.armeria.common.util.StartStopSupport
Creates a new instance.
StaticEndpointGroup - Class in com.linecorp.armeria.client.endpoint
A static immutable EndpointGroup.
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.AggregatedHttpResponse
Returns the STATUS of this response.
status() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the status of the Response.
status(int) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
Sets the ":status" header.
status(HttpStatus) - Method in interface com.linecorp.armeria.common.ResponseHeadersBuilder
Sets the ":status" header.
STATUS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP ":status" pseudo header field name.
statusCode() - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the status code of the Response.
StatusCode - Annotation Type in com.linecorp.armeria.server.annotation
An annotation which specifies a default HTTP status code of a response produced by an annotated HTTP service.
StickyEndpointSelectionStrategy - Class in com.linecorp.armeria.client.endpoint
An EndpointSelector strategy which implements sticky load-balancing using user passed ToLongFunction to compute hashes for consistent hashing.
StickyEndpointSelectionStrategy(ToLongFunction<ClientRequestContext>) - Constructor for class com.linecorp.armeria.client.endpoint.StickyEndpointSelectionStrategy
Creates a new StickyEndpointSelectionStrategy with provided hash function to hash a ClientRequestContext to a long.
stop() - Method in class com.linecorp.armeria.common.util.StartStopSupport
Begins the shutdown procedure without an argument by calling StartStopSupport.doStop(Object), ensuring that neither StartStopSupport.doStart(Object) nor StartStopSupport.doStop(Object) is invoked concurrently.
stop() - Method in class com.linecorp.armeria.server.Server
Stops this Server to close all active ServerPorts.
stop(U) - Method in class com.linecorp.armeria.common.util.StartStopSupport
Begins the shutdown procedure by calling StartStopSupport.doStop(Object), ensuring that neither StartStopSupport.doStart(Object) nor StartStopSupport.doStop(Object) is invoked concurrently.
strategy() - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClient
strategy() - Method in interface com.linecorp.armeria.client.endpoint.EndpointSelector
Returns the EndpointSelectionStrategy used by this selector to select an Endpoint.
strategyWithContent() - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClient
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() - 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.
streaming(HttpMethod, String) - 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 initial RequestHeaders of the specified HttpMethod and path.
streaming(RequestHeaders) - 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 RequestHeaders.
StreamingHttpFile<T extends Closeable> - Class in com.linecorp.armeria.server.file
A skeletal HttpFile that simplifies the streaming of potentially large content.
StreamingHttpFile(MediaType, Clock, boolean, boolean, BiFunction<String, HttpFileAttributes, String>, HttpHeaders) - Constructor for class com.linecorp.armeria.server.file.StreamingHttpFile
Creates a new instance.
StreamMessage<T> - Interface in com.linecorp.armeria.common.stream
A variant of Reactive Streams Publisher, which allows only one Subscriber.
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
Produces the objects to be published by a StreamMessage.
STRICT_TRANSPORT_SECURITY - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Strict-Transport-Security header field name.
StringRequestConverterFunction - Class in com.linecorp.armeria.server.annotation
A default implementation of a RequestConverterFunction which converts a text body of the AggregatedHttpRequest to a String.
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
Deprecated.
StructuredLog(long, long, long, long) - Constructor for class com.linecorp.armeria.server.logging.structured.StructuredLog
Deprecated.
Creates a new instance.
StructuredLog(RequestLog) - Constructor for class com.linecorp.armeria.server.logging.structured.StructuredLog
Deprecated.
StructuredLogBuilder<L> - Interface in com.linecorp.armeria.server.logging.structured
Deprecated.
StructuredLoggingService<I extends Request,​O extends Response,​L> - Class in com.linecorp.armeria.server.logging.structured
Deprecated.
StructuredLoggingService(Service<I, O>, StructuredLogBuilder<L>) - Constructor for class com.linecorp.armeria.server.logging.structured.StructuredLoggingService
Deprecated.
subscribe(Subscriber<? super T>) - 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>) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
subscribe(Subscriber<? super T>, boolean) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
subscribe(Subscriber<? super T>, boolean) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
subscribe(Subscriber<? super T>, boolean) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
subscribe(Subscriber<? super T>, SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
subscribe(Subscriber<? super T>, SubscriptionOption...) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Requests to start streaming data to the specified Subscriber.
subscribe(Subscriber<? super T>, SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
subscribe(Subscriber<? super T>, EventExecutor) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
subscribe(Subscriber<? super T>, EventExecutor) - 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 class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
subscribe(Subscriber<? super T>, EventExecutor, boolean) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
subscribe(Subscriber<? super T>, EventExecutor, boolean) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
subscribe(Subscriber<? super T>, EventExecutor, boolean) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
subscribe(Subscriber<? super T>, EventExecutor, SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.PublisherBasedStreamMessage
 
subscribe(Subscriber<? super T>, EventExecutor, SubscriptionOption...) - Method in interface com.linecorp.armeria.common.stream.StreamMessage
Requests to start streaming data to the specified Subscriber.
subscribe(Subscriber<? super T>, EventExecutor, SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.StreamMessageWrapper
 
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>, SubscriptionOption...) - 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 U>, EventExecutor, SubscriptionOption...) - Method in class com.linecorp.armeria.common.stream.FilteredStreamMessage
 
SubscriptionOption - Enum in com.linecorp.armeria.common.stream
Options used when subscribing to a StreamMessage.
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.
SUCCESS - com.linecorp.armeria.common.HttpStatusClass
The success class (2xx).
successfulResponseLogLevel() - Method in class com.linecorp.armeria.common.logging.LoggingDecoratorBuilder
Returns the LogLevel to use when logging successful responses (e.g., no unhandled exception).
successfulResponseLogLevel() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.LoggingDecorator
The LogLevel to use when logging successful responses (e.g., no unhandled exception).
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).
successRate() - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
Returns the success rate (success/total), or throws an ArithmeticException if total is 0.
summary() - Method in interface com.linecorp.armeria.server.RoutingContext
Returns an identifier of this RoutingContext instance.
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
Returns the Schemes supported by this 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.
SystemInfo - Class in com.linecorp.armeria.common.util
Provides utilities for accessing the information about the current system and process.
systemTicker() - Static method in interface com.linecorp.armeria.common.util.Ticker
A ticker that reads the current time using System.nanoTime().

T

tags() - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
Returns the Tags.
tags(Iterable<Tag>) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
Returns the Tags concatenated by the specified tags.
tags(String...) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
Returns the Tags 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
The HTTP "TE" header field name.
TEMPORARY_REDIRECT - Static variable in class com.linecorp.armeria.common.HttpStatus
307 Temporary Redirect (since HTTP/1.1).
test(String, String, String) - Method in interface com.linecorp.armeria.server.docs.DocServiceFilter
Evaluates this DocServiceFilter on the specified pluginName, serviceName and methodName.
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_GPP_VIDEO - Static variable in class com.linecorp.armeria.common.MediaType
The 3GP multimedia container format.
THREE_GPP2_VIDEO - Static variable in class com.linecorp.armeria.common.MediaType
The 3G2 multimedia container format.
THRIFT_BINARY - Static variable in class com.linecorp.armeria.common.SerializationFormat
Deprecated.
Use ThriftSerializationFormats.BINARY. Note that the value of this field will be null if armeria-thrift module is not loaded.
THRIFT_COMPACT - Static variable in class com.linecorp.armeria.common.SerializationFormat
Deprecated.
Use ThriftSerializationFormats.COMPACT. Note that the value of this field will be null if armeria-thrift module is not loaded.
THRIFT_JSON - Static variable in class com.linecorp.armeria.common.SerializationFormat
Deprecated.
Use ThriftSerializationFormats.JSON. Note that the value of this field will be null if armeria-thrift module is not loaded.
THRIFT_TEXT - Static variable in class com.linecorp.armeria.common.SerializationFormat
Deprecated.
Use ThriftSerializationFormats.TEXT. Note that the value of this field will be null if armeria-thrift module is not loaded.
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
Creates a new ThrottlingStrategy with a default name.
ThrottlingStrategy(String) - Constructor for class com.linecorp.armeria.server.throttling.ThrottlingStrategy
Creates a new ThrottlingStrategy with specified name.
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(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.
TimeoutException(Throwable) - Constructor for exception com.linecorp.armeria.common.TimeoutException
Creates a new instance with the specified cause.
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
Deprecated.
Returns the timestamp in ms of the time that the request has been received.
TIMING_ALLOW_ORIGIN - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP Timing-Allow-Origin header field name.
tls(SslContext) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the SslContext of the default VirtualHost.
tls(SslContext) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Configures SSL or TLS of this VirtualHost with the specified SslContext.
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) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Configures SSL or TLS of this VirtualHost with 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.
tls(File, File, String) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Configures SSL or TLS of this VirtualHost with the specified keyCertChainFile, keyFile and keyPassword.
tls(File, File, String, Consumer<SslContextBuilder>) - Method in class com.linecorp.armeria.server.ServerBuilder
Configures SSL or TLS of the default VirtualHost from the specified keyCertChainFile, keyFile, keyPassword and tlsCustomizer.
tls(File, File, String, Consumer<SslContextBuilder>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Configures SSL or TLS of this VirtualHost with the specified keyCertChainFile, keyFile, keyPassword and tlsCustomizer.
tls(File, File, Consumer<SslContextBuilder>) - Method in class com.linecorp.armeria.server.ServerBuilder
Configures SSL or TLS of the default VirtualHost from the specified keyCertChainFile, cleartext keyFile and tlsCustomizer.
tls(File, File, Consumer<SslContextBuilder>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Configures SSL or TLS of this VirtualHost with the specified keyCertChainFile, cleartext keyFile and tlsCustomizer.
tls(KeyManagerFactory, Consumer<SslContextBuilder>) - Method in class com.linecorp.armeria.server.ServerBuilder
Configures SSL or TLS of the default VirtualHost from the specified keyManagerFactory and tlsCustomizer.
tls(KeyManagerFactory, Consumer<SslContextBuilder>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Configures SSL or TLS of this VirtualHost with the specified keyManagerFactory and tlsCustomizer.
tlsSelfSigned() - Method in class com.linecorp.armeria.server.ServerBuilder
Configures SSL or TLS of the default VirtualHost with an auto-generated self-signed certificate.
tlsSelfSigned() - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Configures SSL or TLS of this VirtualHost with an auto-generated self-signed certificate.
toBuilder() - Method in class com.linecorp.armeria.common.CacheControl
Returns a newly created CacheControlBuilder which has the same initial directives with this CacheControl.
toBuilder() - Method in class com.linecorp.armeria.common.ClientCacheControl
Returns a newly created ClientCacheControlBuilder which has the same initial directives with this ClientCacheControl.
toBuilder() - Method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new builder created from the entries of this headers.
toBuilder() - Method in interface com.linecorp.armeria.common.RequestHeaders
 
toBuilder() - Method in interface com.linecorp.armeria.common.ResponseHeaders
 
toBuilder() - Method in class com.linecorp.armeria.common.ServerCacheControl
Returns a newly created ServerCacheControlBuilder which has the same initial directives with this ServerCacheControl.
toHttpData() - Method in class com.linecorp.armeria.common.HttpStatus
Returns the HttpData whose content is "<code> <reasonPhrase>" encoded in UTF-8.
toInputStream() - Method in interface com.linecorp.armeria.common.HttpData
Returns a new InputStream that is sourced from this data.
toInputStream() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
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
Returns a new Reader that is sourced from this data and decoded using StandardCharsets.US_ASCII.
toReaderUtf8() - Method in interface com.linecorp.armeria.common.HttpData
Returns a new Reader that is sourced from this data and decoded using StandardCharsets.UTF_8.
toString() - Method in class com.linecorp.armeria.client.circuitbreaker.CircuitBreakerClientBuilder
 
toString() - Method in class com.linecorp.armeria.client.circuitbreaker.EventCount
 
toString() - Method in class com.linecorp.armeria.client.ClientConnectionTimings
 
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.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.CacheControl
 
toString() - Method in class com.linecorp.armeria.common.DefaultHttpData
 
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() - 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.StartStopSupport
 
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.ClientAddressSource
 
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.CorsPolicy
 
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.EndpointInfoBuilder
 
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.FieldInfoBuilder
 
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
Returns the HttpVfs.meterTag() of this HttpVfs.
toString() - Method in class com.linecorp.armeria.server.file.HttpFileAttributes
 
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.healthcheck.SettableHealthChecker
 
toString() - Method in class com.linecorp.armeria.server.logging.structured.StructuredLog
Deprecated.
 
toString() - Method in class com.linecorp.armeria.server.ProxiedAddresses
 
toString() - Method in class com.linecorp.armeria.server.RouteBuilder
 
toString() - Method in class com.linecorp.armeria.server.Routed
 
toString() - Method in class com.linecorp.armeria.server.RoutingResult
 
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() - Method in class com.linecorp.armeria.server.VirtualHostBuilder
 
toString() - Method in class com.linecorp.armeria.unsafe.ByteBufHttpData
 
toString(Charset) - Method in interface com.linecorp.armeria.common.HttpData
Decodes this data into a String.
toString(Charset) - 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() - 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<? super HttpHeaders, ?>, Function<Object, ?>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
toStringRequestOnly(Function<? super HttpHeaders, ?>, Function<Object, ?>) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the string representation of the Request.
toStringRequestOnly(Function<? super RequestHeaders, ?>, Function<Object, ?>, Function<? super HttpHeaders, ?>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
toStringRequestOnly(Function<? super RequestHeaders, ?>, Function<Object, ?>, Function<? super HttpHeaders, ?>) - 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() - 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<? super HttpHeaders, ?>, Function<Object, ?>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
toStringResponseOnly(Function<? super HttpHeaders, ?>, Function<Object, ?>) - Method in interface com.linecorp.armeria.common.logging.RequestLog
Returns the string representation of the Response.
toStringResponseOnly(Function<? super ResponseHeaders, ?>, Function<Object, ?>, Function<? super HttpHeaders, ?>) - Method in class com.linecorp.armeria.common.logging.DefaultRequestLog
 
toStringResponseOnly(Function<? super ResponseHeaders, ?>, Function<Object, ?>, Function<? super HttpHeaders, ?>) - 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
 
toUri(Scheme) - Method in class com.linecorp.armeria.client.Endpoint
Converts this endpoint into a URI using the Scheme.
toUri(Scheme, String) - Method in class com.linecorp.armeria.client.Endpoint
Converts this endpoint into a URI using the Scheme and the path.
toUri(SessionProtocol) - Method in class com.linecorp.armeria.client.Endpoint
Converts this endpoint into a URI using the SessionProtocol.
toUri(SessionProtocol, String) - Method in class com.linecorp.armeria.client.Endpoint
Converts this endpoint into a URI using the SessionProtocol and path.
toUri(String) - Method in class com.linecorp.armeria.client.Endpoint
Converts this endpoint into a URI using the scheme.
toUri(String, String) - Method in class com.linecorp.armeria.client.Endpoint
Converts this endpoint into a URI using the scheme and path.
trace(String) - Method in interface com.linecorp.armeria.client.HttpClient
Sends an HTTP TRACE request.
trace(String) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
trace(String) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
Trace - Annotation Type in com.linecorp.armeria.server.annotation
Annotation for mapping HttpMethod.TRACE onto specific method.
TRACE - com.linecorp.armeria.common.HttpMethod
The TRACE method which is used to invoke a remote, application-layer loop-back of the request message.
TRACE - com.linecorp.armeria.common.logging.LogLevel
TRACE log level.
traceText(Throwable) - Static method in class com.linecorp.armeria.common.util.Exceptions
Converts the stack trace of the specified exception into a String.
TRAILER - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Trailer" header field name.
trailers() - Method in interface com.linecorp.armeria.server.annotation.HttpResult
Returns the HTTP trailers of a response.
trailingHeaders() - Method in interface com.linecorp.armeria.server.annotation.HttpResult
Deprecated.
TRANSFER_ENCODING - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Transfer-Encoding" header field name.
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 in milliseconds.
tryClose(Throwable) - Method in class com.linecorp.armeria.common.stream.DefaultStreamMessage
Tries to close the stream with the specified cause.
tryParse(String) - Static method in class com.linecorp.armeria.common.Scheme
Parses the specified String into a Scheme.
tryWrite(Supplier<? extends T>) - Method in interface com.linecorp.armeria.common.stream.StreamWriter
Writes the specified object Supplier to the StreamMessage.
tryWrite(T) - Method in interface com.linecorp.armeria.common.stream.StreamWriter
Writes the specified object to the StreamMessage.
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
Constructs a new TwoElementFixedStreamMessage for the given objects.
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.

U

UNAUTHORIZED - Static variable in class com.linecorp.armeria.common.HttpStatus
401 Unauthorized.
UNHANDLED - com.linecorp.armeria.server.annotation.ExceptionVerbosity
Log exceptions which are not handled by any ExceptionHandler specified by a user.
UNHEALTHY - com.linecorp.armeria.server.healthcheck.HealthCheckUpdateResult
Tells HealthCheckService to mark the Server as 'unhealthy'.
unhealthyResponse(AggregatedHttpResponse) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Sets the AggregatedHttpResponse to send when the Service is unhealthy.
UNKNOWN - com.linecorp.armeria.common.HttpMethod
A special method which represents the client sent a method that is none of the constants defined in this enum.
UNKNOWN - com.linecorp.armeria.common.HttpStatusClass
The unknown class.
UNKNOWN - Static variable in class com.linecorp.armeria.common.HttpStatus
A special status code '0' which represents that the response status is unknown.
UNKNOWN - Static variable in class com.linecorp.armeria.common.SerializationFormat
Unknown serialization format.
UNORDERED_COLLECTION - Static variable in class com.linecorp.armeria.common.HttpStatus
425 Unordered Collection (WebDAV, RFC3648).
UNPROCESSABLE_ENTITY - Static variable in class com.linecorp.armeria.common.HttpStatus
422 Unprocessable Entity (WebDAV, RFC4918).
UnprocessedRequestException - Exception in com.linecorp.armeria.client
A RuntimeException raised when it is certain that a request has not been handled by a server and thus can be retried safely.
UnprocessedRequestException(String, Throwable) - Constructor for exception com.linecorp.armeria.client.UnprocessedRequestException
Creates a new instance with the specified message and cause.
UnprocessedRequestException(Throwable) - Constructor for exception com.linecorp.armeria.client.UnprocessedRequestException
Creates a new instance with the specified cause.
unregister(String) - Static method in class com.linecorp.armeria.client.endpoint.EndpointGroupRegistry
Unregisters the EndpointGroup with the specified case-insensitive groupName.
UNSPECIFIED - com.linecorp.armeria.server.docs.FieldLocation
The location of the field is unspecified.
UNSPECIFIED - com.linecorp.armeria.server.docs.FieldRequirement
The requirement level is unspecified and will be handled implicitly by the serialization layer.
UNSUPPORTED_MEDIA_TYPE - Static variable in class com.linecorp.armeria.common.HttpStatus
415 Unsupported Media Type.
updatable(boolean) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Specifies whether the healthiness of the Server can be updated by sending a PUT, POST or PATCH request to the HealthCheckService.
updatable(HealthCheckUpdateHandler) - Method in class com.linecorp.armeria.server.healthcheck.HealthCheckServiceBuilder
Specifies a HealthCheckUpdateHandler which handles other HTTP methods than HEAD and GET which updates the healthiness of the Server.
updateRequest(Request) - Method in class com.linecorp.armeria.common.NonWrappingRequestContext
 
updateRequest(Request) - Method in interface com.linecorp.armeria.common.RequestContext
Replaces the Request associated with this context with the specified one.
updateRequest(Request) - Method in class com.linecorp.armeria.common.RequestContextWrapper
 
UPGRADE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Upgrade" header field name.
UPGRADE_REQUIRED - Static variable in class com.linecorp.armeria.common.HttpStatus
426 Upgrade Required (RFC2817).
uri() - Method in interface com.linecorp.armeria.client.ClientBuilderParams
Returns the endpoint URI of the client.
uri() - Method in class com.linecorp.armeria.client.DefaultClientBuilderParams
 
uri() - Method in class com.linecorp.armeria.client.UserClient
 
uriText() - Method in class com.linecorp.armeria.common.Scheme
Returns the textual representation ("serializationFormat+sessionProtocol").
uriText() - Method in class com.linecorp.armeria.common.SerializationFormat
Returns the textual representation of this format for use in a Scheme.
uriText() - Method in enum com.linecorp.armeria.common.SessionProtocol
Returns the textual representation of this format for use in a Scheme.
USE_PROXY - Static variable in class com.linecorp.armeria.common.HttpStatus
305 Use Proxy (since HTTP/1.1).
useEpoll() - Static method in class com.linecorp.armeria.common.Flags
Returns whether the JNI-based /dev/epoll socket I/O is enabled.
useHttp1Pipelining(boolean) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets whether to use HTTP pipelining for HTTP/1 connections.
useHttp2Preface(boolean) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets whether to send an HTTP/2 preface string instead of an HTTP/1 upgrade request to negotiate the protocol version of a cleartext HTTP connection.
useOpenSsl() - Static method in class com.linecorp.armeria.common.Flags
Returns whether the JNI-based TLS support with OpenSSL is enabled.
USER_AGENT - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "User-Agent" header field name.
UserClient<I extends Request,​O extends Response> - Class in com.linecorp.armeria.client
A base class for implementing a user's entry point for sending a Request.
UserClient(ClientBuilderParams, Client<I, O>, MeterRegistry, SessionProtocol, Endpoint) - Constructor for class com.linecorp.armeria.client.UserClient
Creates a new instance.
useRetryAfter(boolean) - Method in class com.linecorp.armeria.client.retry.RetryingHttpClientBuilder
Whether retry should be attempted according to the retryHeader from the server or not.
username() - Method in class com.linecorp.armeria.server.auth.BasicToken
 

V

validateScheme(Scheme) - Method in class com.linecorp.armeria.client.AbstractClientFactory
Makes sure the specified Scheme is supported by this ClientFactory.
validateScheme(URI) - Method in class com.linecorp.armeria.client.AbstractClientFactory
Makes sure the scheme of the specified URI is supported by this ClientFactory.
value() - Method in class com.linecorp.armeria.common.util.AbstractOptionValue
Returns the value of this option value holder has.
value() - Method in annotation type com.linecorp.armeria.server.annotation.AdditionalHeader
The values of the HTTP header to set.
value() - Method in annotation type com.linecorp.armeria.server.annotation.AdditionalHeaders
An array of AdditionalHeaders.
value() - Method in annotation type com.linecorp.armeria.server.annotation.AdditionalTrailer
The values of the HTTP trailer to set.
value() - Method in annotation type com.linecorp.armeria.server.annotation.AdditionalTrailers
An array of AdditionalTrailer.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Consumes
A media type string.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ConsumesGroup
An array of Consumes annotations.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ConsumeType
Deprecated.
A media type string.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ConsumeTypes
Deprecated.
An array of ConsumeTypes.
value() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.CorsDecorators
An array of CorsDecorators.
value() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.LoggingDecorators
An array of LoggingDecorators.
value() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.RateLimitingDecorator
The number of requests per one second that the configured ThrottlingStrategy accepts.
value() - Method in annotation type com.linecorp.armeria.server.annotation.decorator.RateLimitingDecorators
An array of RateLimitingDecorators.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Decorator
DecoratingServiceFunction implementation type.
value() - Method in annotation type com.linecorp.armeria.server.annotation.DecoratorFactory
DecoratorFactoryFunction implementation type.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Decorators
An array of Decorators.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Default
The default value to use as a fallback when the request parameter is not provided or has an empty value.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Delete
A path pattern for the annotated method.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Description
The description of a type, a field, a method or a parameter.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ExceptionHandler
ExceptionHandlerFunction implementation type.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ExceptionHandlers
An array of ExceptionHandlers.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Get
A path pattern for the annotated method.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Head
A path pattern for the annotated method.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Header
The name of the HTTP request header to bind to.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Options
A path pattern for the annotated method.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Order
An order of a method which is annotated by this annotation.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Param
The name of the request parameter to bind to.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Patch
A path pattern for the annotated method.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Path
A path pattern for the annotated method.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Post
A path pattern for the annotated method.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Produces
A media type string.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ProducesGroup
An array of Produces annotations.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ProduceType
Deprecated.
A media type string.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ProduceTypes
Deprecated.
An array of ProduceTypes.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Put
A path pattern for the annotated method.
value() - Method in annotation type com.linecorp.armeria.server.annotation.RequestConverter
RequestConverterFunction implementation type.
value() - Method in annotation type com.linecorp.armeria.server.annotation.RequestConverters
An array of RequestConverters.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ResponseConverter
ResponseConverterFunction implementation type.
value() - Method in annotation type com.linecorp.armeria.server.annotation.ResponseConverters
An array of ResponseConverters.
value() - Method in annotation type com.linecorp.armeria.server.annotation.StatusCode
A default HTTP status code of a response produced by an annotated HTTP service.
value() - Method in annotation type com.linecorp.armeria.server.annotation.Trace
A path pattern for the annotated method.
value() - Method in class com.linecorp.armeria.server.Routed
Returns the value.
valueOf(int) - Static method in class com.linecorp.armeria.common.HttpStatus
Returns the HttpStatus represented by the specified status code.
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.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
Returns the ClientOption of the specified name.
valueOf(String) - Static method in enum com.linecorp.armeria.common.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.linecorp.armeria.common.HttpStatus
Returns the HttpStatus represented by the specified status text.
valueOf(String) - Static method in enum com.linecorp.armeria.common.HttpStatusClass
Returns the enum constant of this type with the specified name.
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.common.stream.SubscriptionOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.linecorp.armeria.server.annotation.ExceptionVerbosity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.linecorp.armeria.server.docs.FieldLocation
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.
valueOf(String) - Static method in enum com.linecorp.armeria.server.healthcheck.HealthCheckUpdateResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.linecorp.armeria.server.RoutePathType
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
Returns all available SerializationFormats.
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() - Static method in enum com.linecorp.armeria.common.stream.SubscriptionOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.linecorp.armeria.server.annotation.ExceptionVerbosity
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.FieldLocation
Returns an array containing the constants of this enum type, in the order they are declared.
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.
values() - Static method in enum com.linecorp.armeria.server.healthcheck.HealthCheckUpdateResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.linecorp.armeria.server.RoutePathType
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
The HTTP "Vary" header field name.
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.
verboseResponses() - Static method in class com.linecorp.armeria.common.Flags
Returns whether the verbose response mode is enabled.
verboseResponses() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
verboseResponses() - Method in class com.linecorp.armeria.server.ServerConfig
Returns whether the verbose response mode is enabled.
verboseResponses() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns whether the verbose response mode is enabled.
verboseResponses() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns whether the verbose response mode is enabled.
verboseResponses() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
verboseResponses() - Method in class com.linecorp.armeria.server.VirtualHost
Returns whether the verbose response mode is enabled.
verboseResponses(boolean) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets whether the verbose response mode is enabled.
verboseResponses(boolean) - Method in class com.linecorp.armeria.server.ServiceBindingBuilder
 
verboseResponses(boolean) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Sets whether the verbose response mode is enabled.
verboseResponses(boolean) - Method in class com.linecorp.armeria.server.VirtualHostServiceBindingBuilder
 
verboseSocketExceptions() - Static method in class com.linecorp.armeria.common.Flags
Returns whether to log the socket exceptions which are mostly harmless.
version() - Method in class com.linecorp.armeria.server.auth.OAuth1aToken
Returns version.
Version - Class in com.linecorp.armeria.common.util
Retrieves the version information of available Armeria artifacts.
vfs() - Method in class com.linecorp.armeria.server.file.HttpFileServiceConfig
Returns the HttpVfs that provides the static files to an HttpFileService.
VIA - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Via" header field name.
virtualHost() - Method in class com.linecorp.armeria.server.DefaultServiceRequestContext
 
virtualHost() - Method in interface com.linecorp.armeria.server.RoutingContext
Returns the VirtualHost instance which belongs to this RoutingContext.
virtualHost() - Method in class com.linecorp.armeria.server.ServiceConfig
Returns the VirtualHost the ServiceConfig.service() belongs to.
virtualHost() - Method in interface com.linecorp.armeria.server.ServiceRequestContext
Returns the VirtualHost that is handling the current Request.
virtualHost() - Method in class com.linecorp.armeria.server.ServiceRequestContextWrapper
 
virtualHost(String) - Method in class com.linecorp.armeria.server.ServerBuilder
virtualHost(String, String) - Method in class com.linecorp.armeria.server.ServerBuilder
VirtualHost - Class in com.linecorp.armeria.server
VirtualHostBuilder - Class in com.linecorp.armeria.server
Builds a new VirtualHost.
virtualHosts() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the List of available VirtualHosts.
VirtualHostServiceBindingBuilder - Class in com.linecorp.armeria.server
A builder class for binding a Service fluently.
VND_REAL_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
Real Audio.
VND_WAVE_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
WAVE format, as defined by RFC 2361.
voidFunction(BiConsumer<T, U>) - Static method in class com.linecorp.armeria.common.util.Functions
Converts the specified BiConsumer into a BiFunction that returns null.
voidFunction(Consumer<T>) - Static method in class com.linecorp.armeria.common.util.Functions
Converts the specified Consumer into a Function that returns null.
VORBIS_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
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.

W

WARN - com.linecorp.armeria.common.logging.LogLevel
WARN log level.
WARN - Static variable in interface com.linecorp.armeria.server.RejectedRouteHandler
A RejectedRouteHandler that logs a warning message for a problematic Route.
WARNING - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "Warning" header field name.
WASM_APPLICATION - Static variable in class com.linecorp.armeria.common.MediaType
WASM applications.
WAX_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
Windows Media metafiles.
WEBM_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
 
WEBM_VIDEO - Static variable in class com.linecorp.armeria.common.MediaType
 
WEBP - Static variable in class com.linecorp.armeria.common.MediaType
weight() - Method in class com.linecorp.armeria.client.Endpoint
Returns the weight of this endpoint.
WEIGHTED_ROUND_ROBIN - Static variable in interface com.linecorp.armeria.client.endpoint.EndpointSelectionStrategy
Weighted round-robin strategy.
WITH_POOLED_OBJECTS - com.linecorp.armeria.common.stream.SubscriptionOption
To receive the pooled ByteBuf and ByteBufHolder as is, without making a copy.
withCharset(Charset) - Method in class com.linecorp.armeria.common.MediaType
Returns a new instance with the same type and subtype as this instance, with the charset parameter set to the name of the given charset.
withClientOptions(Function<? super ClientOptionsBuilder, ClientOptionsBuilder>) - Method in class com.linecorp.armeria.client.endpoint.healthcheck.HttpHealthCheckedEndpointGroupBuilder
Sets the Function that customizes an HttpClient for health check.
withContextCustomizer(Consumer<ClientRequestContext>) - Static method in class com.linecorp.armeria.client.Clients
Sets the specified ClientRequestContext customization function in a thread-local variable so that the customized context is used when the client invokes a request from the current thread.
withDefaultPort(int) - Method in class com.linecorp.armeria.client.Endpoint
Returns a new host endpoint with the specified default port number.
withDefaultVirtualHost() - Method in class com.linecorp.armeria.server.ServerBuilder
withDefaultVirtualHost(Consumer<VirtualHostBuilder>) - Method in class com.linecorp.armeria.server.ServerBuilder
Configures the default VirtualHost with the customizer.
withHttpHeader(CharSequence, Object) - Static method in class com.linecorp.armeria.client.Clients
Sets the specified HTTP header in a thread-local variable so that the header is sent by the client call made from the current thread.
withHttpHeader(CharSequence, String) - Static method in class com.linecorp.armeria.client.Clients
Sets the specified HTTP header in a thread-local variable so that the header is sent by the client call made from the current thread.
withHttpHeaders(Function<HttpHeaders, HttpHeaders>) - Static method in class com.linecorp.armeria.client.Clients
Sets the specified HTTP header manipulating function in a thread-local variable so that the manipulated headers are sent by the client call made from the current thread.
withIpAddr(String) - Method in class com.linecorp.armeria.client.Endpoint
Returns a new host endpoint with the specified IP address.
withJitter(double) - Method in interface com.linecorp.armeria.client.retry.Backoff
Returns a Backoff that adds a random jitter value to the original delay using full jitter strategy.
withJitter(double, double) - Method in interface com.linecorp.armeria.client.retry.Backoff
Returns a Backoff that adds a random jitter value to the original delay using full jitter strategy.
withJitter(double, double, Supplier<Random>) - Method in interface com.linecorp.armeria.client.retry.Backoff
Returns a Backoff that adds a random jitter value to the original delay using full jitter strategy.
withMaxAttempts(int) - Method in interface com.linecorp.armeria.client.retry.Backoff
Returns a Backoff which limits the number of attempts up to the specified value.
withMutations(Consumer<HttpHeadersBuilder>) - Method in interface com.linecorp.armeria.common.HttpHeaders
Returns a new headers which is the result from the mutation by the specified Consumer.
withMutations(Consumer<HttpHeadersBuilder>) - Method in interface com.linecorp.armeria.common.RequestHeaders
 
withMutations(Consumer<HttpHeadersBuilder>) - Method in interface com.linecorp.armeria.common.ResponseHeaders
 
withoutDelay() - Static method in interface com.linecorp.armeria.client.retry.Backoff
Returns a Backoff that will never wait between attempts.
withoutParameters() - Method in class com.linecorp.armeria.common.MediaType
Returns a new instance with the same type and subtype as this instance, but without any parameters.
withParameter(String, String) - Method in class com.linecorp.armeria.common.MediaType
Replaces all parameters with the given attribute with a single parameter with the given value.
withParameters(String, Iterable<String>) - Method in class com.linecorp.armeria.common.MediaType
Replaces all parameters with the given attribute with parameters using the given values.
withParameters(Map<String, ? extends Iterable<String>>) - Method in class com.linecorp.armeria.common.MediaType
Replaces all parameters with the given parameters.
withRoute(Consumer<ServiceBindingBuilder>) - Method in class com.linecorp.armeria.server.ServerBuilder
Configures a Service of the default VirtualHost with the customizer.
withRoute(Consumer<VirtualHostServiceBindingBuilder>) - Method in class com.linecorp.armeria.server.VirtualHostBuilder
Configures a Service of the VirtualHost with the customizer.
withTags(Iterable<Tag>) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
Returns a newly-created instance whose name is concatenated by the specified tags.
withTags(Iterable<Tag>) - Method in interface com.linecorp.armeria.common.metric.MeterIdPrefixFunction
Returns a MeterIdPrefixFunction that returns a newly created MeterIdPrefix which has the specified labels added.
withTags(String...) - Method in class com.linecorp.armeria.common.metric.MeterIdPrefix
Returns a newly-created instance whose name is concatenated by the specified tags.
withTags(String...) - Method in interface com.linecorp.armeria.common.metric.MeterIdPrefixFunction
Returns a MeterIdPrefixFunction that returns a newly created MeterIdPrefix which has the specified label added.
withVirtualHost(String) - Method in class com.linecorp.armeria.server.ServerBuilder
withVirtualHost(String, String) - Method in class com.linecorp.armeria.server.ServerBuilder
withVirtualHost(Consumer<VirtualHostBuilder>) - Method in class com.linecorp.armeria.server.ServerBuilder
Configures a VirtualHost with the customizer.
withWeight(int) - Method in class com.linecorp.armeria.client.Endpoint
Returns a new host endpoint with the specified weight.
WMA_AUDIO - Static variable in class com.linecorp.armeria.common.MediaType
Windows Media Audio.
WML_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
WMV - Static variable in class com.linecorp.armeria.common.MediaType
 
WOFF - Static variable in class com.linecorp.armeria.common.MediaType
Web Open Font Format (WOFF) defined by the W3C.
WOFF2 - Static variable in class com.linecorp.armeria.common.MediaType
Web Open Font Format (WOFF) version 2 defined by the W3C.
workerGroup() - Static method in class com.linecorp.armeria.common.CommonPools
workerGroup() - Method in class com.linecorp.armeria.server.ServerConfig
Returns the worker EventLoopGroup which is responsible for performing socket I/O and running Service.serve(ServiceRequestContext, Request).
workerGroup(EventLoopGroup, boolean) - Method in class com.linecorp.armeria.client.ClientFactoryBuilder
Sets the worker EventLoopGroup which is responsible for performing socket I/O and running Client.execute(ClientRequestContext, Request).
workerGroup(EventLoopGroup, boolean) - Method in class com.linecorp.armeria.server.ServerBuilder
Sets the worker EventLoopGroup which is responsible for performing socket I/O and running Service.serve(ServiceRequestContext, Request).
wrap(byte[]) - Static method in interface com.linecorp.armeria.common.HttpData
Creates a new instance from the specified byte array.
wrap(byte[], int, int) - Static method in interface com.linecorp.armeria.common.HttpData
Creates a new instance from the specified byte array, offset and length.
wrap(ByteBuf) - Static method in interface com.linecorp.armeria.common.HttpData
Converts the specified Netty ByteBuf into an HttpData.
write(Supplier<? extends T>) - Method in interface com.linecorp.armeria.common.stream.StreamWriter
Writes the specified object Supplier to the StreamMessage.
write(T) - Method in interface com.linecorp.armeria.common.stream.StreamWriter
Writes the specified object to the StreamMessage.
WRITE_TIMEOUT_MILLIS - Static variable in class com.linecorp.armeria.client.ClientOption
The timeout of a socket write.
writeLog(RequestLog, L) - Method in class com.linecorp.armeria.server.logging.structured.StructuredLoggingService
Deprecated.
Writes given structuredLog to the underlying system.
WriteTimeoutException - Exception in com.linecorp.armeria.client
A TimeoutException raised when a client failed to send a request to the wire within timeout.
writeTimeoutMillis() - Method in class com.linecorp.armeria.client.ClientOptions
Returns the timeout of a socket write.
writeTimeoutMillis() - Method in interface com.linecorp.armeria.client.ClientRequestContext
Returns the amount of time allowed until the initial write attempt of the current Request succeeds.
writeTimeoutMillis() - Method in class com.linecorp.armeria.client.ClientRequestContextWrapper
 
writeTimeoutMillis() - Method in class com.linecorp.armeria.client.DefaultClientRequestContext
 
WWW_AUTHENTICATE - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "WWW-Authenticate" header field name.

X

X_CONTENT_TYPE_OPTIONS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Content-Type-Options" header field name.
X_DNS_PREFETCH_CONTROL - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP X-DNS-Prefetch-Control header controls DNS prefetch behavior.
X_DO_NOT_TRACK - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Do-Not-Track" header field name.
X_DOWNLOAD_OPTIONS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Download-Options" header field name.
X_FORWARDED_FOR - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Forwarded-For" header field name (superseded by "Forwarded").
X_FORWARDED_HOST - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Forwarded-Host" header field name.
X_FORWARDED_PORT - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Forwarded-Port" header field name.
X_FORWARDED_PROTO - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Forwarded-Proto" header field name.
X_FRAME_OPTIONS - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Frame-Options" header field name.
X_POWERED_BY - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Powered-By" header field name.
X_REQUESTED_WITH - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-Requested-With" header field name.
X_USER_IP - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-User-IP" header field name.
X_XSS_PROTECTION - Static variable in class com.linecorp.armeria.common.HttpHeaderNames
The HTTP "X-XSS-Protection" header field name.
XHTML_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
 
XML_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
As described in RFC 3023, this constant (text/xml) is used for XML documents that are "readable by casual users."
XRD_UTF_8 - Static variable in class com.linecorp.armeria.common.MediaType
Extensible Resource Descriptors.

Z

ZERO - Static variable in class com.linecorp.armeria.client.circuitbreaker.EventCount
An EventCount without any successes and failures.
ZIP - Static variable in class com.linecorp.armeria.common.MediaType
 
A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes All Packages