@GwtIncompatible
public class JavaRestfulRequest
extends org.dominokit.rest.shared.BaseRestfulRequest
RestfulRequest that uses Vert.x WebClient| Constructor and Description |
|---|
JavaRestfulRequest(String uri,
String method) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
JavaRestfulRequest |
addQueryParam(String key,
String value) |
Map<String,String> |
getHeaders() |
protected String |
paramsAsString() |
JavaRestfulRequest |
putHeader(String key,
String value) |
org.dominokit.rest.shared.RestfulRequest |
putHeaders(Map<String,String> headers) |
org.dominokit.rest.shared.RestfulRequest |
putParameters(Map<String,String> parameters) |
void |
send() |
void |
send(String data) |
void |
sendForm(Map<String,String> formData) |
void |
sendJson(String json) |
JavaRestfulRequest |
setQueryParam(String key,
String value) |
org.dominokit.rest.shared.RestfulRequest |
setResponseType(String responseType) |
void |
setWithCredentials(boolean withCredentials) |
org.dominokit.rest.shared.RestfulRequest |
timeout(int timeout) |
addQueryParams, addQueryString, getMethod, getPath, getQuery, getTimeout, getUri, onError, onSuccessprotected String paramsAsString()
paramsAsString in class org.dominokit.rest.shared.BaseRestfulRequestpublic JavaRestfulRequest addQueryParam(String key, String value)
public JavaRestfulRequest setQueryParam(String key, String value)
public JavaRestfulRequest putHeader(String key, String value)
public org.dominokit.rest.shared.RestfulRequest putParameters(Map<String,String> parameters)
public org.dominokit.rest.shared.RestfulRequest timeout(int timeout)
timeout in interface org.dominokit.rest.shared.RestfulRequesttimeout in class org.dominokit.rest.shared.BaseRestfulRequestpublic void sendJson(String json)
public void send(String data)
public void send()
public void abort()
public void setWithCredentials(boolean withCredentials)
public org.dominokit.rest.shared.RestfulRequest setResponseType(String responseType)
Copyright © 2019–2021 Dominokit. All rights reserved.