public final class HttpRequest extends Object
application/json
.Modifier and Type | Field and Description |
---|---|
byte[] |
content |
Map<String,String> |
headers
May be empty.
|
HttpMethod |
method |
boolean |
negotiate
If
true , Negotiate should be used as the authentication protocol rather than Smartcrypt's own
authentication protocol. |
String |
url |
Constructor and Description |
---|
HttpRequest(String url,
HttpMethod method,
byte[] content,
Map<String,String> headers,
boolean negotiate) |
@Nonnull public final HttpMethod method
@Nullable public final byte[] content
public final boolean negotiate
true
, Negotiate
should be used as the authentication protocol rather than Smartcrypt's own
authentication protocol.