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
public static final class ResourceReference.LambdaResourceReference extends ResourceReference
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wicket.request.resource.ResourceReference
ResourceReference.Key, ResourceReference.LambdaResourceReference, ResourceReference.UrlAttributes
-
-
Constructor Summary
Constructors Constructor Description LambdaResourceReference(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IResource
getResource()
Returns the resource.-
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 Detail
-
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 Detail
-
getResource
public IResource getResource()
Description copied from class:ResourceReference
Returns the resource.- Specified by:
getResource
in classResourceReference
- Returns:
- resource instance
-
-