Index

A B C D E G H I M N R S T U W 
All Classes All Packages

A

AbstractUnaryGrpcService - Class in com.linecorp.armeria.server.grpc.protocol
An AbstractUnaryGrpcService can be used to implement a gRPC service without depending on gRPC stubs.
AbstractUnaryGrpcService() - Constructor for class com.linecorp.armeria.server.grpc.protocol.AbstractUnaryGrpcService
 
AbstractUnsafeUnaryGrpcService - Class in com.linecorp.armeria.server.grpc.protocol
An AbstractUnsafeUnaryGrpcService can be used to implement a gRPC service without depending on gRPC stubs.
AbstractUnsafeUnaryGrpcService() - Constructor for class com.linecorp.armeria.server.grpc.protocol.AbstractUnsafeUnaryGrpcService
 
ARMERIA_GRPC_THROWABLEPROTO_BIN - Static variable in class com.linecorp.armeria.common.grpc.protocol.GrpcHeaderNames
"armeria.grpc.ThrowableProto-bin".
ArmeriaMessageDeframer - Class in com.linecorp.armeria.common.grpc.protocol
A deframer of messages transported in the gRPC wire format.
ArmeriaMessageDeframer(ArmeriaMessageDeframer.Listener, int, ByteBufAllocator) - Constructor for class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer
Construct an ArmeriaMessageDeframer for reading messages out of a gRPC request or response.
ArmeriaMessageDeframer.DeframedMessage - Class in com.linecorp.armeria.common.grpc.protocol
A deframed message.
ArmeriaMessageDeframer.Listener - Interface in com.linecorp.armeria.common.grpc.protocol
A listener of deframing events.
ArmeriaMessageFramer - Class in com.linecorp.armeria.common.grpc.protocol
A framer of messages for transport with the gRPC wire protocol.
ArmeriaMessageFramer(ByteBufAllocator, int) - Constructor for class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageFramer
Constructs an ArmeriaMessageFramer to write messages to a gRPC request or response.
ArmeriaStatusException - Exception in com.linecorp.armeria.common.grpc.protocol
An Exception that contains enough information to convert it to a gRPC status.
ArmeriaStatusException(int, String) - Constructor for exception com.linecorp.armeria.common.grpc.protocol.ArmeriaStatusException
Constructs an ArmeriaStatusException for the given gRPC status code and message.
ArmeriaStatusException(int, String, Throwable) - Constructor for exception com.linecorp.armeria.common.grpc.protocol.ArmeriaStatusException
Constructs an ArmeriaStatusException for the given gRPC status code, message and cause.

B

buf() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer.DeframedMessage
Returns the ByteBuf.

C

close() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer
Closes this deframer and frees any resources.
close() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageFramer
 
closeWhenComplete() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer
Requests closing this deframer when any messages currently queued have been requested and delivered.
com.linecorp.armeria.client.grpc.protocol - package com.linecorp.armeria.client.grpc.protocol
Unary gRPC client without support for gRPC generated code stubs.
com.linecorp.armeria.common.grpc.protocol - package com.linecorp.armeria.common.grpc.protocol
Common classes for handling the gRPC wire protocol without support for gRPC generated code stubs.
com.linecorp.armeria.server.grpc.protocol - package com.linecorp.armeria.server.grpc.protocol
HttpService implementations for handling the gRPC wire protocol without support for gRPC generated code stubs.
compress(OutputStream) - Method in interface com.linecorp.armeria.common.grpc.protocol.Compressor
Wraps an existing output stream with a compressing output stream.
Compressor - Interface in com.linecorp.armeria.common.grpc.protocol
Represents a message compressor.

D

decompress(InputStream) - Method in interface com.linecorp.armeria.common.grpc.protocol.Decompressor
Wraps an existing input stream with a decompressing input stream.
decompressor(Decompressor) - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer
Sets the Decompressor for this deframer.
Decompressor - Interface in com.linecorp.armeria.common.grpc.protocol
Represents a message decompressor.
deframe(HttpData, boolean) - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer
Adds the given data to this deframer and attempts delivery to the listener.
DeframedMessage(ByteBuf, int) - Constructor for class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer.DeframedMessage
Creates a new instance with the specified ByteBuf and type.
DeframedMessage(InputStream, int) - Constructor for class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer.DeframedMessage
Creates a new instance with the specified InputStream and type.
doPost(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.grpc.protocol.AbstractUnsafeUnaryGrpcService
 

E

endOfStream() - Method in interface com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer.Listener
Called when the stream is complete and all messages have been successfully delivered.
equals(Object) - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer.DeframedMessage
 
escape(String) - Static method in class com.linecorp.armeria.common.grpc.protocol.StatusMessageEscaper
Escape the provided unicode String into ascii.
execute(String, byte[]) - Method in class com.linecorp.armeria.client.grpc.protocol.UnaryGrpcClient
Executes a unary gRPC client request.

G

getCode() - Method in exception com.linecorp.armeria.common.grpc.protocol.ArmeriaStatusException
Returns the gRPC status code for this ArmeriaStatusException.
getMessageEncoding() - Method in interface com.linecorp.armeria.common.grpc.protocol.Compressor
Returns the message encoding that this compressor uses.
getMessageEncoding() - Method in interface com.linecorp.armeria.common.grpc.protocol.Decompressor
Returns the message encoding that this compressor uses.
GRPC_ACCEPT_ENCODING - Static variable in class com.linecorp.armeria.common.grpc.protocol.GrpcHeaderNames
"grpc-accept-encoding".
GRPC_ENCODING - Static variable in class com.linecorp.armeria.common.grpc.protocol.GrpcHeaderNames
"grpc-encoding".
GRPC_MESSAGE - Static variable in class com.linecorp.armeria.common.grpc.protocol.GrpcHeaderNames
"grpc-message".
GRPC_STATUS - Static variable in class com.linecorp.armeria.common.grpc.protocol.GrpcHeaderNames
"grpc-status".
GRPC_TIMEOUT - Static variable in class com.linecorp.armeria.common.grpc.protocol.GrpcHeaderNames
"grpc-timeout".
GrpcHeaderNames - Class in com.linecorp.armeria.common.grpc.protocol
gRPC-related HTTP header names.
GrpcTrailersUtil - Class in com.linecorp.armeria.common.grpc.protocol
Utility for creating response trailers for a gRPC status.

H

handleMessage(byte[]) - Method in class com.linecorp.armeria.server.grpc.protocol.AbstractUnaryGrpcService
Returns an unframed response message to return to the client, given an unframed request message.
handleMessage(ByteBuf) - Method in class com.linecorp.armeria.server.grpc.protocol.AbstractUnaryGrpcService
 
handleMessage(ByteBuf) - Method in class com.linecorp.armeria.server.grpc.protocol.AbstractUnsafeUnaryGrpcService
Returns an unframed response message to return to the client, given an unframed request message.
hashCode() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer.DeframedMessage
 

I

isClosed() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer
Indicates whether or not this deframer has been closed.
isClosed() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageFramer
Indicates whether or not this framer has been closed via a call to either ArmeriaMessageFramer.close().
isStalled() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer
Indicates whether delivery is currently stalled, pending receipt of more data.

M

messageRead(ArmeriaMessageDeframer.DeframedMessage) - Method in interface com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer.Listener
Called to deliver the next complete message.

N

NO_MAX_INBOUND_MESSAGE_SIZE - Static variable in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer
 
NO_MAX_OUTBOUND_MESSAGE_SIZE - Static variable in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageFramer
 

R

request(int) - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer
Requests up to the given number of messages from the call to be delivered to ArmeriaMessageDeframer.Listener.messageRead(DeframedMessage).

S

setCompressor(Compressor) - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageFramer
Sets the Compressor.
setMessageCompression(boolean) - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageFramer
Enables or disables message compression.
StatusMessageEscaper - Class in com.linecorp.armeria.common.grpc.protocol
Utility to escape status messages (e.g., error messages) for saving to ascii headers.
statusToTrailers(int, String, boolean) - Static method in class com.linecorp.armeria.common.grpc.protocol.GrpcTrailersUtil
Converts the given gRPC status code, and optionally an error message, to headers.
stream() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer.DeframedMessage
Returns the InputStream.

T

type() - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageDeframer.DeframedMessage
Returns the type.

U

UnaryGrpcClient - Class in com.linecorp.armeria.client.grpc.protocol
A UnaryGrpcClient can be used to make requests to a gRPC server without depending on gRPC stubs.
UnaryGrpcClient(WebClient) - Constructor for class com.linecorp.armeria.client.grpc.protocol.UnaryGrpcClient
Constructs a UnaryGrpcClient for the given WebClient.
unescape(String) - Static method in class com.linecorp.armeria.common.grpc.protocol.StatusMessageEscaper
Unescape the provided ascii to a unicode String.

W

writePayload(ByteBuf) - Method in class com.linecorp.armeria.common.grpc.protocol.ArmeriaMessageFramer
Writes out a payload message.
A B C D E G H I M N R S T U W 
All Classes All Packages