Session details are only used by AuthenticationHandler
s
which are also deprecated. This will be removed in a future
release.
@Deprecated public interface ClientLocation
Modifier and Type | Interface and Description |
---|---|
static class |
ClientLocation.AddressType
Deprecated.
Indicates the type of internet address.
|
static interface |
ClientLocation.Coordinates
Deprecated.
Represents a client session's geographic coordinates.
|
static interface |
ClientLocation.CountryDetails
Deprecated.
Returns details of the country in which the internet address of the
client was allocated.
|
Modifier and Type | Field and Description |
---|---|
static ClientLocation.Coordinates |
UNKNOWN_COORDINATES
Deprecated.
Unknown coordinates singleton.
|
static ClientLocation.CountryDetails |
UNKNOWN_COUNTRY
Deprecated.
Unknown Country Singleton.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Deprecated.
Returns a string representation of the IP address.
|
ClientLocation.AddressType |
getAddressType()
Deprecated.
Returns the address type.
|
ClientLocation.Coordinates |
getCoordinates()
Deprecated.
Returns the geographic coordinates of the client if this could be
ascertained.
|
ClientLocation.CountryDetails |
getCountryDetails()
Deprecated.
Returns country details.
|
String |
getHostName()
Deprecated.
Returns the host name.
|
String |
getResolvedName()
Deprecated.
Returns the resolved name.
|
static final ClientLocation.CountryDetails UNKNOWN_COUNTRY
static final ClientLocation.Coordinates UNKNOWN_COORDINATES
String getAddress()
String getHostName()
address
will be returned therefore this will never return nullString getResolvedName()
host name
so null will never be returnedClientLocation.CountryDetails getCountryDetails()
ClientLocation.AddressType getAddressType()
ClientLocation.Coordinates getCoordinates()
Copyright © 2020 Push Technology Ltd. All Rights Reserved.