Class PageLogData
- java.lang.Object
-
- org.apache.wicket.core.request.handler.logger.PageLogData
-
- All Implemented Interfaces:
Serializable
,ILogData
- Direct Known Subclasses:
ListenerLogData
public class PageLogData extends Object implements ILogData
Contains logging data for request handlers that are related to pages; most likelyIPageRequestHandler
orIPageClassRequestHandler
.- Author:
- Emond Papegaaij
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PageLogData(IPageProvider pageProvider)
Construct.PageLogData(Page page)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends IRequestablePage>
getPageClass()
Integer
getPageId()
PageParameters
getPageParameters()
Integer
getRenderCount()
protected <T> T
optional(Supplier<T> function)
Wrapper for optional values that might fail if the page does not exist (i.e.String
toString()
-
-
-
Constructor Detail
-
PageLogData
public PageLogData(IPageProvider pageProvider)
Construct.- Parameters:
pageProvider
-
-
PageLogData
public PageLogData(Page page)
Construct.- Parameters:
page
-
-
-
Method Detail
-
optional
protected <T> T optional(Supplier<T> function)
Wrapper for optional values that might fail if the page does not exist (i.e. session timeout).
-
getPageClass
public final Class<? extends IRequestablePage> getPageClass()
- Returns:
- pageClass
-
getPageParameters
public final PageParameters getPageParameters()
- Returns:
- pageParameters
-
getRenderCount
public final Integer getRenderCount()
- Returns:
- renderCount
-
-