Package com.restfb.batch
Class BatchHeader
java.lang.Object
com.restfb.batch.BatchHeader
Represents an HTTP header name/value pair used by
BatchRequest
and BatchResponse
.- Since:
- 1.6.5
- Author:
- Mark Allen
-
Constructor Summary
ModifierConstructorDescriptionprotected
"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. -
Method Summary
-
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
Creates aBatchHeader
with the given name/value pair.- Parameters:
name
- The name of the header.value
- The value of the header.
-
-
Method Details