Index

A B C D E G H I J N O P R S T U V 
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 TMultiplexed service 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 CompletionStage and AsyncMethodCallback.

B

BINARY - Static variable in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
TProtocolFactory for 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 THttpServiceBuilder which can build an instance of THttpService fluently.

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
TProtocolFactory for 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 ThriftFuture instance that has its value set immediately.
completedFuture(T) - Static method in class com.linecorp.armeria.common.thrift.ThriftListenableFuture
Returns a new ThriftListenableFuture instance 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 the RpcService.
defaultSerializationFormat() - Method in class com.linecorp.armeria.server.thrift.THttpService
Returns the default SerializationFormat of 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 ThriftFuture instance that has an exception set immediately.
exceptionallyCompletedFuture(Throwable) - Static method in class com.linecorp.armeria.common.thrift.ThriftListenableFuture
Returns a new ThriftListenableFuture instance 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 BiFunction that returns an RpcResponse using the given Throwable and ServiceRequestContext.
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 TTextProtocolFactory instance.
get(boolean) - Static method in class com.linecorp.armeria.common.thrift.text.TTextProtocolFactory
Returns the singleton TTextProtocolFactory instance, with optional serialization of named enums.
get(SerializationFormat) - Static method in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
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 *.AsyncIface or *.Iface implementations.
interfaces() - Method in class com.linecorp.armeria.server.thrift.ThriftServiceEntry
Returns the *.AsyncIface or *.Iface classes implemented by the implementations.
invokeOnError(AsyncMethodCallback<?>, Throwable) - Static method in class com.linecorp.armeria.common.thrift.AsyncMethodCallbacks
isException() - Method in class com.linecorp.armeria.common.thrift.ThriftReply
Returns true if the type of this reply is TMessageType.EXCEPTION.
isThrift(SerializationFormat) - Static method in class com.linecorp.armeria.common.thrift.ThriftSerializationFormats
Returns whether the specified SerializationFormat is Thrift.

J

JSON - Static variable in class com.linecorp.armeria.common.thrift.ThriftProtocolFactories
TProtocolFactory for 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 TBinary protocol when the client doesn't specify one.
newDecorator() - Method in class com.linecorp.armeria.server.thrift.THttpServiceBuilder
Returns a newly-created THttpService decorator 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 defaultSerializationFormat when 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 defaultSerializationFormat when 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 otherSupportedSerializationFormats and defaults to the specified defaultSerializationFormat when the client doesn't specify one.

O

of(Object) - Static method in class com.linecorp.armeria.server.thrift.ThriftCallService
Creates a new ThriftCallService with the specified service implementation.
of(Object) - Static method in class com.linecorp.armeria.server.thrift.THttpService
Creates a new THttpService with the specified service implementation, supporting all thrift protocols and defaulting to TBinary protocol when the client doesn't specify one.
of(Object, SerializationFormat) - Static method in class com.linecorp.armeria.server.thrift.THttpService
Creates a new THttpService with the specified service implementation, supporting all thrift protocols and defaulting to the specified defaultSerializationFormat when 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 ThriftCallService with the specified list service implementations.
ofFormats(Object, SerializationFormat, SerializationFormat...) - Static method in class com.linecorp.armeria.server.thrift.THttpService
Creates a new THttpService with the specified service implementation, supporting only the formats specified and defaulting to the specified defaultSerializationFormat when the client doesn't specify one.
ofFormats(Object, SerializationFormat, Iterable<SerializationFormat>) - Static method in class com.linecorp.armeria.server.thrift.THttpService
Creates a new THttpService with the specified service implementation, supporting the protocols specified in otherSupportedSerializationFormats and defaulting to the specified defaultSerializationFormat when 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 SerializationFormat to 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 TProtocolFactory for the specified SerializationFormat.

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
TProtocolFactory for 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
TProtocolFactory for 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
A container of a Thrift one-way or two-way call object (TBase) and its header (TMessage).
ThriftCall(TMessage, TBase<?, ?>) - Constructor for class com.linecorp.armeria.common.thrift.ThriftCall
Creates a new instance that contains a Thrift TMessageType.CALL or TMessageType.ONEWAY message.
ThriftCallService - Class in com.linecorp.armeria.server.thrift
An RpcService that handles a Thrift RpcRequest.
ThriftFuture<T> - Class in com.linecorp.armeria.common.thrift
A CompletableFuture that can be passed in as an AsyncMethodCallback when 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 Module for 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 ListenableFuture that can be passed in as an AsyncMethodCallback when 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 SerializationFormat to TProtocolFactory.
ThriftProtocolFactoryProvider() - Constructor for class com.linecorp.armeria.common.thrift.ThriftProtocolFactoryProvider
 
ThriftProtocolFactoryProvider.Entry - Class in com.linecorp.armeria.common.thrift
Pair of SerializationFormat and TProtocolFactory.
ThriftReply - Class in com.linecorp.armeria.common.thrift
A container of a Thrift reply or exception object (TBase or TApplicationException) 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.EXCEPTION message.
ThriftReply(TMessage, TBase<?, ?>) - Constructor for class com.linecorp.armeria.common.thrift.ThriftReply
Creates a new instance that contains a Thrift TMessageType.REPLY message.
ThriftSerializationFormats - Class in com.linecorp.armeria.common.thrift
Provides Thrift-related SerializationFormat instances and their TProtocolFactorys.
ThriftServiceEntry - Class in com.linecorp.armeria.server.thrift
The information about a Thrift service served by THttpService or ThriftCallService.
THttpClient - Interface in com.linecorp.armeria.client.thrift
A generic Thrift-over-HTTP client.
THttpService - Class in com.linecorp.armeria.server.thrift
An HttpService that 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 CompletionStage to the specified AsyncMethodCallback.
TTextProtocolFactory - Class in com.linecorp.armeria.common.thrift.text
The TProtocolFactory that creates a TTextProtocol.

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
 
A B C D E G H I J N O P R S T U V 
All Classes|All Packages|Deprecated API|Serialized Form