Creates a new MethodDescriptor. @param type the call type of this method @param fullMethodName the fully qualified name of this method @param requestMarshaller the marshaller used to encode and decode requests @param responseMarshaller the marshaller used to encode and decode responses @sin
(
MethodType type, String fullMethodName,
Marshaller<RequestT> requestMarshaller,
Marshaller<ResponseT> responseMarshaller)
| 204 | * @deprecated use {@link #newBuilder()}. |
| 205 | */ |
| 206 | @Deprecated |
| 207 | public static <RequestT, ResponseT> MethodDescriptor<RequestT, ResponseT> create( |
| 208 | MethodType type, String fullMethodName, |
| 209 | Marshaller<RequestT> requestMarshaller, |
| 210 | Marshaller<ResponseT> responseMarshaller) { |
| 211 | return new MethodDescriptor<>( |
| 212 | type, fullMethodName, requestMarshaller, responseMarshaller, null, false, false, false); |
| 213 | } |
| 214 | |
| 215 | private MethodDescriptor( |
| 216 | MethodType type, |
nothing calls this directly
no outgoing calls
no test coverage detected