Package com.linecorp.armeria.common
Interface RpcRequest
- All Superinterfaces:
Request
An RPC
Request.-
Method Summary
Modifier and TypeMethodDescriptionmethod()Returns the method name.static RpcRequestCreates a new instance with the specified parameters.static RpcRequestCreates a new instance with no parameter.static RpcRequestCreates a new instance with a single parameter.static RpcRequestCreates a new instance with the specified parameters.static RpcRequestCreates a new instance with the specified parameters.params()Returns the parameters.default StringReturns the name of the service thisRpcRequestis called upon.Class<?>Returns the type of the service thisRpcRequestis called upon.
-
Method Details
-
of
Creates a new instance with no parameter. -
of
Creates a new instance with a single parameter. -
of
Creates a new instance with the specified parameters. -
of
static RpcRequest of(Class<?> serviceType, @Nullable @Nullable String serviceName, String method, Iterable<?> params) Creates a new instance with the specified parameters. -
of
Creates a new instance with the specified parameters. -
serviceType
Class<?> serviceType()Returns the type of the service thisRpcRequestis called upon. -
serviceName
Returns the name of the service thisRpcRequestis called upon. -
method
String method()Returns the method name. -
params
Returns the parameters.
-