Uses of Enum Class
com.janeirodigital.shapetrees.core.enums.HttpHeader
Packages that use HttpHeader
Package
Description
Implementation of
client-side
shape tree validation using the OkHttp HTTP client for Java.
-
Uses of HttpHeader in com.janeirodigital.shapetrees.client.okhttp
Methods in com.janeirodigital.shapetrees.client.okhttp with parameters of type HttpHeaderModifier and TypeMethodDescriptionstatic okhttp3.Headers
OkHttpHelper.addHttpHeader
(HttpHeader name, String value) Add the HTTP header identified byname
with the providedvalue
.static okhttp3.Headers
OkHttpHelper.addHttpHeader
(HttpHeader name, String value, okhttp3.Headers headers) Add the HTTP header identified byname
with the providedvalue
.static okhttp3.Headers
OkHttpHelper.setHttpHeader
(HttpHeader name, String value) Set the HTTP header identified byname
with the providedvalue
.static okhttp3.Headers
OkHttpHelper.setHttpHeader
(HttpHeader name, String value, okhttp3.Headers headers) Set the HTTP header identified byname
with the providedvalue
. -
Uses of HttpHeader in com.janeirodigital.shapetrees.core.enums
Methods in com.janeirodigital.shapetrees.core.enums that return HttpHeaderModifier and TypeMethodDescriptionstatic 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. -
Uses of HttpHeader in com.janeirodigital.shapetrees.core.helpers
Methods in com.janeirodigital.shapetrees.core.helpers with parameters of type HttpHeaderModifier and TypeMethodDescriptionDocumentResponseHelper.getHeader
(DocumentResponse response, HttpHeader header) Gets the string value of the http headerheader
stored in the ResourceAttributes of the providedresponse
.DocumentResponseHelper.getHeader
(ResourceAttributes attributes, HttpHeader header) Gets the string value of the http headerheader
stored in the providedattributes
.