public interface ClientInfoService
| Modifier and Type | Method and Description |
|---|---|
String |
getClientIp(javax.servlet.http.HttpServletRequest request)
Get the client IP of this request taking into account the X-Forwarded-For header and the "useProxies" setting
|
String |
getClientIp(String remoteIp,
String xForwardedForHeaderValue)
Get the client IP of this request taking into account the X-Forwarded-For header and the "useProxies" setting
|
boolean |
isUseProxiesEnabled()
Does DSpace take into account HTTP proxy headers or not
|
String getClientIp(javax.servlet.http.HttpServletRequest request)
request - The client HTTP requestString getClientIp(String remoteIp, String xForwardedForHeaderValue)
remoteIp - the remote address of the current requestxForwardedForHeaderValue - The value of the X-Forwarded-For headerboolean isUseProxiesEnabled()
Copyright © 2019 DuraSpace. All rights reserved.