public class Request
extends java.lang.Object
Call
,
MultiCall
,
PCloudAPIClient
,
RequestBody
,
Endpoint
Modifier and Type | Class and Description |
---|---|
static class |
Request.Builder
A builder to build a Request with and set all its parameters
|
Modifier and Type | Method and Description |
---|---|
RequestBody |
body()
Returns the RequestBody of this Request
|
static Request.Builder |
create()
Creates a new instance of a Request.Builder to build the Request
|
DataSource |
dataSource()
Returns the DataSource of this Request
|
Endpoint |
endpoint()
|
java.lang.String |
methodName()
Returns the method name for this request
|
Request.Builder |
newRequest()
Returns a new Request.Builder to construct a new Request
|
java.lang.String |
toString()
|
public static Request.Builder create()
public java.lang.String methodName()
public RequestBody body()
public DataSource dataSource()
public Endpoint endpoint()
public Request.Builder newRequest()
public java.lang.String toString()
toString
in class java.lang.Object