public class AjaxClientInfoBehavior extends AbstractAjaxTimerBehavior
INDICATORINTERFACE| Constructor and Description |
|---|
AjaxClientInfoBehavior()
Constructor.
|
AjaxClientInfoBehavior(Duration duration)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected WebClientInfo |
newWebClientInfo(RequestCycle requestCycle) |
protected void |
onClientInfo(AjaxRequestTarget target,
WebClientInfo clientInfo)
A callback method invoked when the client info is collected.
|
protected void |
onTimer(AjaxRequestTarget target)
Listener method for the AJAX timer event.
|
void |
renderHead(Component component,
IHeaderResponse response)
Render to the web response whatever the component wants to contribute to the head section.
|
protected void |
updateAjaxAttributes(AjaxRequestAttributes attributes)
Gives a chance to the specializations to modify the attributes.
|
getJsTimeoutCall, getUpdateInterval, isStopped, onRemove, onUnbind, respond, restart, setUpdateInterval, shouldTrigger, stopfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, unbindbeforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onExceptionpublic AjaxClientInfoBehavior()
public AjaxClientInfoBehavior(Duration duration)
duration.protected final void onTimer(AjaxRequestTarget target)
AbstractAjaxTimerBehavioronTimer in class AbstractAjaxTimerBehaviortarget - The request targetprotected WebClientInfo newWebClientInfo(RequestCycle requestCycle)
protected void onClientInfo(AjaxRequestTarget target, WebClientInfo clientInfo)
target - The Ajax request handlerclientInfo - The collected info for the clientprotected void updateAjaxAttributes(AjaxRequestAttributes attributes)
AbstractDefaultAjaxBehaviorupdateAjaxAttributes in class AbstractDefaultAjaxBehaviorpublic void renderHead(Component component, IHeaderResponse response)
BehaviorrenderHead in interface IComponentAwareHeaderContributorrenderHead in class AbstractAjaxTimerBehaviorcomponent - component which is contributing to the response. This parameter is here to give
the component as the context for component-awares implementing this interfaceresponse - Response objectBehavior.renderHead(Component,
org.apache.wicket.markup.head.IHeaderResponse)Copyright © 2006–2021 Apache Software Foundation. All rights reserved.