Class HttpHeaders
- java.lang.Object
-
- com.sap.cloud.security.xsuaa.http.HttpHeaders
-
public class HttpHeaders extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringACCEPTstatic StringAUTHORIZATIONstatic StringCONTENT_TYPEstatic StringX_ZIDstatic StringX_ZONE_UUID
-
Constructor Summary
Constructors Constructor Description HttpHeaders(HttpHeader... headers)HttpHeaders(Collection<HttpHeader> headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Set<HttpHeader>getHeaders()inthashCode()StringtoString()HttpHeaderswithHeader(String headerName, String value)
-
-
-
Field Detail
-
AUTHORIZATION
public static final String AUTHORIZATION
- See Also:
- Constant Field Values
-
ACCEPT
public static final String ACCEPT
- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
-
X_ZID
public static final String X_ZID
- See Also:
- Constant Field Values
-
X_ZONE_UUID
public static final String X_ZONE_UUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpHeaders
public HttpHeaders(HttpHeader... headers)
-
HttpHeaders
public HttpHeaders(Collection<HttpHeader> headers)
-
-
Method Detail
-
getHeaders
public Set<HttpHeader> getHeaders()
-
withHeader
public HttpHeaders withHeader(String headerName, String value)
-
-