Package com.linecorp.armeria.common
Interface RpcRequest
- All Superinterfaces:
Request
An RPC
Request
.-
Method Summary
Modifier and TypeMethodDescriptionmethod()
Returns the method name.static RpcRequest
Creates a new instance with the specified parameters.static RpcRequest
Creates a new instance with no parameter.static RpcRequest
Creates a new instance with a single parameter.static RpcRequest
Creates a new instance with the specified parameters.static RpcRequest
Creates a new instance with the specified parameters.params()
Returns the parameters.default String
Returns the name of the service thisRpcRequest
is called upon.Class<?>
Returns the type of the service thisRpcRequest
is 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 thisRpcRequest
is called upon. -
serviceName
Returns the name of the service thisRpcRequest
is called upon. -
method
String method()Returns the method name. -
params
Returns the parameters.
-