Modifier and Type | Method and Description |
---|---|
IResource |
IResourceFactory.newResource(String specification,
Locale locale,
String style,
String variation) |
Modifier and Type | Method and Description |
---|---|
void |
SharedResources.add(Class<?> scope,
String name,
Locale locale,
String style,
String variation,
IResource resource)
Adds a resource.
|
void |
SharedResources.add(String name,
IResource resource)
Adds a resource.
|
void |
SharedResources.add(String name,
Locale locale,
IResource resource)
Adds a resource.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IAuthorizationStrategy.isResourceAuthorized(IResource resource,
PageParameters parameters)
Checks whether a request with some parameters is allowed to a resource.
|
boolean |
IAuthorizationStrategy.AllowAllAuthorizationStrategy.isResourceAuthorized(IResource resource,
PageParameters pageParameters) |
void |
IUnauthorizedResourceRequestListener.onUnauthorizedRequest(IResource resource,
PageParameters parameters)
Called when a request to a given resource is not allowed
|
Modifier and Type | Method and Description |
---|---|
boolean |
CompoundAuthorizationStrategy.isResourceAuthorized(IResource resource,
PageParameters parameters) |
Modifier and Type | Method and Description |
---|---|
boolean |
AnnotationsRoleAuthorizationStrategy.isResourceAuthorized(IResource resource,
PageParameters pageParameters) |
Modifier and Type | Method and Description |
---|---|
IResource |
MapperDemoResourceReference.getResource() |
Modifier and Type | Class and Description |
---|---|
class |
CaptchaImageResource
Generates a captcha image.
|
Modifier and Type | Class and Description |
---|---|
class |
ThumbnailImageResource
Image resource that dynamically scales the given original resource to a thumbnail.
|
Constructor and Description |
---|
ThumbnailImageResource(IResource unscaledImageResource,
int maxSize)
Construct.
|
Modifier and Type | Method and Description |
---|---|
protected IResource |
ImageButton.getImageResource() |
Modifier and Type | Method and Description |
---|---|
void |
ImageButton.setImageResource(IResource imageResource) |
Constructor and Description |
---|
ImageButton(String id,
IResource imageResource)
Constructs an image directly from an image resource.
|
Modifier and Type | Method and Description |
---|---|
protected IResource |
Image.getImageResource() |
Modifier and Type | Method and Description |
---|---|
void |
Image.setImageResource(IResource imageResource) |
void |
Image.setImageResources(IResource... imageResources) |
Constructor and Description |
---|
Image(String id,
IResource imageResource,
IResource... imageResources)
Constructs an image directly from an image resource.
|
Image(String id,
IResource imageResource,
IResource... imageResources)
Constructs an image directly from an image resource.
|
NonCachingImage(String id,
IResource imageResource)
Construct.
|
Source(String id,
IResource... imageResources)
Creates a source for a picture
|
Modifier and Type | Class and Description |
---|---|
class |
BlobImageResource
An ImageResource subclass for dynamic images that come from database BLOB fields.
|
class |
BufferedDynamicImageResource
A DynamicImageResource subclass that holds a BufferedImage generated by code elsewhere.
|
class |
DefaultButtonImageResource
Automatically generates a basic button image.
|
class |
RenderedDynamicImageResource
A DynamicImageResource subclass that allows easy rendering of regeneratable (unbuffered) dynamic
images.
|
Modifier and Type | Method and Description |
---|---|
IResource |
LocalizedImageResource.getResource()
return the resource
|
IResource |
DefaultButtonImageResourceFactory.newResource(String specification,
Locale locale,
String style,
String variation) |
Modifier and Type | Method and Description |
---|---|
void |
LocalizedImageResource.setResource(IResource resource) |
Constructor and Description |
---|
ResourceLink(String id,
IResource resource)
Constructs a link directly to the provided resource.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketResource
An IResource that can be used as WebSocket endpoint
|
Modifier and Type | Method and Description |
---|---|
IResource |
ResourceReferenceRequestHandler.getResource() |
IResource |
ResourceRequestHandler.getResource() |
Constructor and Description |
---|
ResourceRequestHandler(IResource resource,
PageParameters parameters)
Construct.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractResource
Convenience resource implementation.
|
class |
BaseDataResource<T>
An abstract resource that can deliver static data - passed to the constructor,
or dynamic - returned by
BaseDataResource.getData(org.apache.wicket.request.resource.IResource.Attributes) |
class |
ByteArrayResource
An
IResource for byte arrays. |
class |
CharSequenceResource
An
IResource for CharSequences. |
class |
ContextRelativeResource
Resource served from a file relative to the context root.
|
class |
CssPackageResource
Package resource for css files.
|
class |
DynamicImageResource
Base class for dynamically generated ImageResources.
|
class |
JavaScriptPackageResource
Package resource for javascript files.
|
class |
PackageResource
Represents a localizable static resource.
|
class |
ResourceStreamResource
TODO javadoc
|
Modifier and Type | Method and Description |
---|---|
IResource |
SharedResourceReference.getResource() |
IResource |
UrlResourceReference.getResource() |
abstract IResource |
ResourceReference.getResource()
Returns the resource.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IStaticCacheableResource
static resource which does not change for the lifetime of the application and should be
considered a candidate for long-term caching.
|
Modifier and Type | Class and Description |
---|---|
class |
FileSystemResource
Used to provide resources based on the on Java NIO FileSystem API.
For more information see org.apache.wicket.markup.html.media.FileSystemResourceReference |
Modifier and Type | Method and Description |
---|---|
IResource |
FileSystemResourceReference.getResource()
Creates a new
org.apache.wicket.markup.html.media.FileSystemResource and applies the
path to it. |
IResource |
TextTemplateResourceReference.getResource()
Creates a new resource which returns the interpolated value of the text template.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcatBundleResource
A resource that concatenates several resources into one download.
|
Modifier and Type | Method and Description |
---|---|
IResource |
ResourceBundleReference.getResource() |
IResource |
ConcatResourceBundleReference.getResource() |
Modifier and Type | Method and Description |
---|---|
protected String |
DefaultUnauthorizedResourceRequestListener.createErrorMessage(IResource resource,
PageParameters parameters) |
void |
DefaultUnauthorizedResourceRequestListener.onUnauthorizedRequest(IResource resource,
PageParameters parameters) |
Modifier and Type | Method and Description |
---|---|
ResourceReference |
BaseWicketTester.startResource(IResource resource)
Simulates a request to a mounted
IResource |
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.