Class SetRemoteHostInfoAction
- java.lang.Object
-
- org.apache.unomi.plugins.request.actions.SetRemoteHostInfoAction
-
- All Implemented Interfaces:
ActionExecutor
public class SetRemoteHostInfoAction extends Object implements ActionExecutor
-
-
Constructor Summary
Constructors Constructor Description SetRemoteHostInfoAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
execute(Action action, Event event)
UserAgentDetectorServiceImpl
getUserAgentDetectorService()
void
postConstruct()
void
setDefaultLatitude(double defaultLatitude)
void
setDefaultLongitude(double defaultLongitude)
void
setDefaultSessionAdminSubDiv1(Integer defaultSessionAdminSubDiv1)
void
setDefaultSessionAdminSubDiv2(Integer defaultSessionAdminSubDiv2)
void
setDefaultSessionCity(String defaultSessionCity)
void
setDefaultSessionCountryCode(String defaultSessionCountryCode)
void
setDefaultSessionCountryName(String defaultSessionCountryName)
void
setDefaultSessionIsp(String defaultSessionIsp)
void
setPathToGeoLocationDatabase(String pathToGeoLocationDatabase)
void
setUserAgentDetectorService(UserAgentDetectorServiceImpl userAgentDetectorService)
-
-
-
Method Detail
-
getUserAgentDetectorService
public UserAgentDetectorServiceImpl getUserAgentDetectorService()
-
setUserAgentDetectorService
public void setUserAgentDetectorService(UserAgentDetectorServiceImpl userAgentDetectorService)
-
setPathToGeoLocationDatabase
public void setPathToGeoLocationDatabase(String pathToGeoLocationDatabase)
-
setDefaultSessionCountryCode
public void setDefaultSessionCountryCode(String defaultSessionCountryCode)
-
setDefaultSessionCountryName
public void setDefaultSessionCountryName(String defaultSessionCountryName)
-
setDefaultSessionCity
public void setDefaultSessionCity(String defaultSessionCity)
-
setDefaultSessionAdminSubDiv1
public void setDefaultSessionAdminSubDiv1(Integer defaultSessionAdminSubDiv1)
-
setDefaultSessionAdminSubDiv2
public void setDefaultSessionAdminSubDiv2(Integer defaultSessionAdminSubDiv2)
-
setDefaultSessionIsp
public void setDefaultSessionIsp(String defaultSessionIsp)
-
setDefaultLatitude
public void setDefaultLatitude(double defaultLatitude)
-
setDefaultLongitude
public void setDefaultLongitude(double defaultLongitude)
-
execute
public int execute(Action action, Event event)
Description copied from interface:ActionExecutor
- Specified by:
execute
in interfaceActionExecutor
- Parameters:
action
- theAction
to executeevent
- theEvent
that triggered the action- Returns:
- an integer status corresponding to what happened as defined by public constants of
EventService
-
postConstruct
@PostConstruct public void postConstruct()
-
-