public class AccessLogIPAddressUtil extends Object
Constructor and Description |
---|
AccessLogIPAddressUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getRemoteAddr(javax.servlet.http.HttpServletRequest httpServletRequest)
This will return a set of IP addresses that MAY include PROXY forwarded addresses
|
static String |
getShortenedRequestUrl(javax.servlet.http.HttpServletRequest httpServletRequest)
This will shorten the Request URL into something that is more acceptable from a logging point of view
|
public static String getRemoteAddr(javax.servlet.http.HttpServletRequest httpServletRequest)
httpServletRequest
- the request in playpublic static String getShortenedRequestUrl(javax.servlet.http.HttpServletRequest httpServletRequest)
httpServletRequest
- the request in playCopyright © 2002-2019 Atlassian. All Rights Reserved.