Package | Description |
---|---|
org.mockserver.model | |
org.mockserver.serialization.model |
Modifier and Type | Method and Description |
---|---|
SocketAddress.Scheme |
SocketAddress.getScheme() |
static SocketAddress.Scheme |
SocketAddress.Scheme.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketAddress.Scheme[] |
SocketAddress.Scheme.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
SocketAddress |
SocketAddress.withScheme(SocketAddress.Scheme scheme)
The scheme to use when connecting to the socket, either HTTP or HTTPS.
|
HttpRequest |
HttpRequest.withSocketAddress(String host,
Integer port,
SocketAddress.Scheme scheme)
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 |
---|---|
SocketAddress.Scheme |
SocketAddressDTO.getScheme() |
Modifier and Type | Method and Description |
---|---|
SocketAddressDTO |
SocketAddressDTO.setScheme(SocketAddress.Scheme scheme) |
Copyright © 2020. All rights reserved.