Package com.intuit.karate.http
Class Request
- java.lang.Object
-
- com.intuit.karate.http.Request
-
- All Implemented Interfaces:
org.graalvm.polyglot.proxy.Proxy,org.graalvm.polyglot.proxy.ProxyObject
public class Request extends Object implements org.graalvm.polyglot.proxy.ProxyObject
- Author:
- pthomas3
-
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
-
-
-
Method Detail
-
getRequestContext
public com.linecorp.armeria.common.RequestContext getRequestContext()
-
setRequestContext
public void setRequestContext(com.linecorp.armeria.common.RequestContext requestContext)
-
isAjax
public boolean isAjax()
-
isMultiPart
public boolean isMultiPart()
-
getContentType
public String getContentType()
-
getCookies
public List<io.netty.handler.codec.http.cookie.Cookie> getCookies()
-
getParamInt
public int getParamInt(String name)
-
getParamBool
public boolean getParamBool(String name)
-
getParamExists
public boolean getParamExists(String name)
-
getPath
public String getPath()
-
getPathRaw
public String getPathRaw()
-
setUrl
public void setUrl(String url)
-
setStartTime
public void setStartTime(long startTime)
-
getStartTime
public long getStartTime()
-
setEndTime
public void setEndTime(long endTime)
-
getEndTime
public long getEndTime()
-
getUrlAndPath
public String getUrlAndPath()
-
getUrlBase
public String getUrlBase()
-
setUrlBase
public void setUrlBase(String urlBase)
-
setPath
public void setPath(String path)
-
getPathOriginal
public String getPathOriginal()
-
setResourceType
public void setResourceType(ResourceType resourceType)
-
getResourcePath
public String getResourcePath()
-
setResourcePath
public void setResourcePath(String resourcePath)
-
getMethod
public String getMethod()
-
setMethod
public void setMethod(String method)
-
pathMatches
public boolean pathMatches(String pattern)
-
getPathParam
public Object getPathParam()
-
getBody
public byte[] getBody()
-
setBody
public void setBody(byte[] body)
-
getBodyAsString
public String getBodyAsString()
-
getBodyConverted
public Object getBodyConverted()
-
isHttpGetForStaticResource
public boolean isHttpGetForStaticResource()
-
getResourceType
public ResourceType getResourceType()
-
processBody
public void processBody()
-
getMember
public Object getMember(String key)
- Specified by:
getMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
getMemberKeys
public Object getMemberKeys()
- Specified by:
getMemberKeysin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
hasMember
public boolean hasMember(String key)
- Specified by:
hasMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
putMember
public void putMember(String key, org.graalvm.polyglot.Value value)
- Specified by:
putMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
-