Uses of Class
org.mockserver.model.ConnectionOptions

Packages that use ConnectionOptions
org.mockserver.client.serialization.model   
org.mockserver.model   
 

Uses of ConnectionOptions in org.mockserver.client.serialization.model
 

Methods in org.mockserver.client.serialization.model that return ConnectionOptions
 ConnectionOptions ConnectionOptionsDTO.buildObject()
           
 

Constructors in org.mockserver.client.serialization.model with parameters of type ConnectionOptions
ConnectionOptionsDTO(ConnectionOptions connectionOptions)
           
 

Uses of ConnectionOptions in org.mockserver.model
 

Methods in org.mockserver.model that return ConnectionOptions
 ConnectionOptions HttpResponse.getConnectionOptions()
           
 ConnectionOptions ConnectionOptions.withCloseSocket(Boolean closeSocket)
          Override whether the socket is closed after a response is sent: if true the socket will always be closed, if false the socket will never be closed, if not set the socket will be closed unless the request received is HTTP 1.1 and contains a "Connection" header with a value of "keep-alive"
 ConnectionOptions ConnectionOptions.withContentLengthHeaderOverride(Integer contentLengthHeaderOverride)
          Override the "Content-Length" header with the specified amount, if not set the "Content-Length" header will have a value determined by the length of the body
 ConnectionOptions ConnectionOptions.withKeepAliveOverride(Boolean keepAliveOverride)
          Override the "Connection" header: if true the "Connection" header is specified with a value of "keep-alive" if false the "Connection" header is specified with a value of "close" if not set the "Connection" header will have a a value of "close" unless the request received is HTTP 1.1 and contains a "Connection" header with a value of "keep-alive"
 ConnectionOptions ConnectionOptions.withSuppressConnectionHeader(Boolean suppressConnectionHeader)
          Prevent a "Connection" header from being added to the response
 ConnectionOptions ConnectionOptions.withSuppressContentLengthHeader(Boolean suppressContentLengthHeader)
          Prevent a "Content-Length" header from being added to the response
 

Methods in org.mockserver.model with parameters of type ConnectionOptions
 HttpResponse HttpResponse.withConnectionOptions(ConnectionOptions connectionOptions)
          The connection options for override the default connection behaviour, this allows full control of headers such as "Connection" or "Content-Length" or controlling whether the socket is closed after the response has been sent
 



Copyright © 2015. All rights reserved.