Class HttpRequestTemplateObject
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.Not
-
- org.mockserver.model.RequestDefinition
-
- org.mockserver.templates.engine.model.HttpRequestTemplateObject
-
public class HttpRequestTemplateObject extends RequestDefinition
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description HttpRequestTemplateObject(HttpRequest httpRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)StringgetBody()StringgetBodyAsString()Deprecated.List<X509Certificate>getClientCertificateChain()Map<String,String>getCookies()Map<String,List<String>>getHeaders()StringgetJsonRpcId()StringgetJsonRpcMethod()StringgetJsonRpcRawId()BooleangetKeepAlive()StringgetLocalAddress()StringgetMethod()StringgetPath()Map<String,List<String>>getPathParameters()Map<String,List<String>>getQueryStringParameters()StringgetRemoteAddress()BooleangetSecure()inthashCode()HttpRequestTemplateObjectshallowClone()-
Methods inherited from class org.mockserver.model.RequestDefinition
cloneWithLogCorrelationId, getLogCorrelationId, withLogCorrelationId
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
-
-
-
Constructor Detail
-
HttpRequestTemplateObject
public HttpRequestTemplateObject(HttpRequest httpRequest)
-
-
Method Detail
-
getMethod
public String getMethod()
-
getPath
public String getPath()
-
getBody
public String getBody()
-
getBodyAsString
@Deprecated public String getBodyAsString()
Deprecated.
-
getSecure
public Boolean getSecure()
-
getClientCertificateChain
public List<X509Certificate> getClientCertificateChain()
-
getLocalAddress
public String getLocalAddress()
-
getRemoteAddress
public String getRemoteAddress()
-
getKeepAlive
public Boolean getKeepAlive()
-
getJsonRpcId
public String getJsonRpcId()
-
getJsonRpcRawId
public String getJsonRpcRawId()
-
getJsonRpcMethod
public String getJsonRpcMethod()
-
shallowClone
public HttpRequestTemplateObject shallowClone()
- Specified by:
shallowClonein classRequestDefinition
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classRequestDefinition
-
hashCode
public int hashCode()
- Overrides:
hashCodein classRequestDefinition
-
-