Uses of Enum Class
com.janeirodigital.sai.httputils.HttpHeader
-
Uses of HttpHeader in com.janeirodigital.sai.httputils
Methods in com.janeirodigital.sai.httputils that return HttpHeaderModifier and TypeMethodDescriptionstatic HttpHeader
static HttpHeader
Returns the enum constant of this class with the specified name.static HttpHeader[]
HttpHeader.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.janeirodigital.sai.httputils with parameters of type HttpHeaderModifier and TypeMethodDescriptionstatic okhttp3.Headers
HttpUtils.addHttpHeader
(HttpHeader name, String value) Add the HTTP header identified byname
with the providedvalue
.static okhttp3.Headers
HttpUtils.addHttpHeader
(HttpHeader name, String value, okhttp3.Headers headers) Add the HTTP header identified byname
with the providedvalue
.static okhttp3.Headers
HttpUtils.setHttpHeader
(HttpHeader name, String value) Set the HTTP header identified byname
with the providedvalue
.static okhttp3.Headers
HttpUtils.setHttpHeader
(HttpHeader name, String value, okhttp3.Headers headers) Set the HTTP header identified byname
with the providedvalue
.