Package com.emc.documentum.rest.dfc.util
Class ClientInfoUtil
java.lang.Object
com.emc.documentum.rest.dfc.util.ClientInfoUtil
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getAppName
(jakarta.servlet.http.HttpServletRequest request) static String
getAppName
(org.springframework.web.context.request.ServletRequestAttributes servletRequestAttributes) static String
getClientIPAddr
(jakarta.servlet.http.HttpServletRequest request) static com.documentum.fc.client.impl.connection.docbase.EndUserInfo
getEndUserInfo
(jakarta.servlet.http.HttpServletRequest request) static final com.documentum.fc.client.IDfEnumeration
getNetworkLocationBasedOnClientIP
(jakarta.servlet.http.HttpServletRequest request, boolean ipBasedNetworkLocationEnabled) static Boolean
isRedirectionNotRequired
(org.springframework.web.context.request.ServletRequestAttributes servletRequestAttributes)
-
Field Details
-
IP_regex
- See Also:
-
IP_regexPattern
-
HTTP_HEADER_X_FORWARDED_FOR
- See Also:
-
CLIENT_LOCATION
- See Also:
-
X_CLIENT_APPLICATION_NAME
- See Also:
-
X_CLIENT_LOCATION
- See Also:
-
X_NO_REDIRECTION
- See Also:
-
-
Method Details
-
getNetworkLocationBasedOnClientIP
public static final com.documentum.fc.client.IDfEnumeration getNetworkLocationBasedOnClientIP(jakarta.servlet.http.HttpServletRequest request, boolean ipBasedNetworkLocationEnabled) throws com.documentum.fc.common.DfException - Throws:
com.documentum.fc.common.DfException
-
getClientIPAddr
-
isRedirectionNotRequired
public static Boolean isRedirectionNotRequired(org.springframework.web.context.request.ServletRequestAttributes servletRequestAttributes) -
getAppName
public static String getAppName(org.springframework.web.context.request.ServletRequestAttributes servletRequestAttributes) -
getEndUserInfo
public static com.documentum.fc.client.impl.connection.docbase.EndUserInfo getEndUserInfo(jakarta.servlet.http.HttpServletRequest request) -
getAppName
-