Module org.apache.wicket.core
Class ResourceReference.LambdaResourceReference
java.lang.Object
org.apache.wicket.request.resource.ResourceReference
org.apache.wicket.request.resource.ResourceReference.LambdaResourceReference
- All Implemented Interfaces:
Serializable
,IClusterable
- Enclosing class:
- ResourceReference
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.request.resource.ResourceReference
ResourceReference.Key, ResourceReference.LambdaResourceReference, ResourceReference.UrlAttributes
-
Constructor Summary
ConstructorDescriptionLambdaResourceReference
(String name, org.danekja.java.util.function.serializable.SerializableSupplier<IResource> resourceBuilder) LambdaResourceReference
(ResourceReference.Key key, org.danekja.java.util.function.serializable.SerializableSupplier<IResource> resourceBuilder) -
Method Summary
Methods inherited from class org.apache.wicket.request.resource.ResourceReference
canBeRegistered, equals, getDependencies, getExtension, getKey, getLocale, getName, getScope, getStyle, getUrlAttributes, getVariation, hashCode, of, of, toString
-
Constructor Details
-
LambdaResourceReference
public LambdaResourceReference(String name, org.danekja.java.util.function.serializable.SerializableSupplier<IResource> resourceBuilder) -
LambdaResourceReference
public LambdaResourceReference(ResourceReference.Key key, org.danekja.java.util.function.serializable.SerializableSupplier<IResource> resourceBuilder)
-
-
Method Details
-
getResource
Description copied from class:ResourceReference
Returns the resource.- Specified by:
getResource
in classResourceReference
- Returns:
- resource instance
-