Class KaijuHeaders
-
- All Implemented Interfaces:
public class KaijuHeaders
Headers to be added to Kaiju API requests
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
PANDWARF_EMAIL_HEADER_KEY
public final static String
PANDWARF_MAC_ADDRESS_HEADER_KEY
public final static String
PANDWARF_MODEL_HEADER_KEY
public final static String
PANDWARF_HW_REVISION_HEADER_KEY
public final static String
PANDWARF_APP_VERSION_HEADER_KEY
public final static String
PANDWARF_AUTHORIZATION_HEADER_KEY
public final static String
PANDWARF_CONTENT_TYPE_HEADER_KEY
public final static String
TOKEN_PREFIX
-
Constructor Summary
Constructors Constructor Description KaijuHeaders(String email, String macAddress, String model, String hwRevision)
KaijuHeaders()
KaijuHeaders(String authToken)
-
Method Summary
Modifier and Type Method Description void
setApiToken(@NonNull() String authToken)
void
setContentType(String contentType)
Map<String, String>
toMap()
-
-
Method Detail
-
setApiToken
void setApiToken(@NonNull() String authToken)
-
setContentType
void setContentType(String contentType)
-
-
-
-