Index
A B C D E G H I J N O R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
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.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.
- 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. - 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
-
Returns the
TProtocolFactoryfor the specifiedSerializationFormat. - getModuleName() - Method in class com.linecorp.armeria.common.thrift.ThriftJacksonModule
- getProtocol(TTransport) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocolFactory
- getScheme() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
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(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
SerializationFormatto the builder.
R
- readBinary() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readBool() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readByte() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readDouble() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readFieldBegin() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readFieldEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readI16() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readI32() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readI64() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readListBegin() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readListEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readMapBegin() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readMapEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readMessageBegin() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readMessageEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readSetBegin() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readSetEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readString() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readStructBegin() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- readStructEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- reset() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- 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 the known
TProtocolFactoryinstances. - 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
-
Thrift-related
SerializationFormatinstances. - 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
-
Returns the
SerializationFormatfor the specifiedTProtocolFactory. - 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.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. - TTextProtocol - Class in com.linecorp.armeria.common.thrift.text
-
A simple text format for serializing/deserializing thrift messages.
- TTextProtocol(TTransport) - Constructor for class com.linecorp.armeria.common.thrift.text.TTextProtocol
-
Create a parser which can read from trans, and create the output writer that can write to a TTransport.
- TTextProtocol(TTransport, boolean) - Constructor for class com.linecorp.armeria.common.thrift.text.TTextProtocol
-
Create a parser which can read from trans, and create the output writer that can write to a TTransport, optionally enabling serialization of named enums.
- TTextProtocolFactory - Class in com.linecorp.armeria.common.thrift.text
-
The
TProtocolFactorythat creates aTTextProtocol.
U
- 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
-
Returns the set of all known Thrift serialization formats.
- version() - Method in class com.linecorp.armeria.common.thrift.ThriftJacksonModule
W
- writeBinary(ByteBuffer) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeBool(boolean) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeByte(byte) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeDouble(double) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeFieldBegin(TField) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeFieldEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeFieldStop() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeI16(short) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeI32(int) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeI64(long) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeListBegin(TList) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeListEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeMapBegin(TMap) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeMapEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeMessageBegin(TMessage) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
-
I believe these two messages are called for a thrift service interface.
- writeMessageEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeSetBegin(TSet) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeSetEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeString(String) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeStructBegin(TStruct) - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
- writeStructEnd() - Method in class com.linecorp.armeria.common.thrift.text.TTextProtocol
All Classes All Packages