public class CurrentActivityAction
extends org.apache.cocoon.acting.AbstractAction
| Modifier and Type | Class and Description |
|---|---|
static class |
CurrentActivityAction.Event
An object that represents an activity event.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
IP_HEADER
The HTTP header that contains the real IP for this request, this is used when DSpace is placed behind a load balancer
|
static int |
MAX_EVENTS
The maximum number of events that are recorded
|
| Constructor and Description |
|---|
CurrentActivityAction() |
| Modifier and Type | Method and Description |
|---|---|
Map |
act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
org.apache.avalon.framework.parameters.Parameters parameters)
Record this current event.
|
static List<CurrentActivityAction.Event> |
getEvents() |
static boolean |
getRecordAnonymousEvents() |
static boolean |
getRecordBotEvents() |
static void |
setRecordAnonymousEvents(boolean record) |
static void |
setRecordBotEvents(boolean record) |
public static final int MAX_EVENTS
public static final String IP_HEADER
public Map act(org.apache.cocoon.environment.Redirector redirector, org.apache.cocoon.environment.SourceResolver resolver, Map objectModel, String source, org.apache.avalon.framework.parameters.Parameters parameters) throws Exception
Exceptionpublic static List<CurrentActivityAction.Event> getEvents()
public static boolean getRecordAnonymousEvents()
public static void setRecordAnonymousEvents(boolean record)
public static boolean getRecordBotEvents()
public static void setRecordBotEvents(boolean record)
Copyright © 2013 DuraSpace. All Rights Reserved.