HttpRequest Class
- java.
lang. Object - com.
microsoft. aad. msal4j. HttpRequest
- com.
public class HttpRequest
Contains information about outgoing HTTP request. Should be adapted to HTTP request for HTTP client of choice
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
body()
HTTP request body |
protected boolean | canEqual(Object other) |
boolean | equals(Object o) |
int | hashCode() |
java.util.Map<java.lang.String,java.lang.String> |
headers()
HTTP request headers |
java.lang.String | headerValue(String headerName) |
Http |
httpMethod() |
java.net.___URL |
url()
HTTP request url |
Methods inherited from java.lang.Object
Method Details
body
public String body()
HTTP request body
canEqual
protected boolean canEqual(Object other)
Parameters:
equals
public boolean equals(Object o)
Overrides:
HttpRequest.equals(Object o)Parameters:
hashCode
public int hashCode()
Overrides:
HttpRequest.hashCode()headers
public Map
HTTP request headers
headerValue
public String headerValue(String headerName)
Parameters:
Returns:
httpMethod
public HttpMethod httpMethod()
url
public URL url()
HTTP request url