Package com.intuit.karate.http
Class HttpRequestBuilder
java.lang.Object
com.intuit.karate.http.HttpRequestBuilder
- All Implemented Interfaces:
org.graalvm.polyglot.proxy.Proxy,org.graalvm.polyglot.proxy.ProxyObject
- Author:
- pthomas3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()contentType(String contentType) cookie(io.netty.handler.codec.http.cookie.Cookie cookie) cookies(Collection<Map> cookies) copy(HttpClient newClient) getBody()getHeaderValues(String name) getPaths()getUri()booleanheaders(org.graalvm.polyglot.Value value) hook()hook(RuntimeHook hook) invoke()booleanisRetry()multiPartJson(String json) voidremoveHeader(String name) reset()voidsetRetryUntil(String retryUntil) toMap()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.graalvm.polyglot.proxy.ProxyObject
removeMember
-
Field Details
-
client
-
-
Constructor Details
-
HttpRequestBuilder
-
-
Method Details
-
reset
-
copy
-
invoke
-
invoke
-
build
-
invoke
-
isRetry
public boolean isRetry() -
getRetryUntil
-
setRetryUntil
-
url
-
method
-
paths
-
path
-
getPaths
-
getBody
-
getHeaders
-
getUri
-
body
-
bodyJson
-
getHeaderValues
-
getHeader
-
getContentType
-
removeHeader
-
header
-
header
-
header
-
headers
-
headers
-
contentType
-
getParam
-
param
-
param
-
params
-
cookies
-
cookie
-
cookie
-
cookie
-
formField
-
multiPartJson
-
multiPart
-
hook
-
hook
-
getMember
- Specified by:
getMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
putMember
- Specified by:
putMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
getMemberKeys
- Specified by:
getMemberKeysin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
hasMember
- Specified by:
hasMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
toString
-
toCurlCommand
-
toMap
-