Class HttpTemplateDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.serialization.model.HttpTemplateDTO
-
- All Implemented Interfaces:
DTO<HttpTemplate>
public class HttpTemplateDTO extends ObjectWithReflectiveEqualsHashCodeToString implements DTO<HttpTemplate>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description HttpTemplateDTO()
HttpTemplateDTO(HttpTemplate httpTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpTemplate
buildObject()
DelayDTO
getDelay()
String
getTemplate()
HttpTemplate.TemplateType
getTemplateType()
HttpTemplateDTO
setDelay(DelayDTO delay)
HttpTemplateDTO
setTemplate(String template)
HttpTemplateDTO
setTemplateType(HttpTemplate.TemplateType templateType)
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key, toString
-
-
-
-
Constructor Detail
-
HttpTemplateDTO
public HttpTemplateDTO(HttpTemplate httpTemplate)
-
HttpTemplateDTO
public HttpTemplateDTO()
-
-
Method Detail
-
buildObject
public HttpTemplate buildObject()
- Specified by:
buildObject
in interfaceDTO<HttpTemplate>
-
getTemplateType
public HttpTemplate.TemplateType getTemplateType()
-
setTemplateType
public HttpTemplateDTO setTemplateType(HttpTemplate.TemplateType templateType)
-
getTemplate
public String getTemplate()
-
setTemplate
public HttpTemplateDTO setTemplate(String template)
-
getDelay
public DelayDTO getDelay()
-
setDelay
public HttpTemplateDTO setDelay(DelayDTO delay)
-
-