public class SpringRemoteClientInfo
extends java.lang.Object
implements com.loop54.user.IRemoteClientInfo
Constructor and Description |
---|
SpringRemoteClientInfo(org.springframework.web.context.request.ServletRequestAttributes requestAttributes) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCookie(java.lang.String name) |
java.lang.String |
getReferrer() |
java.lang.String |
getRemoteIp() |
java.lang.String |
getRequestHeader(java.lang.String name) |
java.lang.String |
getUserAgent() |
void |
setCookie(java.lang.String name,
java.lang.String value,
java.time.LocalDateTime expiryTime) |
public SpringRemoteClientInfo(org.springframework.web.context.request.ServletRequestAttributes requestAttributes)
public java.lang.String getRequestHeader(java.lang.String name)
getRequestHeader
in interface com.loop54.user.IRemoteClientInfo
public java.lang.String getReferrer()
getReferrer
in interface com.loop54.user.IRemoteClientInfo
public java.lang.String getUserAgent()
getUserAgent
in interface com.loop54.user.IRemoteClientInfo
public java.lang.String getRemoteIp()
getRemoteIp
in interface com.loop54.user.IRemoteClientInfo
public java.lang.String getCookie(java.lang.String name)
getCookie
in interface com.loop54.user.IRemoteClientInfo
public void setCookie(java.lang.String name, java.lang.String value, java.time.LocalDateTime expiryTime)
setCookie
in interface com.loop54.user.IRemoteClientInfo