Class ConnectionOptionsDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.serialization.model.ConnectionOptionsDTO
-
- All Implemented Interfaces:
DTO<ConnectionOptions>
public class ConnectionOptionsDTO extends ObjectWithJsonToString implements DTO<ConnectionOptions>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description ConnectionOptionsDTO()
ConnectionOptionsDTO(ConnectionOptions connectionOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionOptions
buildObject()
Boolean
getCloseSocket()
Integer
getContentLengthHeaderOverride()
Boolean
getKeepAliveOverride()
Boolean
getSuppressConnectionHeader()
Boolean
getSuppressContentLengthHeader()
ConnectionOptionsDTO
setCloseSocket(Boolean closeSocket)
ConnectionOptionsDTO
setContentLengthHeaderOverride(Integer contentLengthHeaderOverride)
ConnectionOptionsDTO
setKeepAliveOverride(Boolean keepAliveOverride)
ConnectionOptionsDTO
setSuppressConnectionHeader(Boolean suppressConnectionHeader)
ConnectionOptionsDTO
setSuppressContentLengthHeader(Boolean suppressContentLengthHeader)
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-
-
-
Constructor Detail
-
ConnectionOptionsDTO
public ConnectionOptionsDTO(ConnectionOptions connectionOptions)
-
ConnectionOptionsDTO
public ConnectionOptionsDTO()
-
-
Method Detail
-
buildObject
public ConnectionOptions buildObject()
- Specified by:
buildObject
in interfaceDTO<ConnectionOptions>
-
getSuppressContentLengthHeader
public Boolean getSuppressContentLengthHeader()
-
setSuppressContentLengthHeader
public ConnectionOptionsDTO setSuppressContentLengthHeader(Boolean suppressContentLengthHeader)
-
getContentLengthHeaderOverride
public Integer getContentLengthHeaderOverride()
-
setContentLengthHeaderOverride
public ConnectionOptionsDTO setContentLengthHeaderOverride(Integer contentLengthHeaderOverride)
-
getSuppressConnectionHeader
public Boolean getSuppressConnectionHeader()
-
setSuppressConnectionHeader
public ConnectionOptionsDTO setSuppressConnectionHeader(Boolean suppressConnectionHeader)
-
getKeepAliveOverride
public Boolean getKeepAliveOverride()
-
setKeepAliveOverride
public ConnectionOptionsDTO setKeepAliveOverride(Boolean keepAliveOverride)
-
getCloseSocket
public Boolean getCloseSocket()
-
setCloseSocket
public ConnectionOptionsDTO setCloseSocket(Boolean closeSocket)
-
-