Package com.restfb
Class WebRequestor.Request
java.lang.Object
com.restfb.WebRequestor.Request
- Enclosing interface:
- WebRequestor
encapsulates the HTTP Request configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()
getReel()
getUrl()
boolean
hasBody()
boolean
boolean
void
setBinaryAttachments
(List<BinaryAttachment> binaryAttachments) void
toString()
-
Constructor Details
-
Request
Simple http request with url and a header access token- Parameters:
url
- the endpoint the request ist directed toheaderAccessToken
- the HTTP header access token (may benull
)
-
Request
Simple http request with url and a header access token- Parameters:
url
- the endpoint the request ist directed toheaderAccessToken
- the HTTP header access token (may benull
)parameters
- the query parameter string
-
Request
public Request(String url, String headerAccessToken, String parameters, List<BinaryAttachment> attachments) Simple http request with url and a header access token- Parameters:
url
- the endpoint the request ist directed toheaderAccessToken
- the HTTP header access token (may benull
)parameters
- the query parameter stringattachments
- list of binary attachments
-
-
Method Details