Uses of Class
com.guinetik.rr.http.RocketHeaders
-
Packages that use RocketHeaders Package Description com.guinetik.rr.api com.guinetik.rr.auth com.guinetik.rr.http com.guinetik.rr.request -
-
Uses of RocketHeaders in com.guinetik.rr.api
Methods in com.guinetik.rr.api that return RocketHeaders Modifier and Type Method Description protected RocketHeadersAbstractApiClient. createHeaders(Map<String,String> customHeaders)Creates a map of HTTP headers, including default headers, authorization headers, and any custom headers provided. -
Uses of RocketHeaders in com.guinetik.rr.auth
Methods in com.guinetik.rr.auth that return RocketHeaders Modifier and Type Method Description RocketHeadersAbstractOAuth2Strategy. applyAuthHeaders(RocketHeaders headers)RocketHeadersAuthStrategy. applyAuthHeaders(RocketHeaders headers)Applies authentication headers to an existing HttpHeader object.RocketHeadersBasicAuthStrategy. applyAuthHeaders(RocketHeaders headers)RocketHeadersBearerTokenStrategy. applyAuthHeaders(RocketHeaders headers)RocketHeadersNoAuthStrategy. applyAuthHeaders(RocketHeaders headers)Methods in com.guinetik.rr.auth with parameters of type RocketHeaders Modifier and Type Method Description RocketHeadersAbstractOAuth2Strategy. applyAuthHeaders(RocketHeaders headers)RocketHeadersAuthStrategy. applyAuthHeaders(RocketHeaders headers)Applies authentication headers to an existing HttpHeader object.RocketHeadersBasicAuthStrategy. applyAuthHeaders(RocketHeaders headers)RocketHeadersBearerTokenStrategy. applyAuthHeaders(RocketHeaders headers)RocketHeadersNoAuthStrategy. applyAuthHeaders(RocketHeaders headers) -
Uses of RocketHeaders in com.guinetik.rr.http
Methods in com.guinetik.rr.http that return RocketHeaders Modifier and Type Method Description RocketHeadersRocketHeaders. accept(String accept)Sets the Accept header.RocketHeadersRocketHeaders. basicAuth(String username, String password)Sets the Authorization header with Basic authentication.RocketHeadersRocketHeaders. bearerAuth(String token)Sets the Authorization header with a Bearer token.RocketHeadersRocketHeaders. contentType(String contentType)Sets the Content-Type header.static RocketHeadersRocketHeaders. defaultJson()Creates a set of default headers with JSON content type.RocketHeadersRocketHeaders. merge(RocketHeaders other)Merges this header with another, with values from the other taking precedence.RocketHeadersRocketHeaders. remove(String name)Removes a header.RocketHeadersRocketHeaders. set(String name, String value)Sets a header value.Methods in com.guinetik.rr.http with parameters of type RocketHeaders Modifier and Type Method Description RocketHeadersRocketHeaders. merge(RocketHeaders other)Merges this header with another, with values from the other taking precedence. -
Uses of RocketHeaders in com.guinetik.rr.request
Methods in com.guinetik.rr.request that return RocketHeaders Modifier and Type Method Description RocketHeadersRequestSpec. getHeaders()Methods in com.guinetik.rr.request with parameters of type RocketHeaders Modifier and Type Method Description RequestBuilder<Req,Res>RequestBuilder. headers(RocketHeaders headers)Sets the headers for the request.Constructors in com.guinetik.rr.request with parameters of type RocketHeaders Constructor Description RequestSpec(String endpoint, String method, Map<String,String> queryParams, RocketHeaders headers, Req body, Class<Res> responseType)
-