public interface WSRequest
Modifier and Type | Method and Description |
---|---|
WSRequest |
addHeader(java.lang.String name,
java.lang.String value)
Deprecated.
|
WSRequest |
auth(java.lang.String username,
java.lang.String password,
WSAuthScheme scheme)
Deprecated.
|
F.Promise<WSResponse> |
execute() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getAllHeaders() |
byte[] |
getBody()
Get the body.
|
java.util.List<java.lang.String> |
getHeader(java.lang.String name) |
java.lang.String |
getMethod() |
java.lang.String |
getUrl() |
WSRequest |
setHeader(java.lang.String name,
java.lang.String value)
Deprecated.
|
WSRequest |
setHeaders(java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> hdrs)
Deprecated.
|
WSRequest |
setUrl(java.lang.String url)
Deprecated.
|
F.Promise<WSResponse> execute()
java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAllHeaders()
java.lang.String getMethod()
java.util.List<java.lang.String> getHeader(java.lang.String name)
java.lang.String getUrl()
byte[] getBody()
@Deprecated WSRequest setUrl(java.lang.String url)
@Deprecated WSRequest setHeader(java.lang.String name, java.lang.String value)
@Deprecated WSRequest setHeaders(java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> hdrs)
@Deprecated WSRequest addHeader(java.lang.String name, java.lang.String value)
@Deprecated WSRequest auth(java.lang.String username, java.lang.String password, WSAuthScheme scheme)