Class HeaderCallOption

All Implemented Interfaces:
CallOption, CallOptions.GrpcCallOption

public class HeaderCallOption extends Object implements CallOptions.GrpcCallOption
Method option for supplying headers to method calls.
  • Constructor Details

    • HeaderCallOption

      public HeaderCallOption(CallHeaders headers)
      Header property constructor.
      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