ReqT
- type of the request messageResT
- type of the response messagepublic class DataMessageMarshallerProvider<ReqT,ResT> extends Object
DataMessageMarshaller
for a gRPC call.Constructor and Description |
---|
DataMessageMarshallerProvider(DataMessageMarshaller<ReqT> requestMarshaller,
DataMessageMarshaller<ResT> responseMarshaller) |
Modifier and Type | Method and Description |
---|---|
DataMessageMarshaller<ReqT> |
getRequestMarshaller() |
DataMessageMarshaller<ResT> |
getResponseMarshaller() |
public DataMessageMarshallerProvider(DataMessageMarshaller<ReqT> requestMarshaller, DataMessageMarshaller<ResT> responseMarshaller)
requestMarshaller
- the marshaller for the request, or null if not providedresponseMarshaller
- the marshaller for the response, or null if not providedpublic DataMessageMarshaller<ReqT> getRequestMarshaller()
public DataMessageMarshaller<ResT> getResponseMarshaller()
Copyright © 2023. All Rights Reserved.