Enum LogbackAccessLocalPortStrategy

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      LOCAL

      Returns the port number of the interface on which the request was received. Equivalent to ServletRequest.getLocalPort when using a servlet web server.

      SERVER

      Returns 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.