Package com.jedox.palojlib.http
Class Request
java.lang.Object
com.jedox.palojlib.http.Request
- Author:
- khaddadin
-
Constructor Summary
ConstructorsConstructorDescriptionRequest
(StringBuilder request, boolean withSession, boolean onlyToken) Request
(StringBuilder request, boolean withSession, boolean onlyToken, boolean needParsing) Request
(StringBuilder request, boolean withSession, boolean onlyToken, boolean needParsing, String postBody) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setResendRequestIfError
(boolean resendRequestIfError) set whether the request should be resent if error occurs
-
Constructor Details
-
Request
-
Request
-
Request
public Request(StringBuilder request, boolean withSession, boolean onlyToken, boolean needParsing, String postBody)
-
-
Method Details
-
getPostBody
-
getWithSession
-
getOnlyToken
-
getNeedParsing
-
getRequest
-
isResendRequestIfError
-
setResendRequestIfError
public void setResendRequestIfError(boolean resendRequestIfError) set whether the request should be resent if error occurs- Parameters:
resendRequestIfError
- whether the request should be resent in case of an error
-