Package com.restfb
Klasse WebRequestor.Request
java.lang.Object
com.restfb.WebRequestor.Request
- Umschließende Schnittstelle:
WebRequestor
encapsulates the HTTP Request configuration
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetBody()
getUrl()
boolean
hasBody()
boolean
void
setBinaryAttachments
(List<BinaryAttachment> binaryAttachments) void
toString()
-
Konstruktordetails
-
Request
Simple http request with url and a header access token- Parameter:
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- Parameter:
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- Parameter:
url
- the endpoint the request ist directed toheaderAccessToken
- the HTTP header access token (may benull
)parameters
- the query parameter stringattachments
- list of binary attachments
-
-
Methodendetails