RpcRequest.@Deprecated public class DefaultRpcRequest extends Object implements RpcRequest
RpcRequest implementation.| Constructor and Description |
|---|
DefaultRpcRequest(Class<?> serviceType,
String method)
Deprecated.
Use the factory methods in
RpcRequest. |
DefaultRpcRequest(Class<?> serviceType,
String method,
Iterable<?> params)
Deprecated.
Use the factory methods in
RpcRequest. |
DefaultRpcRequest(Class<?> serviceType,
String method,
Object... params)
Deprecated.
Use the factory methods in
RpcRequest. |
DefaultRpcRequest(Class<?> serviceType,
String method,
Object parameter)
Deprecated.
Use the factory methods in
RpcRequest. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
String |
method()
Deprecated.
Returns the method name.
|
List<Object> |
params()
Deprecated.
Returns the parameters.
|
Class<?> |
serviceType()
Deprecated.
Returns the type of the service this
RpcRequest is called upon. |
protected String |
simpleServiceName()
Deprecated.
Returns the simplified name of the
serviceType(). |
String |
toString()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitof, of, of, of@Deprecated public DefaultRpcRequest(Class<?> serviceType, String method)
RpcRequest.@Deprecated public DefaultRpcRequest(Class<?> serviceType, String method, Object parameter)
RpcRequest.@Deprecated public DefaultRpcRequest(Class<?> serviceType, String method, Iterable<?> params)
RpcRequest.@Deprecated public DefaultRpcRequest(Class<?> serviceType, String method, Object... params)
RpcRequest.public final Class<?> serviceType()
RpcRequestRpcRequest is called upon.serviceType in interface RpcRequestpublic final String method()
RpcRequestmethod in interface RpcRequestpublic final List<Object> params()
RpcRequestparams in interface RpcRequestprotected final String simpleServiceName()
serviceType().Copyright © 2020 LeanCloud. All rights reserved.