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