Package | Description |
---|---|
org.mockserver.model | |
org.mockserver.serialization.java | |
org.mockserver.serialization.model |
Modifier and Type | Method and Description |
---|---|
SocketAddress |
HttpRequest.getSocketAddress() |
static SocketAddress |
SocketAddress.socketAddress()
Static builder to create a socketAddress.
|
SocketAddress |
SocketAddress.withHost(String host)
The host or ip address to use when connecting to the socket to i.e.
|
SocketAddress |
SocketAddress.withPort(Integer port)
The port to use when connecting to the socket i.e.
|
SocketAddress |
SocketAddress.withScheme(SocketAddress.Scheme scheme)
The scheme to use when connecting to the socket, either HTTP or HTTPS.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpRequest.withSocketAddress(SocketAddress socketAddress)
Specify remote address if the remote address can't be derived from the host header,
if no value is specified the host header will be used to determine remote address
|
Modifier and Type | Method and Description |
---|---|
String |
SocketAddressToJavaSerializer.serialize(int numberOfSpacesToIndent,
SocketAddress socketAddress) |
Modifier and Type | Method and Description |
---|---|
SocketAddress |
SocketAddressDTO.buildObject() |
Constructor and Description |
---|
SocketAddressDTO(SocketAddress socketAddress) |
Copyright © 2020. All rights reserved.