Enum LogbackAccessLocalPortStrategy
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum LogbackAccessLocalPortStrategy extends Enum<LogbackAccessLocalPortStrategy>
The strategy to change the behavior of IAccessEvent.getLocalPort.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<LogbackAccessLocalPortStrategy>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCALReturns the port number of the interface on which the request was received. Equivalent to ServletRequest.getLocalPort when using a servlet web server.
SERVERReturns the port number to which the request was sent. Equivalent to ServletRequest.getServerPort when using a servlet web server. Helps to identify the destination port number used by the client when forward headers are enabled.
-
Method Summary
Modifier and Type Method Description final LogbackAccessLocalPortStrategyvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<LogbackAccessLocalPortStrategy>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<LogbackAccessLocalPortStrategy>getEntries()The strategy to change the behavior of IAccessEvent.getLocalPort. -
-
Method Detail
-
valueOf
final LogbackAccessLocalPortStrategy valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<LogbackAccessLocalPortStrategy> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<LogbackAccessLocalPortStrategy> getEntries()
The strategy to change the behavior of IAccessEvent.getLocalPort.
-
-
-
-