-
- All Implemented Interfaces:
-
com.github.lemfi.kest.core.builder.ExecutionBuilder
public final class HttpCallExecutionBuilder<T extends Object> implements ExecutionBuilder<HttpResponse<T>>
-
-
Constructor Summary
Constructors Constructor Description HttpCallExecutionBuilder(Class<T> cls)
-
Method Summary
Modifier and Type Method Description final String
getUrl()
final Unit
setUrl(String url)
final String
getMethod()
final Unit
setMethod(String method)
final Object
getBody()
final Unit
setBody(Object body)
final String
getContentType()
final Unit
setContentType(String contentType)
final Map<String, String>
getHeaders()
final Boolean
getFollowRedirect()
final Unit
setFollowRedirect(Boolean followRedirect)
final Class<T>
getCls()
Execution<HttpResponse<T>>
toExecution()
-
-
Method Detail
-
getContentType
final String getContentType()
-
setContentType
final Unit setContentType(String contentType)
-
getHeaders
final Map<String, String> getHeaders()
-
getFollowRedirect
final Boolean getFollowRedirect()
-
setFollowRedirect
final Unit setFollowRedirect(Boolean followRedirect)
-
toExecution
Execution<HttpResponse<T>> toExecution()
-
-
-
-