Index
All Classes|All Packages|Deprecated API|Serialized Form
A
- addService(Object) - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
-
Adds a new service implementation to the builder.
- addService(String, Object) - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
-
Adds a new
TMultiplexedservice to the builder. - args() - Method in class com.linecorp.armeria.common.thrift.ThriftCall
-
Returns the arguments of this call.
- AsyncMethodCallbacks - Class in com.linecorp.armeria.common.thrift
-
A utility class that bridges the gap between
CompletionStageandAsyncMethodCallback.
B
- BINARY - Static variable in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
-
TProtocolFactoryfor Thrift TBinary protocol. - BINARY - Static variable in class com.linecorp.armeria.common.thrift.ThriftSerializationFormats
-
Thrift TBinary serialization format.
- build() - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
-
Builds a new instance of
THttpService. - builder() - Static method in class com.linecorp.armeria.server.thrift.THttpService
-
Creates a new instance of
THttpServiceBuilderwhich can build an instance ofTHttpServicefluently.
C
- com.linecorp.armeria.client.thrift - package com.linecorp.armeria.client.thrift
-
Thrift client.
- com.linecorp.armeria.common.thrift - package com.linecorp.armeria.common.thrift
-
Thrift-related common classes.
- com.linecorp.armeria.common.thrift.text - package com.linecorp.armeria.common.thrift.text
-
A Thrift JSON protocol that supports field names as defined in the IDL.
- com.linecorp.armeria.server.thrift - package com.linecorp.armeria.server.thrift
-
Thrift service.
- COMPACT - Static variable in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
-
TProtocolFactoryfor Thrift TCompact protocol. - COMPACT - Static variable in class com.linecorp.armeria.common.thrift.ThriftSerializationFormats
-
Thrift TCompact serialization format.
- completedFuture(T) - Static method in class com.linecorp.armeria.common.thrift.ThriftFuture
-
Returns a new
ThriftFutureinstance that has its value set immediately. - completedFuture(T) - Static method in class com.linecorp.armeria.common.thrift.ThriftListenableFuture
-
Returns a new
ThriftListenableFutureinstance that has its value set immediately.
D
- decorate(Function<? super RpcService, ? extends RpcService>) - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
-
A
Function<? super RpcService, ? extends RpcService>to decorate theRpcService. - defaultSerializationFormat() - Method in class com.linecorp.armeria.server.thrift.THttpService
-
Returns the default
SerializationFormatof this service. - defaultSerializationFormat(SerializationFormat) - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
-
Adds the default serialization format which will be used when the client does not specify one in request.
E
- entries() - Method in class com.linecorp.armeria.common.thrift.ThriftProtocolFactoryProvider
-
Returns the configured
ThriftProtocolFactoryProvider.Entrys for this SPI provider. - entries() - Method in class com.linecorp.armeria.server.thrift.ThriftCallService
-
Returns the information about the Thrift services being served.
- entries() - Method in class com.linecorp.armeria.server.thrift.THttpService
-
Returns the information about the Thrift services being served.
- Entry(SerializationFormat, TProtocolFactory) - Constructor for class com.linecorp.armeria.common.thrift.ThriftProtocolFactoryProvider.Entry
- equals(Object) - Method in class com.linecorp.armeria.common.thrift.ThriftCall
- equals(Object) - Method in class com.linecorp.armeria.common.thrift.ThriftMessage
- equals(Object) - Method in class com.linecorp.armeria.common.thrift.ThriftReply
- exception() - Method in class com.linecorp.armeria.common.thrift.ThriftReply
-
Returns the exception of this reply.
- exceptionallyCompletedFuture(Throwable) - Static method in class com.linecorp.armeria.common.thrift.ThriftFuture
-
Returns a new
ThriftFutureinstance that has an exception set immediately. - exceptionallyCompletedFuture(Throwable) - Static method in class com.linecorp.armeria.common.thrift.ThriftListenableFuture
-
Returns a new
ThriftListenableFutureinstance that has an exception set immediately. - exceptionHandler(BiFunction<? super ServiceRequestContext, ? super Throwable, ? extends RpcResponse>) - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
-
Sets the
BiFunctionthat returns anRpcResponseusing the givenThrowableandServiceRequestContext. - execute(String, Class<?>, String, Object...) - Method in interface com.linecorp.armeria.client.thrift.THttpClient
-
Executes the specified Thrift call.
- executeMultiplexed(String, Class<?>, String, String, Object...) - Method in interface com.linecorp.armeria.client.thrift.THttpClient
-
Executes the specified multiplexed Thrift call.
G
- get() - Static method in class com.linecorp.armeria.common.thrift.text.TTextProtocolFactory
-
Returns the singleton
TTextProtocolFactoryinstance. - get(boolean) - Static method in class com.linecorp.armeria.common.thrift.text.TTextProtocolFactory
-
Returns the singleton
TTextProtocolFactoryinstance, with optional serialization of named enums. - get(SerializationFormat) - Static method in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
-
Deprecated.
- getModuleName() - Method in class com.linecorp.armeria.common.thrift.ThriftJacksonModule
- getProtocol(TTransport) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocolFactory
H
- hashCode() - Method in class com.linecorp.armeria.common.thrift.ThriftCall
- hashCode() - Method in class com.linecorp.armeria.common.thrift.ThriftMessage
- hashCode() - Method in class com.linecorp.armeria.common.thrift.ThriftReply
- header() - Method in class com.linecorp.armeria.common.thrift.ThriftMessage
-
Returns the header part of the message.
I
- implementations() - Method in class com.linecorp.armeria.server.thrift.ThriftServiceEntry
-
Returns the list of
*.AsyncIfaceor*.Ifaceimplementations. - interfaces() - Method in class com.linecorp.armeria.server.thrift.ThriftServiceEntry
- invokeOnError(AsyncMethodCallback<?>, Throwable) - Static method in class com.linecorp.armeria.common.thrift.AsyncMethodCallbacks
- isException() - Method in class com.linecorp.armeria.common.thrift.ThriftReply
-
Returns
trueif the type of this reply isTMessageType.EXCEPTION. - isThrift(SerializationFormat) - Static method in class com.linecorp.armeria.common.thrift.ThriftSerializationFormats
-
Returns whether the specified
SerializationFormatis Thrift.
J
- JSON - Static variable in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
-
TProtocolFactoryfor the Thrift TJSON protocol. - JSON - Static variable in class com.linecorp.armeria.common.thrift.ThriftSerializationFormats
-
Thrift TJSON serialization format.
N
- name() - Method in class com.linecorp.armeria.server.thrift.ThriftServiceEntry
-
Returns the service name.
- newDecorator() - Static method in class com.linecorp.armeria.server.thrift.THttpService
-
Creates a new decorator that supports all thrift protocols and defaults to
TBinaryprotocol when the client doesn't specify one. - newDecorator() - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
-
Returns a newly-created
THttpServicedecorator with the properties of this builder. - newDecorator(SerializationFormat) - Static method in class com.linecorp.armeria.server.thrift.THttpService
-
Creates a new decorator that supports all thrift protocols and defaults to the specified
defaultSerializationFormatwhen the client doesn't specify one. - newDecorator(SerializationFormat, SerializationFormat...) - Static method in class com.linecorp.armeria.server.thrift.THttpService
-
Creates a new decorator that supports only the formats specified and defaults to the specified
defaultSerializationFormatwhen the client doesn't specify one. - newDecorator(SerializationFormat, Iterable<SerializationFormat>) - Static method in class com.linecorp.armeria.server.thrift.THttpService
-
Creates a new decorator that supports the protocols specified in
otherSupportedSerializationFormatsand defaults to the specifieddefaultSerializationFormatwhen the client doesn't specify one.
O
- of(Object) - Static method in class com.linecorp.armeria.server.thrift.ThriftCallService
-
Creates a new
ThriftCallServicewith the specified service implementation. - of(Object) - Static method in class com.linecorp.armeria.server.thrift.THttpService
-
Creates a new
THttpServicewith the specified service implementation, supporting all thrift protocols and defaulting toTBinaryprotocol when the client doesn't specify one. - of(Object, SerializationFormat) - Static method in class com.linecorp.armeria.server.thrift.THttpService
-
Creates a new
THttpServicewith the specified service implementation, supporting all thrift protocols and defaulting to the specifieddefaultSerializationFormatwhen the client doesn't specify one. - of(Map<String, ? extends Iterable<?>>) - Static method in class com.linecorp.armeria.server.thrift.ThriftCallService
-
Creates a new multiplexed
ThriftCallServicewith the specified list service implementations. - ofFormats(Object, SerializationFormat, SerializationFormat...) - Static method in class com.linecorp.armeria.server.thrift.THttpService
-
Creates a new
THttpServicewith the specified service implementation, supporting only the formats specified and defaulting to the specifieddefaultSerializationFormatwhen the client doesn't specify one. - ofFormats(Object, SerializationFormat, Iterable<SerializationFormat>) - Static method in class com.linecorp.armeria.server.thrift.THttpService
-
Creates a new
THttpServicewith the specified service implementation, supporting the protocols specified inotherSupportedSerializationFormatsand defaulting to the specifieddefaultSerializationFormatwhen the client doesn't specify one. - onComplete(T) - Method in class com.linecorp.armeria.common.thrift.ThriftFuture
- onComplete(T) - Method in class com.linecorp.armeria.common.thrift.ThriftListenableFuture
- onError(Exception) - Method in class com.linecorp.armeria.common.thrift.ThriftFuture
- onError(Exception) - Method in class com.linecorp.armeria.common.thrift.ThriftListenableFuture
- otherSerializationFormats(SerializationFormat) - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
-
Adds other
SerializationFormatto the builder. - otherSerializationFormats(Iterable<SerializationFormat>) - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
-
Adds other
SerializationFormats to the builder.
P
- protocolFactory(SerializationFormat) - Static method in class com.linecorp.armeria.common.thrift.ThriftSerializationFormats
-
Returns the
TProtocolFactoryfor the specifiedSerializationFormat.
R
- result() - Method in class com.linecorp.armeria.common.thrift.ThriftReply
-
Returns the result of this reply.
S
- serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.thrift.THttpService
- serve(ServiceRequestContext, RpcRequest) - Method in class com.linecorp.armeria.server.thrift.ThriftCallService
- setupModule(Module.SetupContext) - Method in class com.linecorp.armeria.common.thrift.ThriftJacksonModule
- supportedSerializationFormats() - Method in class com.linecorp.armeria.server.thrift.THttpService
-
Returns the
SerializationFormats supported by this service.
T
- TEXT - Static variable in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
-
TProtocolFactoryfor the Thrift TText protocol. - TEXT - Static variable in class com.linecorp.armeria.common.thrift.ThriftSerializationFormats
-
Thrift TText serialization format.
- TEXT_NAMED_ENUM - Static variable in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
-
TProtocolFactoryfor the Thrift TText protocol with named enums. - TEXT_NAMED_ENUM - Static variable in class com.linecorp.armeria.common.thrift.ThriftSerializationFormats
-
Thrift TText serialization format with named enums.
- ThriftCall - Class in com.linecorp.armeria.common.thrift
- ThriftCall(TMessage, TBase<?, ?>) - Constructor for class com.linecorp.armeria.common.thrift.ThriftCall
-
Creates a new instance that contains a Thrift
TMessageType.CALLorTMessageType.ONEWAYmessage. - ThriftCallService - Class in com.linecorp.armeria.server.thrift
-
An
RpcServicethat handles a ThriftRpcRequest. - ThriftFuture<T> - Class in com.linecorp.armeria.common.thrift
-
A
CompletableFuturethat can be passed in as anAsyncMethodCallbackwhen making an asynchronous client-side Thrift RPC. - ThriftFuture() - Constructor for class com.linecorp.armeria.common.thrift.ThriftFuture
- ThriftJacksonModule - Class in com.linecorp.armeria.common.thrift
-
Jackson
Modulefor Thrift types. - ThriftJacksonModule() - Constructor for class com.linecorp.armeria.common.thrift.ThriftJacksonModule
-
Creates a new instance with the default settings.
- ThriftJacksonModule(boolean) - Constructor for class com.linecorp.armeria.common.thrift.ThriftJacksonModule
-
Creates a new instance.
- ThriftListenableFuture<T> - Class in com.linecorp.armeria.common.thrift
-
A
ListenableFuturethat can be passed in as anAsyncMethodCallbackwhen making an asynchronous client-side Thrift RPC. - ThriftListenableFuture() - Constructor for class com.linecorp.armeria.common.thrift.ThriftListenableFuture
- ThriftMessage - Class in com.linecorp.armeria.common.thrift
-
A container of a Thrift message produced by Apache Thrift.
- ThriftProtocolFactories - Class in com.linecorp.armeria.common.thrift
-
Provides a set of well-known
TProtocolFactorys. - ThriftProtocolFactoryProvider - Class in com.linecorp.armeria.common.thrift
-
SPI Provider for links from
SerializationFormattoTProtocolFactory. - ThriftProtocolFactoryProvider() - Constructor for class com.linecorp.armeria.common.thrift.ThriftProtocolFactoryProvider
- ThriftProtocolFactoryProvider.Entry - Class in com.linecorp.armeria.common.thrift
-
Pair of
SerializationFormatandTProtocolFactory. - ThriftReply - Class in com.linecorp.armeria.common.thrift
-
A container of a Thrift reply or exception object (
TBaseorTApplicationException) and its header (TMessage). - ThriftReply(TMessage, TApplicationException) - Constructor for class com.linecorp.armeria.common.thrift.ThriftReply
-
Creates a new instance that contains a Thrift
TMessageType.EXCEPTIONmessage. - ThriftReply(TMessage, TBase<?, ?>) - Constructor for class com.linecorp.armeria.common.thrift.ThriftReply
-
Creates a new instance that contains a Thrift
TMessageType.REPLYmessage. - ThriftSerializationFormats - Class in com.linecorp.armeria.common.thrift
-
Provides Thrift-related
SerializationFormatinstances and theirTProtocolFactorys. - ThriftServiceEntry - Class in com.linecorp.armeria.server.thrift
-
The information about a Thrift service served by
THttpServiceorThriftCallService. - THttpClient - Interface in com.linecorp.armeria.client.thrift
-
A generic Thrift-over-HTTP client.
- THttpService - Class in com.linecorp.armeria.server.thrift
-
An
HttpServicethat handles a Thrift call. - THttpServiceBuilder - Class in com.linecorp.armeria.server.thrift
-
A fluent builder to build an instance of
THttpService. - toSerializationFormat(TProtocolFactory) - Static method in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
-
Deprecated.This method has been deprecated without a replacement since it cannot reliably work with custom protocol factories.
- toString() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocolFactory
- toString() - Method in class com.linecorp.armeria.common.thrift.ThriftCall
- toString() - Method in class com.linecorp.armeria.common.thrift.ThriftProtocolFactoryProvider.Entry
- toString() - Method in class com.linecorp.armeria.common.thrift.ThriftReply
- toString() - Method in class com.linecorp.armeria.server.thrift.ThriftServiceEntry
- transfer(CompletionStage<T>, AsyncMethodCallback<? super T>) - Static method in class com.linecorp.armeria.common.thrift.AsyncMethodCallbacks
-
Adds a callback that transfers the outcome of the specified
CompletionStageto the specifiedAsyncMethodCallback. - TTextProtocolFactory - Class in com.linecorp.armeria.common.thrift.text
-
The
TProtocolFactorythat creates aTTextProtocol.
U
- unwrap() - Method in interface com.linecorp.armeria.client.thrift.THttpClient
- usesNamedEnums() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocolFactory
-
Returns whether the serialization of named enums is enabled.
V
- values() - Static method in class com.linecorp.armeria.common.thrift.ThriftSerializationFormats
-
Retrieves all registered Thrift serialization formats.
- version() - Method in class com.linecorp.armeria.common.thrift.ThriftJacksonModule
All Classes|All Packages|Deprecated API|Serialized Form
ThriftSerializationFormats.protocolFactory(SerializationFormat).