Class GeoLocationResponse
- java.lang.Object
-
- org.apereo.cas.authentication.adaptive.geo.GeoLocationResponse
-
public class GeoLocationResponse extends java.lang.Object
This isGeoLocationResponse
that represents a particular geo location usually calculated from an ip address.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description GeoLocationResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoLocationResponse
addAddress(java.lang.String address)
Add address.java.lang.String
build()
Format the address into a long string.
-
-
-
Method Detail
-
addAddress
public GeoLocationResponse addAddress(java.lang.String address)
Add address.- Parameters:
address
- the address- Returns:
- the geo location response
-
build
public java.lang.String build()
Format the address into a long string.- Returns:
- the string
-
-