Package com.okta.authn.sdk.http
Class RequestContext
- java.lang.Object
-
- com.okta.authn.sdk.http.RequestContext
-
public final class RequestContext extends Object
-
-
Constructor Summary
Constructors Constructor Description RequestContext()
RequestContext(List<Header> headers, List<QueryParameter> queryParams)
RequestContext(Map<String,List<String>> headers, Map<String,String> queryParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestContext
addHeader(Header header)
RequestContext
addHeader(String key, String value)
RequestContext
addHeader(String key, List<String> values)
RequestContext
addQuery(QueryParameter query)
RequestContext
addQuery(String key, String value)
List<Header>
getHeaders()
List<QueryParameter>
getQueryParams()
-
-
-
Method Detail
-
getQueryParams
public List<QueryParameter> getQueryParams()
-
addHeader
public RequestContext addHeader(Header header)
-
addHeader
public RequestContext addHeader(String key, String value)
-
addHeader
public RequestContext addHeader(String key, List<String> values)
-
addQuery
public RequestContext addQuery(QueryParameter query)
-
addQuery
public RequestContext addQuery(String key, String value)
-
-