Uses of Class
org.apache.wicket.util.lang.Bytes
Packages that use Bytes
Package
Description
Classes that make debugging Wicket HTML applications easier.
Base package for markup.
HTML Forms and form components.
Java Servlet specific implementation of Wicket http classes.
File utilities.
Base support for resources.
-
Uses of Bytes in org.apache.wicket.core.util.resource
Methods in org.apache.wicket.core.util.resource that return Bytes -
Uses of Bytes in org.apache.wicket.devutils.inspector
Methods in org.apache.wicket.devutils.inspector that return Bytes -
Uses of Bytes in org.apache.wicket.extensions.ajax
Methods in org.apache.wicket.extensions.ajax that return BytesModifier and TypeMethodDescriptionAjaxFileDropBehavior.getFileMaxSize()
AjaxFileDropBehavior.getMaxSize()
Methods in org.apache.wicket.extensions.ajax with parameters of type BytesModifier and TypeMethodDescriptionvoid
AjaxFileDropBehavior.setFileMaxSize
(Bytes fileMaxSize) Set an optional maximum size per file.void
AjaxFileDropBehavior.setMaxSize
(Bytes maxSize) Set the maximum upload size. -
Uses of Bytes in org.apache.wicket.markup
Methods in org.apache.wicket.markup that return Bytes -
Uses of Bytes in org.apache.wicket.markup.html.form
Methods in org.apache.wicket.markup.html.form that return BytesModifier and TypeMethodDescriptionForm.getFileMaxSize()
Gets maximum size for each file of an upload.final Bytes
Form.getMaxSize()
Gets the maximum size for uploads.Methods in org.apache.wicket.markup.html.form with parameters of type BytesModifier and TypeMethodDescriptionvoid
Form.setFileMaxSize
(Bytes fileMaxSize) Sets maximum size of each file in upload request.void
Form.setMaxSize
(Bytes maxSize) Sets the maximum size for uploads. -
Uses of Bytes in org.apache.wicket.pageStore
Methods in org.apache.wicket.pageStore that return BytesModifier and TypeMethodDescriptionAbstractPersistentPageStore.PersistedPage.getPageSize()
IPersistedPage.getPageSize()
Size of page.DiskPageStore.getTotalSize()
FilePageStore.getTotalSize()
InMemoryPageStore.getTotalSize()
IPersistentPageStore.getTotalSize()
Get total size of all pages stored in all contexts.Constructors in org.apache.wicket.pageStore with parameters of type BytesModifierConstructorDescriptionDiskPageStore
(String applicationName, File fileStoreFolder, Bytes maxSizePerSession) Create a store that supportsSerializedPage
s only.FilePageStore
(String applicationName, File fileStoreFolder, Bytes maxSizePerSession) Create a store that supportsSerializedPage
s only.InMemoryPageStore
(String applicationName, Bytes maxBytes) Keep page up tomaxBytes
for each session.InSessionPageStore
(Bytes maxBytes) Keep page up tomaxBytes
persistent in each session.SizeLimitedData
(Bytes maxBytes) -
Uses of Bytes in org.apache.wicket.pageStore.disk
Methods in org.apache.wicket.pageStore.disk that return Bytes -
Uses of Bytes in org.apache.wicket.protocol.http.servlet
Methods in org.apache.wicket.protocol.http.servlet that return BytesModifier and TypeMethodDescriptionMultipartServletWebRequest.getFileMaxSize()
MultipartServletWebRequest.getMaxSize()
Methods in org.apache.wicket.protocol.http.servlet with parameters of type BytesModifier and TypeMethodDescriptionMultipartServletWebRequestImpl.newMultipartWebRequest
(Bytes maxSize, String upload) MultipartServletWebRequestImpl.newMultipartWebRequest
(Bytes maxSize, String upload, org.apache.commons.fileupload2.core.FileItemFactory factory) ServletWebRequest.newMultipartWebRequest
(Bytes maxSize, String upload) Creates multipart web request from this request.ServletWebRequest.newMultipartWebRequest
(Bytes maxSize, String upload, org.apache.commons.fileupload2.core.FileItemFactory factory) Creates multipart web request from this request.void
MultipartServletWebRequest.setFileMaxSize
(Bytes fileMaxSize) void
MultipartServletWebRequest.setMaxSize
(Bytes maxSize) Constructors in org.apache.wicket.protocol.http.servlet with parameters of type BytesModifierConstructorDescriptionMultipartServletWebRequestImpl
(jakarta.servlet.http.HttpServletRequest request, String filterPrefix, Bytes maxSize, String upload) Constructor.MultipartServletWebRequestImpl
(jakarta.servlet.http.HttpServletRequest request, String filterPrefix, Bytes maxSize, String upload, org.apache.commons.fileupload2.core.FileItemFactory factory) Constructor -
Uses of Bytes in org.apache.wicket.request.resource.caching.version
Constructors in org.apache.wicket.request.resource.caching.version with parameters of type BytesModifierConstructorDescriptionMessageDigestResourceVersion
(String algorithm, Bytes bufferSize) create an instance of the message digest resource version provider using the specified algorithm. -
Uses of Bytes in org.apache.wicket.settings
Methods in org.apache.wicket.settings that return BytesModifier and TypeMethodDescriptionApplicationSettings.getDefaultMaximumUploadSize()
Gets the default maximum size for uploads.StoreSettings.getMaxSizePerSession()
Methods in org.apache.wicket.settings with parameters of type BytesModifier and TypeMethodDescriptionApplicationSettings.setDefaultMaximumUploadSize
(Bytes defaultMaximumUploadSize) Sets the default maximum size for uploads.StoreSettings.setMaxSizePerSession
(Bytes maxSizePerSession) Sets the maximum size of theFile
where page instances per session are stored. -
Uses of Bytes in org.apache.wicket.util.file
Methods in org.apache.wicket.util.file that return Bytes -
Uses of Bytes in org.apache.wicket.util.lang
Fields in org.apache.wicket.util.lang declared as BytesMethods in org.apache.wicket.util.lang that return BytesModifier and TypeMethodDescriptionstatic Bytes
Bytes.bytes
(double bytes) Instantiate immutable Bytes value object..static Bytes
Bytes.bytes
(long bytes) Instantiate immutable Bytes value object..static Bytes
Bytes.gigabytes
(double gigabytes) Instantiate immutable Bytes value object..static Bytes
Bytes.gigabytes
(long gigabytes) Instantiate immutable Bytes value object..static Bytes
Bytes.kilobytes
(double kilobytes) Instantiate immutable Bytes value object..static Bytes
Bytes.kilobytes
(long kilobytes) Instantiate immutable Bytes value object..static Bytes
Bytes.megabytes
(double megabytes) Instantiate immutable Bytes value object..static Bytes
Bytes.megabytes
(long megabytes) Instantiate immutable Bytes value object..static Bytes
Bytes.terabytes
(double terabytes) Instantiate immutable Bytes value object..static Bytes
Bytes.terabytes
(long terabytes) Instantiate immutable Bytes value object..static Bytes
Converts a string to a number of bytes.static Bytes
Converts a string to a number of bytes.Methods in org.apache.wicket.util.lang with parameters of type BytesModifier and TypeMethodDescriptionboolean
Bytes.greaterThan
(Bytes other) Compares thisBytes
with anotherBytes
instance. -
Uses of Bytes in org.apache.wicket.util.resource
Methods in org.apache.wicket.util.resource that return BytesModifier and TypeMethodDescriptionAbstractResourceStream.length()
AbstractResourceStreamWriter.length()
Default implementation to returnsnull
, i.e.final Bytes
AbstractStringResourceStream.length()
FileResourceStream.length()
FileSystemResourceStream.length()
IResourceStream.length()
Gets the size of this resourceResourceStreamWrapper.length()
XSLTResourceStream.length()
ZipResourceStream.length()