|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
org.torweg.pulse.component.statistics.PageImpressionRecorder
public final class PageImpressionRecorder
takes care of recording a page impression.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
PageImpressionRecorder()
|
|
| Method Summary | |
|---|---|
void |
record(ServiceRequest request)
records the page impressions and returns either JSON ( true), if
the parameter xhr is present, or a 1x1 pixel transparent 8-bit
PNG. |
| Methods inherited from class org.torweg.pulse.bundle.Controller |
|---|
getAlwaysRun, isAlwaysRun, setAlwaysRun |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageImpressionRecorder()
| Method Detail |
|---|
@Action(value="record", generate=true, security=KEEP) @Permission(value="useStatistics") public void record(ServiceRequest request)
true), if
the parameter xhr is present, or a 1x1 pixel transparent 8-bit
PNG.
| request parameter name | description | required |
|---|---|---|
serverId |
numeric server id | true |
path |
the path to be recorded (e.g. the bread-crumb) | true |
ref |
the referer | false |
ip |
the remote ip (only allowed, if the statistics server allows proxies) | false |
x |
the screen x-resolution | false |
y |
the screen y-resolution | false |
xhr |
marks XMLHTTPRequests (will trigger a JSON response of true) | false |
The response is either JSON (true), if the parameter xhr
is present, or a 1x1 pixel transparent 8-bit PNG
request - the current request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||