Package org.apache.arrow.flight
Class HeaderCallOption
java.lang.Object
org.apache.arrow.flight.HeaderCallOption
- All Implemented Interfaces:
CallOption
,CallOptions.GrpcCallOption
Method option for supplying headers to method calls.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HeaderCallOption
Header property constructor.- Parameters:
headers
- the headers that should be sent across. If a header is a string, it should only be valid ASCII characters. Binary headers should end in "-bin".
-
-
Method Details
-
wrapStub
public <T extends io.grpc.stub.AbstractStub<T>> T wrapStub(T stub) - Specified by:
wrapStub
in interfaceCallOptions.GrpcCallOption
-