Package com.restfb.batch
Class BatchHeader
- java.lang.Object
-
- com.restfb.batch.BatchHeader
-
public class BatchHeader extends Object
Represents an HTTP header name/value pair used byBatchRequest
andBatchResponse
.- Since:
- 1.6.5
- Author:
- Mark Allen
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BatchHeader()
"Magic" no-argument constructor so we can reflectively make instances of this class with DefaultJsonMapper, but normal client code cannot.BatchHeader(String name, String value)
Creates aBatchHeader
with the given name/value pair.
-
-
-
Constructor Detail
-
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 aBatchHeader
with the given name/value pair.- Parameters:
name
- The name of the header.value
- The value of the header.
-
-