Class BatchHeader

java.lang.Object
com.restfb.batch.BatchHeader

public class BatchHeader extends Object
Represents an HTTP header name/value pair used by BatchRequest and BatchResponse.
Since:
1.6.5
Author:
Mark Allen
  • Constructor Details

    • BatchHeader

      protected BatchHeader()
      "Magic" no-argument constructor so we can reflectively make instances of this class with DefaultJsonMapper, but normal client code cannot.
    • BatchHeader

      public BatchHeader(String name, String value)
      Creates a BatchHeader with the given name/value pair.
      Parameters:
      name - The name of the header.
      value - The value of the header.
  • Method Details