Package com.restfb
Class WebRequestor.Request
java.lang.Object
com.restfb.WebRequestor.Request
- Enclosing interface:
- WebRequestor
encapsulates the HTTP Request configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBody()getReel()getUrl()booleanhasBody()booleanbooleanvoidsetBinaryAttachments(List<BinaryAttachment> binaryAttachments) voidtoString()
-
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