| Package | Description |
|---|---|
| com.linecorp.armeria.server |
Server core.
|
| Modifier and Type | Method and Description |
|---|---|
static ClientAddressSource |
ClientAddressSource.ofHeader(CharSequence header)
Returns a
ClientAddressSource which indicates the value of the specified header
in a request will be used to determine a client address. |
static ClientAddressSource |
ClientAddressSource.ofProxyProtocol()
Returns the
ClientAddressSource which indicates the source address specified in
a PROXY protocol message
will be used to determine a client address. |
| Modifier and Type | Method and Description |
|---|---|
List<ClientAddressSource> |
ServerConfig.clientAddressSources()
Returns a list of
ClientAddressSources which are used to determine where to look for
the client address, in the order of preference. |
| Modifier and Type | Method and Description |
|---|---|
ServerBuilder |
ServerBuilder.clientAddressSources(ClientAddressSource... clientAddressSources)
Sets a list of
ClientAddressSources which are used to determine where to look for the
client address, in the order of preference. |
| Modifier and Type | Method and Description |
|---|---|
ServerBuilder |
ServerBuilder.clientAddressSources(Iterable<ClientAddressSource> clientAddressSources)
Sets a list of
ClientAddressSources which are used to determine where to look for the
client address, in the order of preference. |
Copyright © 2020 LeanCloud. All rights reserved.