-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum LogbackAccessLocalPortStrategy extends Enum<LogbackAccessLocalPortStrategy>
The strategy to change the behavior of IAccessEvent.getLocalPort.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.
LOCALReturns the port number of the interface on which the request was received. Equivalent to ServletRequest.getLocalPort when using a servlet web server.
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-