A B C D E F G H I L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractFileUploadBase - Class in com.helger.web.fileupload.parse
-
High level API for processing file uploads.
- AbstractFileUploadBase() - Constructor for class com.helger.web.fileupload.parse.AbstractFileUploadBase
- AbstractGlobalWebSingleton - Class in com.helger.web.scope.singleton
-
This is the base class for singleton objects that reside in the global scope.
- AbstractGlobalWebSingleton() - Constructor for class com.helger.web.scope.singleton.AbstractGlobalWebSingleton
- AbstractLimitedInputStream - Class in com.helger.web.fileupload.io
-
An input stream, which limits its data size.
- AbstractLimitedInputStream(InputStream, long) - Constructor for class com.helger.web.fileupload.io.AbstractLimitedInputStream
-
Creates a new instance.
- AbstractRequestFieldData - Class in com.helger.web.scope.util
-
Abstract base class for request field data classes.
- AbstractRequestFieldData(String) - Constructor for class com.helger.web.scope.util.AbstractRequestFieldData
-
Default constructor.
- AbstractRequestWebSingleton - Class in com.helger.web.scope.singleton
-
This is the base class for singleton objects that reside in the request scope.
- AbstractRequestWebSingleton() - Constructor for class com.helger.web.scope.singleton.AbstractRequestWebSingleton
- AbstractScopeAwareFilter - Class in com.helger.web.servlets.scope
-
Abstract HTTP servlet filter implementation using the correct scope handling.
- AbstractScopeAwareFilter() - Constructor for class com.helger.web.servlets.scope.AbstractScopeAwareFilter
- AbstractScopeAwareJob - Class in com.helger.web.scope.util
-
Abstract
IJobimplementation that handles request scopes correctly. - AbstractScopeAwareJob() - Constructor for class com.helger.web.scope.util.AbstractScopeAwareJob
- AbstractSessionWebSingleton - Class in com.helger.web.scope.singleton
-
This is the base class for singleton objects that reside in the session web scope.
- AbstractSessionWebSingleton() - Constructor for class com.helger.web.scope.singleton.AbstractSessionWebSingleton
- AbstractThresholdingOutputStream - Class in com.helger.web.fileupload.io
-
An output stream which triggers an event when a specified number of bytes of data have been written to it.
- AbstractThresholdingOutputStream(int) - Constructor for class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Constructs an instance of this class which will trigger an event at the specified threshold.
- AbstractWebScopeAwareTestCase - Class in com.helger.web.scope.mock
-
Base class for JUnit tests where the initialization of the scopes happens before each test execution.
- AbstractWebScopeAwareTestCase() - Constructor for class com.helger.web.scope.mock.AbstractWebScopeAwareTestCase
- addHeader(String, String) - Method in class com.helger.web.fileupload.parse.FileItemHeaders
-
Method to add header values to this instance.
- addSpecialRequestParams() - Method in class com.helger.web.scope.impl.RequestWebScope
-
Callback method to add special parameters.
- addSpecialRequestParams() - Method in class com.helger.web.scope.multipart.RequestWebScopeMultipart
- after() - Method in class com.helger.web.scope.mock.WebScopeTestRule
- afterExecute(JobDataMap, IJobExecutionContext, ESuccess) - Method in class com.helger.web.scope.util.AbstractScopeAwareJob
- afterExecuteInScope(JobDataMap, IJobExecutionContext, ESuccess) - Method in class com.helger.web.scope.util.AbstractScopeAwareJob
-
Called after the job gets executed.
- AndroidFilenameEncoder - Class in com.helger.web.encoding
-
Heuristic Android filename encoder based on Stack Overflow
- AndroidFilenameEncoder() - Constructor for class com.helger.web.encoding.AndroidFilenameEncoder
- areCookiesEnabled() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Check if this request uses a Cookie based session handling (meaning cookies are enabled) or whether the session ID needs to be appended to a URL.
- available() - Method in class com.helger.web.multipart.MultipartStream.MultipartItemInputStream
-
Returns the number of bytes, which are currently available, without blocking.
B
- B - com.helger.web.encoding.RFC2047Helper.ECodec
- before() - Method in class com.helger.web.scope.mock.WebScopeTestRule
- beforeExecute(JobDataMap, IJobExecutionContext) - Method in class com.helger.web.scope.util.AbstractScopeAwareJob
- beforeExecuteInScope(JobDataMap, IJobExecutionContext) - Method in class com.helger.web.scope.util.AbstractScopeAwareJob
-
Called before the job gets executed.
C
- CHARSET_MULTIPART_OBJ - Static variable in class com.helger.web.CWeb
-
Default charset for multipart requests: UTF-8
- CHARSET_REQUEST_OBJ - Static variable in class com.helger.web.CWeb
-
Default charset for requests: UTF-8
- checkFileName(String) - Static method in class com.helger.web.fileupload.io.FileUploadHelper
-
Checks, whether the given file name is valid in the sense, that it doesn't contain any NUL characters.
- checkThreshold(int) - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Checks to see if writing the specified number of bytes would cause the configured threshold to be exceeded.
- close() - Method in class com.helger.web.fileupload.io.AbstractLimitedInputStream
-
Closes this input stream and releases any system resources associated with the stream.
- close() - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Closes this output stream and releases any system resources associated with this stream.
- close() - Method in class com.helger.web.fileupload.io.DeferredFileOutputStream
-
Closes underlying output stream, and mark this as closed
- close() - Method in class com.helger.web.fileupload.parse.FileItemStream
-
Closes the file item.
- close() - Method in class com.helger.web.multipart.MultipartStream.MultipartItemInputStream
-
Closes the input stream but NOT the underlying InputStream.
- close() - Method in class com.helger.web.scope.mgr.WebScoped
- close() - Method in class com.helger.web.scope.request.RequestScopeInitializer
-
Destroy the current request scope if it was initialized here.
- close(boolean) - Method in class com.helger.web.multipart.MultipartStream.MultipartItemInputStream
-
Closes the input stream.
- com.helger.web - package com.helger.web
- com.helger.web.encoding - package com.helger.web.encoding
- com.helger.web.fileupload - package com.helger.web.fileupload
- com.helger.web.fileupload.exception - package com.helger.web.fileupload.exception
- com.helger.web.fileupload.io - package com.helger.web.fileupload.io
- com.helger.web.fileupload.parse - package com.helger.web.fileupload.parse
- com.helger.web.fileupload.servlet - package com.helger.web.fileupload.servlet
- com.helger.web.multipart - package com.helger.web.multipart
- com.helger.web.progress - package com.helger.web.progress
- com.helger.web.scope - package com.helger.web.scope
- com.helger.web.scope.impl - package com.helger.web.scope.impl
- com.helger.web.scope.mgr - package com.helger.web.scope.mgr
- com.helger.web.scope.mock - package com.helger.web.scope.mock
- com.helger.web.scope.multipart - package com.helger.web.scope.multipart
- com.helger.web.scope.request - package com.helger.web.scope.request
- com.helger.web.scope.session - package com.helger.web.scope.session
- com.helger.web.scope.singleton - package com.helger.web.scope.singleton
- com.helger.web.scope.util - package com.helger.web.scope.util
- com.helger.web.servlets.filter - package com.helger.web.servlets.filter
- com.helger.web.servlets.scope - package com.helger.web.servlets.scope
- CompressFilter - Class in com.helger.web.servlets.filter
-
This is a generic filter that first tries to find whether "GZip" is supported, and if this fails, whether "Deflate" is supported.
- CompressFilter() - Constructor for class com.helger.web.servlets.filter.CompressFilter
- contextDestroyed(ServletContextEvent) - Method in class com.helger.web.servlets.scope.WebScopeListener
- contextInitialized(ServletContextEvent) - Method in class com.helger.web.servlets.scope.WebScopeListener
- CR - Static variable in class com.helger.web.multipart.MultipartStream
-
The Carriage Return ASCII character value.
- create(HttpServletRequest, HttpServletResponse, BiFunction<? super HttpServletRequest, ? super HttpServletResponse, IRequestWebScope>) - Static method in class com.helger.web.scope.request.RequestScopeInitializer
- createDefaultMockRequest(MockServletContext) - Static method in class com.helger.web.scope.mock.WebScopeAwareTestSetup
-
Create a new mock request.
- createDefaultMockServletContext() - Static method in class com.helger.web.scope.mock.WebScopeAwareTestSetup
-
Create a new mock servlet context using the context path
WebScopeAwareTestSetup.MOCK_CONTEXT_PATHand no context init parameters. - createDefaultMockServletContext(String, Map<String, String>) - Static method in class com.helger.web.scope.mock.WebScopeAwareTestSetup
-
Create a new mock servlet context.
- createFileItemHeaders() - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Creates a new instance of
IFileItemHeaders. - createInputStream() - Method in class com.helger.web.multipart.MultipartStream
-
Creates a new
MultipartStream.MultipartItemInputStream. - createItem(String, String, boolean, String) - Method in interface com.helger.web.fileupload.IFileItemFactory
-
Create a new
IFileIteminstance from the supplied parameters and any local factory configuration. - createItem(String, String, boolean, String) - Method in class com.helger.web.fileupload.parse.DiskFileItemFactory
-
Create a new
DiskFileIteminstance from the supplied parameters and the local factory configuration. - createItem(String, String, boolean, String) - Method in class com.helger.web.scope.multipart.GlobalDiskFileItemFactory
- createMockHttpServletRequest() - Method in class com.helger.web.scope.util.AbstractScopeAwareJob
- createMockHttpServletResponse() - Method in class com.helger.web.scope.util.AbstractScopeAwareJob
- createMockRequest(MockServletContext) - Method in class com.helger.web.scope.mock.WebScopeTestRule
-
Create a new mock request
- createMockServletContext(String, Map<String, String>) - Method in class com.helger.web.scope.mock.WebScopeTestRule
-
Create a new mock servlet context
- createMultipart(HttpServletRequest, HttpServletResponse) - Static method in class com.helger.web.scope.request.RequestScopeInitializer
- CWeb - Class in com.helger.web
-
Contains some global web constants
D
- DASH - Static variable in class com.helger.web.multipart.MultipartStream
-
The dash (-) ASCII character value.
- decode(String) - Static method in class com.helger.web.encoding.RFC2047Helper
-
Used to decode a string as specified by RFC 2047
- DEFAULT_CHARSET - Static variable in class com.helger.web.encoding.RFC2047Helper
- DEFAULT_CHARSET - Static variable in class com.helger.web.fileupload.parse.DiskFileItem
-
Default content charset to be used when no explicit charset parameter is provided by the sender.
- DEFAULT_CHARSET_OBJ - Static variable in class com.helger.web.fileupload.parse.DiskFileItem
-
Default content charset to be used when no explicit charset parameter is provided by the sender.
- DEFAULT_REPLACEMENT_CHAR - Static variable in class com.helger.web.encoding.AndroidFilenameEncoder
- DEFAULT_SESSION_PASSIVATION_ALLOWED - Static variable in class com.helger.web.scope.mgr.WebScopeManager
- DeferredFileOutputStream - Class in com.helger.web.fileupload.io
-
An output stream which will retain data in memory until a specified threshold is reached, and only then commit it to disk.
- DeferredFileOutputStream(int, File) - Constructor for class com.helger.web.fileupload.io.DeferredFileOutputStream
-
Constructs an instance of this class which will trigger an event at the specified threshold, and save data to a file beyond that point.
- delete() - Method in interface com.helger.web.fileupload.IFileItem
-
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
- delete() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
- deleteAllTemporaryFiles() - Method in class com.helger.web.fileupload.parse.DiskFileItemFactory
- destroyAllWebSessions() - Static method in class com.helger.web.scope.mgr.WebScopeSessionManager
-
Destroy all available web scopes.
- directGet() - Method in interface com.helger.web.fileupload.IFileItem
- directGet() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Returns the contents of the file as an array of bytes.
- discardBodyData() - Method in class com.helger.web.multipart.MultipartStream
-
Reads
body-datafrom the currentencapsulationand discards it. - DiskFileItem - Class in com.helger.web.fileupload.parse
-
The default implementation of the
IFileIteminterface. - DiskFileItem(String, String, boolean, String, int, File) - Constructor for class com.helger.web.fileupload.parse.DiskFileItem
-
Constructs a new
DiskFileIteminstance. - DiskFileItemFactory - Class in com.helger.web.fileupload.parse
-
The default
IFileItemFactoryimplementation. - DiskFileItemFactory(int) - Constructor for class com.helger.web.fileupload.parse.DiskFileItemFactory
- DiskFileItemFactory(int, File) - Constructor for class com.helger.web.fileupload.parse.DiskFileItemFactory
-
Constructs a preconfigured instance of this class.
- doHttpFilter(HttpServletRequest, HttpServletResponse, IRequestWebScope) - Method in class com.helger.web.servlets.scope.AbstractScopeAwareFilter
-
Implement this main filtering method in subclasses.
- doHttpFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.helger.web.servlets.filter.CompressFilter
- doHttpFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.helger.web.servlets.scope.AbstractScopeAwareFilter
E
- encode(String) - Static method in class com.helger.web.encoding.RFC2047Helper
- encode(String, Charset) - Static method in class com.helger.web.encoding.RFC2047Helper
- encode(String, Charset, RFC2047Helper.ECodec) - Static method in class com.helger.web.encoding.RFC2047Helper
-
Used to encode a string as specified by RFC 2047
- encodeRedirectURL(ISimpleURL) - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Encodes the specified URL for use in the
sendRedirectmethod or, if encoding is not needed, returns the URL unchanged. - encodeRedirectURL(String) - Method in class com.helger.web.scope.impl.RequestWebScope
- encodeRedirectURL(String) - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Encodes the specified URL for use in the
sendRedirectmethod or, if encoding is not needed, returns the URL unchanged. - encodeURL(ISimpleURL) - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged.
- encodeURL(String) - Method in class com.helger.web.scope.impl.RequestWebScope
- encodeURL(String) - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged.
- equals(Object) - Method in class com.helger.web.fileupload.FileItemResource
- equals(Object) - Method in class com.helger.web.scope.impl.GlobalWebScope
- equals(Object) - Method in class com.helger.web.scope.impl.RequestWebScope
- equals(Object) - Method in class com.helger.web.scope.impl.SessionWebScope
- equals(Object) - Method in class com.helger.web.scope.multipart.RequestWebScopeMultipart
- equals(Object) - Method in class com.helger.web.scope.util.AbstractRequestFieldData
- equals(Object) - Method in class com.helger.web.scope.util.RequestFieldData
- equals(Object) - Method in class com.helger.web.scope.util.RequestFieldDataMultiValue
- EWebScope - Enum in com.helger.web.scope.mgr
-
This enumeration defines all the possible web scopes including some utility methods on it.
- exists() - Method in class com.helger.web.fileupload.FileItemResource
F
- FileItemHeaders - Class in com.helger.web.fileupload.parse
-
Default implementation of the
IFileItemHeadersinterface. - FileItemHeaders() - Constructor for class com.helger.web.fileupload.parse.FileItemHeaders
- FileItemResource - Class in com.helger.web.fileupload
-
Implementation of the
IReadableResourceinterface for uploadedIFileItemobjects. - FileItemResource(IFileItem) - Constructor for class com.helger.web.fileupload.FileItemResource
- FileItemStream - Class in com.helger.web.fileupload.parse
-
Default implementation of
IFileItemStream. - FileSizeLimitExceededException - Exception in com.helger.web.fileupload.exception
-
Thrown to indicate that A files size exceeds the configured maximum.
- FileSizeLimitExceededException(String, long, long, String, String) - Constructor for exception com.helger.web.fileupload.exception.FileSizeLimitExceededException
-
Constructs a
SizeExceededExceptionwith the specified detail message, and actual and permitted sizes. - FileUpload - Class in com.helger.web.fileupload.parse
-
High level API for processing file uploads.
- FileUpload(IFileItemFactory) - Constructor for class com.helger.web.fileupload.parse.FileUpload
-
Constructs an instance of this class which uses the supplied factory to create
FileIteminstances. - FileUploadException - Exception in com.helger.web.fileupload.exception
-
Exception for errors encountered while processing the request.
- FileUploadException() - Constructor for exception com.helger.web.fileupload.exception.FileUploadException
-
Constructs a new
FileUploadExceptionwithout message. - FileUploadException(String) - Constructor for exception com.helger.web.fileupload.exception.FileUploadException
-
Constructs a new
FileUploadExceptionwith specified detail message. - FileUploadException(String, Throwable) - Constructor for exception com.helger.web.fileupload.exception.FileUploadException
-
Creates a new
FileUploadExceptionwith the given detail message and cause. - FileUploadHelper - Class in com.helger.web.fileupload.io
-
Utility class for working with streams.
- FileUploadIOException - Exception in com.helger.web.fileupload.exception
-
This exception is thrown for hiding an inner
FileUploadExceptionin anIOException. - FileUploadIOException(FileUploadException) - Constructor for exception com.helger.web.fileupload.exception.FileUploadIOException
-
Creates a
FileUploadIOExceptionwith the given cause. - findByte(byte, int) - Method in class com.helger.web.multipart.MultipartStream
-
Searches for a byte of specified value in the
buffer, starting at the specifiedposition. - findSeparator() - Method in class com.helger.web.multipart.MultipartStream
-
Searches for the
boundaryin thebufferregion delimited byheadandtail. - flush() - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Flushes this output stream and forces any buffered output bytes to be written out.
G
- getAllGlobalSingletons() - Static method in class com.helger.web.scope.singleton.AbstractGlobalWebSingleton
-
Get all singleton objects registered in the current global web scope.
- getAllHeaderNames() - Method in interface com.helger.web.fileupload.IFileItemHeaders
-
Returns a
Listof all the header names. - getAllHeaderNames() - Method in class com.helger.web.fileupload.parse.FileItemHeaders
- getAllRequestSingletons() - Static method in class com.helger.web.scope.singleton.AbstractRequestWebSingleton
-
Get all singleton objects registered in the current request web scope.
- getAllSessionSingletons() - Static method in class com.helger.web.scope.singleton.AbstractSessionWebSingleton
-
Get all singleton objects registered in the current session web scope.
- getAllSessionWebScopes() - Static method in class com.helger.web.scope.mgr.WebScopeSessionManager
- getAllTemporaryFiles() - Method in interface com.helger.web.fileupload.IFileItemFactory
- getAllTemporaryFiles() - Method in class com.helger.web.fileupload.parse.DiskFileItemFactory
- getAllTemporaryFiles() - Method in class com.helger.web.scope.multipart.GlobalDiskFileItemFactory
- getAllUploadedFileItems() - Method in interface com.helger.web.scope.IRequestParamContainer
- getAllUploadedFileItemsComplete() - Method in interface com.helger.web.scope.IRequestParamContainer
- getAllUploadedFileItemValues() - Method in interface com.helger.web.scope.IRequestParamContainer
- getAsFile() - Method in class com.helger.web.fileupload.FileItemResource
- getAsFileItem(String) - Method in interface com.helger.web.scope.IRequestParamContainer
-
Get the request attribute denoted by the specified attribute name as an uploaded file item.
- getAsStringTrimmed(String) - Method in interface com.helger.web.scope.IRequestParamContainer
-
Same as
getAsStringbut with a trimmed return value. - getAsStringTrimmed(String, String) - Method in interface com.helger.web.scope.IRequestParamContainer
-
Same as
getAsStringbut with a trimmed return value. - getAsURL() - Method in class com.helger.web.fileupload.FileItemResource
- getAuthType() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the name of the authentication scheme used to protect the servlet.
- getBoundary(String) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Retrieves the boundary from the
Content-typeheader. - getBrowserInfo() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getByteCount() - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Returns the number of bytes that have been written to this output stream.
- getBytesRead() - Method in class com.helger.web.multipart.MultipartStream.MultipartItemInputStream
-
Returns the number of bytes, which have been read by the stream.
- getCharacterEncoding() - Method in interface com.helger.web.fileupload.IRequestContext
-
Retrieve the character encoding for the request.
- getCharacterEncoding() - Method in class com.helger.web.fileupload.servlet.ServletRequestContext
- getCharacterEncoding() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the name of the character encoding used in the body of this request.
- getCharset() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getCharSet() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Returns the content charset passed by the agent or
nullif not defined. - getCleanedValue(String, int, String) - Method in interface com.helger.web.scope.impl.RequestWebScope.IParamValueCleanser
-
Get the cleaned value of a parameter value.
- getContentLength() - Method in interface com.helger.web.fileupload.IRequestContext
-
Retrieve the content length of the request.
- getContentLength() - Method in class com.helger.web.fileupload.servlet.ServletRequestContext
- getContentLength() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known.
- getContentType() - Method in interface com.helger.web.fileupload.IFileItem
- getContentType() - Method in interface com.helger.web.fileupload.IFileItemStream
-
Returns the content type passed by the browser or
nullif not defined. - getContentType() - Method in interface com.helger.web.fileupload.IRequestContext
-
Retrieve the content type of the request.
- getContentType() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getContentType() - Method in class com.helger.web.fileupload.parse.FileItemStream
-
Returns the items content type, or null.
- getContentType() - Method in class com.helger.web.fileupload.servlet.ServletRequestContext
- getContentType() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the MIME type of the body of the request, or
nullif the type is not known. - getContextAndServletPath() - Method in class com.helger.web.scope.impl.RequestWebScope
- getContextAndServletPath() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getContextPath() - Method in class com.helger.web.scope.impl.RequestWebScope
- getContextPath() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getContextPath() - Method in class com.helger.web.scope.mock.WebScopeTestRule
- getCookies() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns an array containing all of the
Cookieobjects the client sent with this request. - getCopy() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getCreationDateTime() - Method in class com.helger.web.scope.impl.GlobalWebScope
- getCreationDateTime() - Method in class com.helger.web.scope.impl.RequestWebScope
- getCreationDateTime() - Method in class com.helger.web.scope.impl.SessionWebScope
- getCreationDateTime() - Method in interface com.helger.web.scope.IWebScope
- getData() - Method in class com.helger.web.fileupload.io.DeferredFileOutputStream
-
Returns the data for this output stream as an array of bytes, assuming that the data has been retained in memory.
- getDataLength() - Method in class com.helger.web.fileupload.io.DeferredFileOutputStream
-
Returns the length of the data for this output stream as number of bytes, assuming that the data has been retained in memory.
- getDefaultValue() - Method in class com.helger.web.scope.util.RequestFieldData
- getDefaultValue() - Method in class com.helger.web.scope.util.SessionBackedRequestFieldData
- getDefaultValues() - Method in class com.helger.web.scope.util.RequestFieldDataMultiValue
- getDefaultValues() - Method in class com.helger.web.scope.util.SessionBackedRequestFieldDataMultiValue
- getEncoded(String) - Method in class com.helger.web.encoding.AndroidFilenameEncoder
- getFieldName() - Method in exception com.helger.web.fileupload.exception.FileSizeLimitExceededException
-
Returns the field name of the item, which caused the exception.
- getFieldName() - Method in interface com.helger.web.fileupload.IFileItem
-
Returns the name of the field in the multipart form corresponding to this file item.
- getFieldName() - Method in interface com.helger.web.fileupload.IFileItemStream
-
Returns the name of the field in the multipart form corresponding to this file item.
- getFieldName() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Returns the name of the field in the multipart form corresponding to this file item.
- getFieldName() - Method in class com.helger.web.fileupload.parse.FileItemStream
-
Returns the items field name.
- getFieldName() - Method in class com.helger.web.scope.util.AbstractRequestFieldData
- getFieldName(IFileItemHeaders) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Retrieves the field name from the
Content-dispositionheader. - getFile() - Method in class com.helger.web.fileupload.io.DeferredFileOutputStream
-
Returns either the output file specified in the constructor or the temporary file created or null.
- getFileItemFactory() - Method in interface com.helger.web.fileupload.IFileItemFactoryProviderSPI
- getFileItemFactory() - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Returns the factory class used when creating file items.
- getFileItemFactory() - Method in class com.helger.web.fileupload.parse.FileUpload
-
Returns the factory class used when creating file items.
- getFileName() - Method in exception com.helger.web.fileupload.exception.FileSizeLimitExceededException
-
Returns the file name of the item, which caused the exception.
- getFileName(IFileItemHeaders) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Retrieves the file name from the
Content-dispositionheader. - getFileSizeMax() - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Returns the maximum allowed size of a single uploaded file, as opposed to
AbstractFileUploadBase.getSizeMax(). - getFullContextAndServletPath() - Method in class com.helger.web.scope.impl.RequestWebScope
- getFullContextAndServletPath() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getFullContextPath() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getFullServerPath() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getGlobalScope() - Static method in class com.helger.web.scope.mgr.WebScopeManager
- getGlobalScopeOrNull() - Static method in class com.helger.web.scope.mgr.WebScopeManager
- getGlobalSingleton(Class<T>) - Static method in class com.helger.web.scope.singleton.AbstractGlobalWebSingleton
-
Get the singleton object in the current global web scope, using the passed class.
- getGlobalSingletonIfInstantiated(Class<T>) - Static method in class com.helger.web.scope.singleton.AbstractGlobalWebSingleton
-
Get the singleton object if it is already instantiated inside the current global web scope or
nullif it is not instantiated. - getHeader(String) - Method in interface com.helger.web.fileupload.IFileItemHeaders
-
Returns the value of the specified part header as a
String. - getHeader(String) - Method in class com.helger.web.fileupload.parse.FileItemHeaders
- getHeaderContentDisposition() - Method in interface com.helger.web.fileupload.IFileItemHeaders
- getHeaderContentDisposition() - Method in class com.helger.web.fileupload.parse.FileItemHeaders
- getHeaderContentLength() - Method in interface com.helger.web.fileupload.IFileItemHeaders
- getHeaderContentLength() - Method in class com.helger.web.fileupload.parse.FileItemHeaders
- getHeaderContentType() - Method in interface com.helger.web.fileupload.IFileItemHeaders
- getHeaderContentType() - Method in class com.helger.web.fileupload.parse.FileItemHeaders
- getHeaderEncoding() - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Retrieves the character encoding used when reading the headers of an individual part.
- getHeaderEncoding() - Method in class com.helger.web.multipart.MultipartStream
-
Retrieves the character encoding used when reading the headers of an individual part.
- getHeaderNames() - Method in interface com.helger.web.fileupload.IFileItemHeaders
-
Returns an
Iteratorof all the header names. - getHeaderNames() - Method in class com.helger.web.fileupload.parse.FileItemHeaders
- getHeaders() - Method in interface com.helger.web.fileupload.IFileItemHeadersSupport
-
Returns the collection of headers defined locally within this item.
- getHeaders() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getHeaders() - Method in class com.helger.web.fileupload.parse.FileItemStream
- getHeaders(String) - Method in interface com.helger.web.fileupload.IFileItemHeaders
-
Returns all the values of the specified item header as an
IteratorofStringobjects. - getHeaders(String) - Method in class com.helger.web.fileupload.parse.FileItemHeaders
- getHttpMethod() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getHttpVersion() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getInputStream() - Method in class com.helger.web.fileupload.FileItemResource
- getInputStream() - Method in interface com.helger.web.fileupload.IFileItem
- getInputStream() - Method in interface com.helger.web.fileupload.IRequestContext
-
Retrieve the input stream for the request.
- getInputStream() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getInputStream() - Method in class com.helger.web.fileupload.servlet.ServletRequestContext
- getInstance() - Static method in class com.helger.web.scope.multipart.GlobalDiskFileItemFactory
- getItemIterator(IRequestContext) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Processes an RFC 1867 compliant
multipart/form-datastream. - getItemIterator(HttpServletRequest) - Method in class com.helger.web.fileupload.servlet.ServletFileUpload
-
Processes an RFC 1867 compliant
multipart/form-datastream. - getLocalAddr() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the Internet Protocol (IP) address of the interface on which the request was received.
- getLocalName() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the host name of the Internet Protocol (IP) interface on which the request was received.
- getLocalPort() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the Internet Protocol (IP) port number of the interface on which the request was received.
- getMemoryOS() - Method in class com.helger.web.fileupload.io.DeferredFileOutputStream
- getMethod() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
- getName() - Method in exception com.helger.web.fileupload.exception.InvalidFileNameException
- getName() - Method in interface com.helger.web.fileupload.IFileItem
-
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
- getName() - Method in interface com.helger.web.fileupload.IFileItemStream
-
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
- getName() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getName() - Method in class com.helger.web.fileupload.parse.FileItemStream
- getNameSecure() - Method in interface com.helger.web.fileupload.IFileItem
-
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
- getNameSecure() - Method in interface com.helger.web.fileupload.IFileItemStream
-
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
- getNameSecure() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getNameSecure() - Method in class com.helger.web.fileupload.parse.FileItemStream
- getNameUnchecked() - Method in interface com.helger.web.fileupload.IFileItem
-
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
- getNameUnchecked() - Method in interface com.helger.web.fileupload.IFileItemStream
-
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
- getNameUnchecked() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getNameUnchecked() - Method in class com.helger.web.fileupload.parse.FileItemStream
- getOutputStream() - Method in interface com.helger.web.fileupload.IFileItem
- getOutputStream() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getOutputStream() - Method in interface com.helger.web.scope.IRequestWebScope
- getParams() - Static method in class com.helger.web.scope.util.AbstractRequestFieldData
-
This is a utility method to always retrieve the correct scope.
- getParamValueCleanser() - Static method in class com.helger.web.scope.impl.RequestWebScope
- getParsedHeaders(String) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Parses the
header-partand returns as key/value pairs. - getPath() - Method in class com.helger.web.fileupload.FileItemResource
- getPathInfo() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns any extra path information associated with the URL the client sent when it made this request.
- getPathTranslated() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns any extra path information after the servlet name but before the query string, and translates it to a real path.
- getPathWithinServlet() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Return the path within the servlet mapping for the given request, i.e. the part of the request's URL beyond the part that called the servlet, or "" if the whole URL has been used to identify the servlet.
- getPathWithinServletContext() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Return the URI of the request within the servlet context.
- getProgressListener() - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Returns the progress listener.
- getProgressListener() - Method in interface com.helger.web.progress.IProgressListenerProviderSPI
- getProgressListener() - Static method in class com.helger.web.progress.ProgressListenerProvider
- getProgressListenerProvider() - Static method in class com.helger.web.progress.ProgressListenerProvider
- getProtocol() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
- getQueryString() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the query string that is contained in the request URL after the path.
- getReadableCloneForPath(String) - Method in class com.helger.web.fileupload.FileItemResource
- getRemoteAddr() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
- getRemoteHost() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the fully qualified name of the client or the last proxy that sent the request.
- getRemotePort() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
- getRemoteUser() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the login of the user making this request, if the user has been authenticated, or
nullif the user has not been authenticated. - getRequest() - Method in class com.helger.web.scope.impl.RequestWebScope
- getRequest() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getRequest() - Method in class com.helger.web.scope.mock.AbstractWebScopeAwareTestCase
- getRequest() - Method in class com.helger.web.scope.mock.WebScopeTestRule
- getRequestParamMap() - Method in class com.helger.web.scope.impl.RequestWebScope
- getRequestParamMap() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getRequestScope() - Method in class com.helger.web.scope.mgr.WebScoped
- getRequestScope() - Static method in class com.helger.web.scope.mgr.WebScopeManager
- getRequestScope() - Method in class com.helger.web.scope.request.RequestScopeInitializer
- getRequestScopeOrNull() - Static method in class com.helger.web.scope.mgr.WebScopeManager
- getRequestSingleton(Class<T>) - Static method in class com.helger.web.scope.singleton.AbstractRequestWebSingleton
-
Get the singleton object in the current request web scope, using the passed class.
- getRequestSingletonIfInstantiated(Class<T>) - Static method in class com.helger.web.scope.singleton.AbstractRequestWebSingleton
-
Get the singleton object if it is already instantiated inside the current request web scope or
nullif it is not instantiated. - getRequestURIDecoded() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Get the request URI without an eventually appended session (";jsessionid=...").
This method considers the GlobalWebScope custom context path.
This method returns the percent decoded parameters Examples of Returned Values First line of HTTP request Returned Value POST /some/pa%3Ath.html;JSESSIONID=4711 /some/pa:th.html GET http://foo.bar/a.html;JSESSIONID=4711 /a.html HEAD /xyz;JSESSIONID=4711? - getRequestURIEncoded() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Get the request URI without an eventually appended session (";jsessionid=...").
This method considers the GlobalWebScope custom context path.
This method returns the percent encoded parameters "as is" Examples of Returned Values First line of HTTP request Returned Value POST /some/pa%3Ath.html;JSESSIONID=4711 /some/pa%3Ath.html GET http://foo.bar/a.html;JSESSIONID=4711 /a.html HEAD /xyz;JSESSIONID=4711? - getRequestURLDecoded() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Reconstructs the URL the client used to make the request.
- getRequestURLEncoded() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Reconstructs the URL the client used to make the request.
- getRequestValue() - Method in class com.helger.web.scope.util.RequestFieldData
-
Get the value of the request - optionally falling back to the provided default value if no such request parameter is present
- getRequestValues() - Method in class com.helger.web.scope.util.RequestFieldDataMultiValue
-
Get the value of the request - optionally falling back to the provided default value if no such request parameter is present
- getRequestValuesWithoutDefault() - Method in class com.helger.web.scope.util.RequestFieldDataMultiValue
-
Helper method to get the request value without falling back to the provided default value.
- getRequestValueWithoutDefault() - Method in class com.helger.web.scope.util.RequestFieldData
-
Helper method to get the request value without falling back to the provided default value.
- getResourceID() - Method in class com.helger.web.fileupload.FileItemResource
- getResponse() - Method in class com.helger.web.scope.impl.RequestWebScope
- getResponse() - Method in interface com.helger.web.scope.IRequestWebScope
- getSafeAndroidFilename(String) - Static method in class com.helger.web.encoding.AndroidFilenameEncoder
- getSafeAndroidFilename(String, char) - Static method in class com.helger.web.encoding.AndroidFilenameEncoder
- getScheme() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the name of the scheme used to make this request, for example,
http,https, orftp. - getScope() - Method in enum com.helger.web.scope.mgr.EWebScope
- getScope(boolean) - Method in enum com.helger.web.scope.mgr.EWebScope
-
Get the current web scope object of this enum entry.
- getScope(EWebScope, boolean) - Static method in enum com.helger.web.scope.mgr.EWebScope
-
Resolve the currently matching web scope of the given
EWebScopevalue. - getServerName() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the host name of the server to which the request was sent.
- getServerPort() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the port number to which the request was sent.
- getServletContext() - Method in interface com.helger.web.scope.IGlobalWebScope
- getServletContext() - Method in class com.helger.web.scope.impl.GlobalWebScope
- getServletContext() - Method in class com.helger.web.scope.mock.AbstractWebScopeAwareTestCase
- getServletContext() - Method in class com.helger.web.scope.mock.WebScopeTestRule
- getServletContextInitParameters() - Method in class com.helger.web.scope.mock.WebScopeTestRule
- getServletPath() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the part of this request's URL that calls the servlet.
- getServletPool() - Method in class com.helger.web.scope.mock.AbstractWebScopeAwareTestCase
- getServletPool() - Method in class com.helger.web.scope.mock.WebScopeTestRule
- getSession() - Method in class com.helger.web.scope.impl.SessionWebScope
- getSession() - Method in interface com.helger.web.scope.ISessionWebScope
-
Get the underlying HTTP session.
- getSession(boolean) - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns the current
HttpSessionassociated with this request or, if there is no current session andcreateis true, returns a new session. - getSession(boolean) - Method in class com.helger.web.scope.mock.AbstractWebScopeAwareTestCase
- getSession(boolean) - Method in class com.helger.web.scope.mock.WebScopeTestRule
- getSessionFieldName() - Method in class com.helger.web.scope.util.SessionBackedRequestFieldData
- getSessionFieldName() - Method in class com.helger.web.scope.util.SessionBackedRequestFieldDataMultiValue
- getSessionID(boolean) - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- getSessionScope() - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
Get or create a session scope based on the current request scope.
- getSessionScope(boolean) - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
Get the session scope from the current request scope.
- getSessionSingleton(Class<T>) - Static method in class com.helger.web.scope.singleton.AbstractSessionWebSingleton
-
Get the singleton object in the current session web scope, using the passed class.
- getSessionSingletonIfInstantiated(Class<T>) - Static method in class com.helger.web.scope.singleton.AbstractSessionWebSingleton
-
Get the singleton object if it is already instantiated inside the current session web scope or
nullif it is not instantiated. - getSessionWebScopeOfID(String) - Static method in class com.helger.web.scope.mgr.WebScopeSessionManager
-
Get the web session scope with the specified ID.
- getSessionWebScopeOfSession(HttpSession) - Static method in class com.helger.web.scope.mgr.WebScopeSessionManager
-
Get the session web scope of the passed HTTP session.
- getSize() - Method in interface com.helger.web.fileupload.IFileItem
- getSize() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Returns the size of the file.
- getSizeMax() - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Returns the maximum allowed size of a complete request, as opposed to
AbstractFileUploadBase.getFileSizeMax(). - getStoreLocation() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Returns the
Fileobject for theFileItem's data's temporary location on the disk. - getStream() - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Returns the underlying output stream, to which the corresponding
OutputStreammethods in this class will ultimately delegate. - getStream() - Method in class com.helger.web.fileupload.io.DeferredFileOutputStream
-
Returns the current output stream.
- getString() - Method in interface com.helger.web.fileupload.IFileItem
-
Returns the contents of the file item as a String, using the default character encoding (if one provided, it is used).
- getString() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getString(Charset) - Method in interface com.helger.web.fileupload.IFileItem
-
Returns the contents of the file item as a String, using the specified encoding.
- getStringWithFallback(Charset) - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Get the string with the charset defined in the content type.
- getTempDirectory() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- getTempFile() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Creates and returns a
Filerepresenting a uniquely named temporary file in the configured repository path. - getThreshold() - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Returns the threshold, in bytes, at which an event will be triggered.
- getURIDecoded() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Get the full URI (excl. protocol and host) and parameters of the current request.
- getURIEncoded() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Get the full URI (excl. protocol and host) and parameters of the current request.
- getURLDecoded() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Get the full URL (incl. protocol) and parameters of the current request.
- getURLEncoded() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Get the full URL (incl. protocol) and parameters of the current request.
- getUserAgent() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Get the user agent object of this HTTP request.
- getUserPrincipal() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns a
java.security.Principalobject containing the name of the current authenticated user. - getWithoutForbiddenChars(String) - Static method in class com.helger.web.scope.impl.RequestWebScope
-
Remove all chars from the input that cannot be serialized as XML.
- getWithoutForbiddenCharsAndNormalized(String) - Static method in class com.helger.web.scope.impl.RequestWebScope
-
First normalize the input according to Unicode rules, so that "O 0xcc 0x88" (O with COMBINING DIAERESIS) becomes "Ö" (Capital O with umlaut).
- GLOBAL - com.helger.web.scope.mgr.EWebScope
-
The global scope.
- GlobalDiskFileItemFactory - Class in com.helger.web.scope.multipart
-
Wrapper around a
DiskFileItemFactory, that is correctly cleaning up, when the servlet context is destroyed. - GlobalDiskFileItemFactory() - Constructor for class com.helger.web.scope.multipart.GlobalDiskFileItemFactory
-
Deprecated.
- GlobalWebScope - Class in com.helger.web.scope.impl
-
Implementation of the
IGlobalWebScopeinterface for web applications. - GlobalWebScope(ServletContext) - Constructor for class com.helger.web.scope.impl.GlobalWebScope
-
Create a new
GlobalWebScope.
H
- handleMultipartFormData(HttpServletRequest, BiConsumer<String, Object>) - Static method in class com.helger.web.scope.multipart.RequestMultipartHelper
-
Parse the provided servlet request as multipart, if the Content-Type starts with
multipart/form-data. - hasCheckBoxValue(String, String, boolean) - Method in interface com.helger.web.scope.IRequestParamContainer
- hashCode() - Method in class com.helger.web.fileupload.FileItemResource
- hashCode() - Method in class com.helger.web.scope.impl.GlobalWebScope
- hashCode() - Method in class com.helger.web.scope.impl.RequestWebScope
- hashCode() - Method in class com.helger.web.scope.impl.SessionWebScope
- hashCode() - Method in class com.helger.web.scope.multipart.RequestWebScopeMultipart
- hashCode() - Method in class com.helger.web.scope.util.AbstractRequestFieldData
- hashCode() - Method in class com.helger.web.scope.util.RequestFieldData
- hashCode() - Method in class com.helger.web.scope.util.RequestFieldDataMultiValue
- hasNext() - Method in interface com.helger.web.fileupload.IFileItemIterator
-
Returns, whether another instance of
IFileItemStreamis available. - hasRequestValue(String) - Method in class com.helger.web.scope.util.RequestFieldData
-
Utility method that checks if the passed expected value matches the request parameter (considering the fallback mechanism)
- hasRequestValues(Collection<String>) - Method in class com.helger.web.scope.util.RequestFieldDataMultiValue
-
Utility method that checks if the passed expected value matches the request parameter (considering the fallback mechanism)
- HEADER_PART_SIZE_MAX - Static variable in class com.helger.web.multipart.MultipartStream
-
The maximum length of
header-partthat will be processed (20 kilobytes = 10240 bytes.). - headers() - Method in class com.helger.web.scope.impl.RequestWebScope
- headers() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
I
- IFileItem - Interface in com.helger.web.fileupload
-
This class represents a file or form item that was received within a
multipart/form-dataPOST request. - IFileItemFactory - Interface in com.helger.web.fileupload
-
A factory interface for creating
IFileIteminstances. - IFileItemFactoryProviderSPI - Interface in com.helger.web.fileupload
-
SPI for a provider of a custom file item factory that should be used instead of the default one.
- IFileItemHeaders - Interface in com.helger.web.fileupload
-
This class provides support for accessing the headers for a file or form item that was received within a
multipart/form-dataPOST request. - IFileItemHeadersSupport - Interface in com.helger.web.fileupload
-
Interface that will indicate that
IFileItemorIFileItemStreamimplementations will accept the headers read for the item. - IFileItemIterator - Interface in com.helger.web.fileupload
-
An iterator, as returned by
AbstractFileUploadBase.getItemIterator(IRequestContext). - IFileItemStream - Interface in com.helger.web.fileupload
-
This interface provides access to a file or form item that was received within a
multipart/form-dataPOST request. - IGlobalWebScope - Interface in com.helger.web.scope
-
Interface for a global web scope.
- init() - Method in class com.helger.web.servlets.filter.CompressFilter
- initListener() - Method in class com.helger.web.scope.mock.WebScopeTestRule
-
This method triggers the initialization of the
MockHttpListener. - initScope() - Method in class com.helger.web.scope.impl.RequestWebScope
- initScope() - Method in class com.helger.web.scope.impl.SessionWebScope
- internalGetOrCreateSessionScope(HttpSession, boolean, boolean) - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
Internal method which does the main logic for session web scope creation
- internalGetSessionScope(boolean, boolean) - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
Get the session scope from the current request scope.
- internalGetSessionScope(IRequestWebScope, boolean, boolean) - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
Get the session scope of the provided request scope.
- internalSetDontDestroyRequestScope() - Method in class com.helger.web.scope.request.RequestScopeInitializer
- InvalidContentTypeException - Exception in com.helger.web.fileupload.exception
-
Thrown to indicate that the request is not a multipart request.
- InvalidContentTypeException(String) - Constructor for exception com.helger.web.fileupload.exception.InvalidContentTypeException
-
Constructs an
InvalidContentTypeExceptionwith the specified detail message. - InvalidFileNameException - Exception in com.helger.web.fileupload.exception
-
This exception is thrown in case of an invalid file name.
- InvalidFileNameException(String, String) - Constructor for exception com.helger.web.fileupload.exception.InvalidFileNameException
-
Creates a new instance.
- IOFileUploadException - Exception in com.helger.web.fileupload.exception
-
Thrown to indicate an IOException.
- IOFileUploadException(String, IOException) - Constructor for exception com.helger.web.fileupload.exception.IOFileUploadException
-
Creates a new instance with the given cause.
- IProgressListener - Interface in com.helger.web.progress
-
The
IProgressListenermay be used to display a progress bar or do stuff like that. - IProgressListenerProviderSPI - Interface in com.helger.web.progress
-
Provider interface for
IProgressListenerinstances. - IRequestContext - Interface in com.helger.web.fileupload
-
Abstracts access to the request information needed for file uploads.
- IRequestParamContainer - Interface in com.helger.web.scope
-
A special request parameter container with support for file items etc.
- IRequestWebScope - Interface in com.helger.web.scope
-
Interface for a single web request scope object that also offers access to the HTTP servlet response.
- IRequestWebScopeWithoutResponse - Interface in com.helger.web.scope
-
Interface for a single web request scope object that does not offer access to the HTTP response.
- isCheckBoxChecked(String, boolean) - Method in interface com.helger.web.scope.IRequestParamContainer
-
Get the value of the checkbox of the request parameter with the given name.
- isClosed() - Method in class com.helger.web.fileupload.io.AbstractLimitedInputStream
-
Returns, whether this stream is already closed.
- isClosed() - Method in class com.helger.web.multipart.MultipartStream.MultipartItemInputStream
-
Returns, whether the stream is closed.
- ISessionWebScope - Interface in com.helger.web.scope
-
Interface for a single session scope object.
- ISessionWebScopeActivationHandler - Interface in com.helger.web.scope.session
-
Interface for session attributes that are notified during session activation.
- ISessionWebScopeDontPassivate - Interface in com.helger.web.scope.session
-
Marker interface for session attributes that avoids an attribute to be passivated.
- ISessionWebScopePassivationHandler - Interface in com.helger.web.scope.session
-
Interface for session attributes that are notified during session passivation.
- isFileBasedRequest(String) - Static method in class com.helger.web.scope.impl.RequestWebScope
-
This is a heuristic method to determine whether a request is for a file (e.g. x.jsp) or for a servlet.
- isForbiddenParamValueChar(char) - Static method in class com.helger.web.scope.impl.RequestWebScope
-
Check if the provided char is forbidden in a request value or not.
- isFormField() - Method in interface com.helger.web.fileupload.IFileItem
-
Determines whether or not a
FileIteminstance represents a simple form field. - isFormField() - Method in interface com.helger.web.fileupload.IFileItemStream
-
Determines whether or not a
FileIteminstance represents a simple form field. - isFormField() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Determines whether or not a
FileIteminstance represents a simple form field. - isFormField() - Method in class com.helger.web.fileupload.parse.FileItemStream
-
Returns, whether this is a form field.
- isGlobalScopePresent() - Static method in class com.helger.web.scope.mgr.WebScopeManager
- isGlobalSingletonInstantiated(Class<? extends AbstractGlobalWebSingleton>) - Static method in class com.helger.web.scope.singleton.AbstractGlobalWebSingleton
-
Check if a singleton is already instantiated inside the current global web scope
- isInMemory() - Method in interface com.helger.web.fileupload.IFileItem
-
Provides a hint as to whether or not the file contents will be read from memory.
- isInMemory() - Method in class com.helger.web.fileupload.io.DeferredFileOutputStream
-
Determines whether or not the data for this output stream has been retained in memory.
- isInMemory() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Provides a hint as to whether or not the file contents will be read from memory.
- isLowerCaseNames() - Method in class com.helger.web.fileupload.parse.ParameterParser
-
Returns
trueif parameter names are to be converted to lower case when name/value pairs are parsed. - isMultipartRequest() - Method in class com.helger.web.scope.multipart.RequestWebScopeMultipart
- isNew() - Method in class com.helger.web.scope.request.RequestScopeInitializer
- isReadMultiple() - Method in class com.helger.web.fileupload.FileItemResource
- isReadMultiple() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- isRequestedSessionIdFromCookie() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Checks whether the requested session ID came in as a cookie.
- isRequestedSessionIdFromURL() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Checks whether the requested session ID came in as part of the request URL.
- isRequestedSessionIdValid() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Checks whether the requested session ID is still valid.
- isRequestScopePresent() - Static method in class com.helger.web.scope.mgr.WebScopeManager
- isRequestSingletonInstantiated(Class<? extends AbstractRequestWebSingleton>) - Static method in class com.helger.web.scope.singleton.AbstractRequestWebSingleton
-
Check if a singleton is already instantiated inside the current request web scope
- isSecure() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
- isSessionPassivationAllowed() - Static method in class com.helger.web.scope.mgr.WebScopeManager
- isSessionSingletonInstantiated(Class<? extends AbstractSessionWebSingleton>) - Static method in class com.helger.web.scope.singleton.AbstractSessionWebSingleton
-
Check if a singleton is already instantiated inside the current session web scope
- isThresholdExceeded() - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Determines whether or not the configured threshold has been exceeded for this output stream.
- isUserInRole(String) - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
-
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
- IWebScope - Interface in com.helger.web.scope
-
Base interface for web scopes.
- IWebSingleton - Interface in com.helger.web.scope.singleton
-
Marker interface for web singletons to easily differentiate them from non-web singletons.
L
- LF - Static variable in class com.helger.web.multipart.MultipartStream
-
The Line Feed ASCII character value.
M
- m_aHttpRequest - Variable in class com.helger.web.scope.impl.RequestWebScope
- m_aHttpResponse - Variable in class com.helger.web.scope.impl.RequestWebScope
- m_aRWLock - Variable in class com.helger.web.fileupload.parse.DiskFileItemFactory
- m_aWebScope - Variable in class com.helger.web.scope.mock.AbstractWebScopeAwareTestCase
-
JUnit test rule
- MAX_REQUEST_SIZE - Static variable in class com.helger.web.scope.multipart.RequestMultipartHelper
-
The maximum size of a single file (in bytes) that will be handled.
- MOCK_CONTEXT - Static variable in class com.helger.web.scope.mock.AbstractWebScopeAwareTestCase
- MOCK_CONTEXT_PATH - Static variable in class com.helger.web.scope.mock.WebScopeAwareTestSetup
-
Mock servlet context name
- MOCK_CONTEXT_PATH - Static variable in class com.helger.web.scope.mock.WebScopeTestRule
-
Mock servlet context name
- MockServletRequestListenerScopeAware - Class in com.helger.web.scope.mock
-
This mock listeners is responsible for creating and destroying the Request Scopes correctly.
- MockServletRequestListenerScopeAware() - Constructor for class com.helger.web.scope.mock.MockServletRequestListenerScopeAware
- MultipartIllegalBoundaryException - Exception in com.helger.web.multipart
-
Thrown upon attempt of setting an invalid boundary token.
- MultipartIllegalBoundaryException(String) - Constructor for exception com.helger.web.multipart.MultipartIllegalBoundaryException
-
Constructs an
IllegalBoundaryExceptionwith the specified detail message. - MultipartItemSkippedException - Exception in com.helger.web.multipart
-
This exception is thrown, if an attempt is made to read data from the
InputStream, which has been returned byIFileItemStream.openStream(), afterIterator.hasNext()has been invoked on the iterator, which created theIFileItemStream. - MultipartItemSkippedException() - Constructor for exception com.helger.web.multipart.MultipartItemSkippedException
- MultipartMalformedStreamException - Exception in com.helger.web.multipart
-
Thrown to indicate that the input stream fails to follow the required syntax.
- MultipartMalformedStreamException() - Constructor for exception com.helger.web.multipart.MultipartMalformedStreamException
-
Constructs a
MalformedStreamExceptionwith no detail message. - MultipartMalformedStreamException(String) - Constructor for exception com.helger.web.multipart.MultipartMalformedStreamException
-
Constructs an
MalformedStreamExceptionwith the specified detail message. - MultipartMalformedStreamException(String, Throwable) - Constructor for exception com.helger.web.multipart.MultipartMalformedStreamException
-
Constructs an
MalformedStreamExceptionwith the specified detail message. - MultipartProgressNotifier - Class in com.helger.web.multipart
-
Internal class, which is used to invoke the
IProgressListener. - MultipartProgressNotifier(IProgressListener, long) - Constructor for class com.helger.web.multipart.MultipartProgressNotifier
-
Creates a new instance with the given listener and content length.
- MultipartStream - Class in com.helger.web.multipart
-
Low level API for processing file uploads.
- MultipartStream(InputStream, byte[], int, MultipartProgressNotifier) - Constructor for class com.helger.web.multipart.MultipartStream
-
Constructs a
MultipartStreamwith a custom size buffer. - MultipartStream(InputStream, byte[], MultipartProgressNotifier) - Constructor for class com.helger.web.multipart.MultipartStream
-
Constructs a
MultipartStreamwith a default size buffer. - MultipartStream.MultipartItemInputStream - Class in com.helger.web.multipart
-
An
InputStreamfor reading an items contents.
N
- next() - Method in interface com.helger.web.fileupload.IFileItemIterator
-
Returns the next available
IFileItemStream.
O
- onDestroy(IScope) - Method in class com.helger.web.scope.multipart.GlobalDiskFileItemFactory
- onEndOfRequest() - Method in interface com.helger.web.fileupload.IFileItem
-
This method is called after the request processing is finalized.
- onEndOfRequest() - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Removes the file contents from the temporary storage.
- onGlobalBegin(ServletContext) - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
To be called, when the global web scope is initialized.
- onGlobalBegin(ServletContext, Function<? super ServletContext, ? extends IGlobalWebScope>) - Static method in class com.helger.web.scope.mgr.WebScopeManager
- onGlobalEnd() - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
To be called, when the global web scope is destroyed.
- onLimitExceeded(long, long) - Method in class com.helger.web.fileupload.io.AbstractLimitedInputStream
-
Called to indicate, that the input streams limit has been exceeded.
- onNextFileItem() - Method in class com.helger.web.multipart.MultipartProgressNotifier
-
Called to indicate, that a new file item has been detected.
- onRequestBegin(HttpServletRequest, HttpServletResponse) - Static method in class com.helger.web.scope.mgr.WebScopeManager
- onRequestBegin(HttpServletRequest, HttpServletResponse, BiFunction<? super HttpServletRequest, ? super HttpServletResponse, T>) - Static method in class com.helger.web.scope.mgr.WebScopeManager
- onRequestEnd() - Static method in class com.helger.web.scope.mgr.WebScopeManager
- onSessionBegin(HttpSession) - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
To be called, when a session web scope is initialized.
- onSessionBegin(HttpSession, Function<? super HttpSession, T>) - Static method in class com.helger.web.scope.mgr.WebScopeManager
- onSessionDidActivate(ISessionWebScope) - Method in interface com.helger.web.scope.session.ISessionWebScopeActivationHandler
-
Invoked after the session was activated.
- onSessionEnd(HttpSession) - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
To be called, when a session web scope is destroyed.
- onSessionWillPassivate(ISessionWebScope) - Method in interface com.helger.web.scope.session.ISessionWebScopePassivationHandler
-
Invoked before the session will be passivated.
- onThresholdReached() - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Indicates that the configured threshold has been reached, and that a subclass should take whatever action necessary on this event.
- onThresholdReached() - Method in class com.helger.web.fileupload.io.DeferredFileOutputStream
-
Switches the underlying output stream from a memory based stream to one that is backed by disk.
- openStream() - Method in interface com.helger.web.fileupload.IFileItemStream
-
Creates an
InputStream, which allows to read the items contents. - openStream() - Method in class com.helger.web.fileupload.parse.FileItemStream
-
Returns an input stream, which may be used to read the items contents.
P
- ParamContainer() - Constructor for class com.helger.web.scope.impl.RequestWebScope.ParamContainer
- ParameterParser - Class in com.helger.web.fileupload.parse
-
A simple parser intended to parse sequences of name/value pairs.
- ParameterParser() - Constructor for class com.helger.web.fileupload.parse.ParameterParser
-
Default ParameterParser constructor.
- params() - Method in class com.helger.web.scope.impl.RequestWebScope
- params() - Method in interface com.helger.web.scope.IRequestWebScopeWithoutResponse
- parse(String, char) - Method in class com.helger.web.fileupload.parse.ParameterParser
-
Extracts a map of name/value pairs from the given string.
- parse(String, char[]) - Method in class com.helger.web.fileupload.parse.ParameterParser
-
Extracts a map of name/value pairs from the given string.
- parseRequest(IRequestContext) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Processes an RFC 1867 compliant
multipart/form-datastream. - parseRequest(HttpServletRequest) - Method in class com.helger.web.fileupload.servlet.ServletFileUpload
-
Processes an RFC 1867 compliant
multipart/form-datastream. - postDestroy() - Method in class com.helger.web.scope.impl.GlobalWebScope
- postDestroy() - Method in class com.helger.web.scope.impl.RequestWebScope
- ProgressListenerProvider - Class in com.helger.web.progress
-
SPI handler for
IProgressListenerProviderSPIimplementations
Q
- Q - com.helger.web.encoding.RFC2047Helper.ECodec
R
- read() - Method in class com.helger.web.fileupload.io.AbstractLimitedInputStream
-
Reads the next byte of data from this input stream.
- read() - Method in class com.helger.web.multipart.MultipartStream.MultipartItemInputStream
-
Returns the next byte in the stream.
- read(byte[], int, int) - Method in class com.helger.web.fileupload.io.AbstractLimitedInputStream
-
Reads up to
lenbytes of data from this input stream into an array of bytes. - read(byte[], int, int) - Method in class com.helger.web.multipart.MultipartStream.MultipartItemInputStream
-
Reads bytes into the given buffer.
- readBodyData() - Method in class com.helger.web.multipart.MultipartStream
-
Reads
body-datafrom the currentencapsulationand writes its contents into the outputStream. - readBoundary() - Method in class com.helger.web.multipart.MultipartStream
-
Skips a
boundarytoken, and checks whether moreencapsulationsare contained in the stream. - readByte() - Method in class com.helger.web.multipart.MultipartStream
-
Reads a byte from the
buffer, and refills it as necessary. - readHeaders() - Method in class com.helger.web.multipart.MultipartStream
-
Reads the
header-partof the currentencapsulation. - renewCurrentSessionScope(boolean) - Static method in class com.helger.web.scope.mgr.WebScopeSessionHelper
-
Renew the current session scope.
- renewSessionScope(HttpSession) - Static method in class com.helger.web.scope.mgr.WebScopeSessionHelper
-
Renew the session scope identified by the passed HTTP session.
- REQUEST - com.helger.web.scope.mgr.EWebScope
-
The request scope.
- requestDestroyed(ServletRequestEvent) - Method in class com.helger.web.scope.mock.MockServletRequestListenerScopeAware
- RequestFieldData - Class in com.helger.web.scope.util
-
Represents a wrapper around a single request value.
- RequestFieldData(RequestFieldData) - Constructor for class com.helger.web.scope.util.RequestFieldData
-
Copy constructor
- RequestFieldData(String) - Constructor for class com.helger.web.scope.util.RequestFieldData
-
Create a new request field that has no default value
- RequestFieldData(String, String) - Constructor for class com.helger.web.scope.util.RequestFieldData
-
Default constructor.
- RequestFieldDataMultiValue - Class in com.helger.web.scope.util
-
Represents a wrapper around a single request value.
- RequestFieldDataMultiValue(RequestFieldDataMultiValue) - Constructor for class com.helger.web.scope.util.RequestFieldDataMultiValue
-
Copy constructor
- RequestFieldDataMultiValue(String) - Constructor for class com.helger.web.scope.util.RequestFieldDataMultiValue
-
Create a new request field that has no default value
- RequestFieldDataMultiValue(String, Collection<String>) - Constructor for class com.helger.web.scope.util.RequestFieldDataMultiValue
-
Default constructor.
- requestInitialized(ServletRequestEvent) - Method in class com.helger.web.scope.mock.MockServletRequestListenerScopeAware
- RequestMultipartHelper - Class in com.helger.web.scope.multipart
- RequestScopeInitializer - Class in com.helger.web.scope.request
-
Internal class from scope aware filter and servlets.
- RequestWebScope - Class in com.helger.web.scope.impl
-
A request web scopes that does not parse multipart requests.
- RequestWebScope(HttpServletRequest, HttpServletResponse) - Constructor for class com.helger.web.scope.impl.RequestWebScope
- RequestWebScope.IParamValueCleanser - Interface in com.helger.web.scope.impl
-
The param value cleanser interface to be used globally.
- RequestWebScope.ParamContainer - Class in com.helger.web.scope.impl
-
Special implementation if
IRequestParamContainerbased onAttributeContainerAny. - RequestWebScopeMultipart - Class in com.helger.web.scope.multipart
-
The default request web scope that also tries to parse multi part requests if the Content-Type matches .
- RequestWebScopeMultipart(HttpServletRequest, HttpServletResponse) - Constructor for class com.helger.web.scope.multipart.RequestWebScopeMultipart
- resetByteCount() - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Resets the byteCount to zero.
- RFC2047Helper - Class in com.helger.web.encoding
-
RFC 2047 Helper.
- RFC2047Helper.ECodec - Enum in com.helger.web.encoding
S
- selfDestruct() - Method in class com.helger.web.scope.impl.SessionWebScope
- ServletFileUpload - Class in com.helger.web.fileupload.servlet
-
High level API for processing file uploads.
- ServletFileUpload(IFileItemFactory) - Constructor for class com.helger.web.fileupload.servlet.ServletFileUpload
-
Constructs an instance of this class which uses the supplied factory to create
FileIteminstances. - ServletRequestContext - Class in com.helger.web.fileupload.servlet
-
Provides access to the request information needed for a request made to an HTTP servlet.
- ServletRequestContext(HttpServletRequest) - Constructor for class com.helger.web.fileupload.servlet.ServletRequestContext
-
Construct a context for this request.
- SESSION - com.helger.web.scope.mgr.EWebScope
-
The session scope
- SessionBackedRequestFieldData - Class in com.helger.web.scope.util
-
A specialized request field that uses a value stored in the session as the default, in case no parameter is passed.
- SessionBackedRequestFieldData(String) - Constructor for class com.helger.web.scope.util.SessionBackedRequestFieldData
- SessionBackedRequestFieldData(String, String) - Constructor for class com.helger.web.scope.util.SessionBackedRequestFieldData
- SessionBackedRequestFieldDataMultiValue - Class in com.helger.web.scope.util
-
A specialized request field that uses a value stored in the session as the default, in case no parameter is passed.
- SessionBackedRequestFieldDataMultiValue(String) - Constructor for class com.helger.web.scope.util.SessionBackedRequestFieldDataMultiValue
- SessionBackedRequestFieldDataMultiValue(String, Collection<String>) - Constructor for class com.helger.web.scope.util.SessionBackedRequestFieldDataMultiValue
- sessionCreated(HttpSessionEvent) - Method in class com.helger.web.servlets.scope.WebScopeListener
- sessionDestroyed(HttpSessionEvent) - Method in class com.helger.web.servlets.scope.WebScopeListener
- sessionDidActivate(HttpSessionEvent) - Method in class com.helger.web.scope.session.SessionWebScopeActivator
- SessionWebScope - Class in com.helger.web.scope.impl
-
Default implementation of the
ISessionWebScopeinterface. - SessionWebScope(HttpSession) - Constructor for class com.helger.web.scope.impl.SessionWebScope
- SessionWebScopeActivator - Class in com.helger.web.scope.session
-
This class is responsible for passivating and activating session web scopes.
- SessionWebScopeActivator() - Constructor for class com.helger.web.scope.session.SessionWebScopeActivator
-
Deprecated.
- SessionWebScopeActivator(ISessionWebScope) - Constructor for class com.helger.web.scope.session.SessionWebScopeActivator
-
Constructor for writing
- sessionWillPassivate(HttpSessionEvent) - Method in class com.helger.web.scope.session.SessionWebScopeActivator
- setBoundary(byte[]) - Method in class com.helger.web.multipart.MultipartStream
-
Changes the boundary token used for partitioning the stream.
- setContextPath(String) - Method in class com.helger.web.scope.mock.WebScopeTestRule
- setFieldName(String) - Method in interface com.helger.web.fileupload.IFileItem
-
Sets the field name used to reference this file item.
- setFieldName(String) - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Sets the field name used to reference this file item.
- setFileSizeMax(long) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Sets the maximum allowed size of a single uploaded file, as opposed to
AbstractFileUploadBase.getSizeMax(). - setFormField(boolean) - Method in interface com.helger.web.fileupload.IFileItem
-
Specifies whether or not a
FileIteminstance represents a simple form field. - setFormField(boolean) - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
Specifies whether or not a
FileIteminstance represents a simple form field. - setHeaderEncoding(String) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Specifies the character encoding to be used when reading the headers of individual part.
- setHeaderEncoding(String) - Method in class com.helger.web.multipart.MultipartStream
-
Specifies the character encoding to be used when reading the headers of individual parts.
- setHeaders(IFileItemHeaders) - Method in interface com.helger.web.fileupload.IFileItemHeadersSupport
-
Sets the headers read from within an item.
- setHeaders(IFileItemHeaders) - Method in class com.helger.web.fileupload.parse.DiskFileItem
- setHeaders(IFileItemHeaders) - Method in class com.helger.web.fileupload.parse.FileItemStream
- setLowerCaseNames(boolean) - Method in class com.helger.web.fileupload.parse.ParameterParser
-
Sets the flag if parameter names are to be converted to lower case when name/value pairs are parsed.
- setParamValueCleanser(RequestWebScope.IParamValueCleanser) - Static method in class com.helger.web.scope.impl.RequestWebScope
-
Set the param value cleanser function that is applied on all parameter values.
- setProgressListener(IProgressListener) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Sets the progress listener.
- setRepository(File) - Method in interface com.helger.web.fileupload.IFileItemFactory
-
Define where to store files
- setRepository(File) - Method in class com.helger.web.fileupload.parse.DiskFileItemFactory
- setRepository(File) - Method in class com.helger.web.scope.multipart.GlobalDiskFileItemFactory
- setServletContextInitParameters(ICommonsMap<String, String>) - Method in class com.helger.web.scope.mock.WebScopeTestRule
- setSessionPassivationAllowed(boolean) - Static method in class com.helger.web.scope.mgr.WebScopeManager
-
Allow or disallow session passivation
- setSizeMax(long) - Method in class com.helger.web.fileupload.parse.AbstractFileUploadBase
-
Sets the maximum allowed size of a complete request, as opposed to
AbstractFileUploadBase.setFileSizeMax(long). - shutdownWebScopeTests(MockHttpServletRequest, MockServletContext) - Static method in class com.helger.web.scope.mock.WebScopeAwareTestSetup
-
Invalidate the passed request and the passed servlet context after the test.
- SizeLimitExceededException - Exception in com.helger.web.fileupload.exception
-
Thrown to indicate that the request size exceeds the configured maximum.
- SizeLimitExceededException(String, long, long) - Constructor for exception com.helger.web.fileupload.exception.SizeLimitExceededException
-
Constructs a
SizeExceededExceptionwith the specified detail message, and actual and permitted sizes. - skip(long) - Method in class com.helger.web.multipart.MultipartStream.MultipartItemInputStream
-
Skips the given number of bytes.
- skipPreamble() - Method in class com.helger.web.multipart.MultipartStream
-
Finds the beginning of the first
encapsulation.
T
- toString() - Method in class com.helger.web.fileupload.FileItemResource
- toString() - Method in class com.helger.web.fileupload.parse.DiskFileItem
- toString() - Method in class com.helger.web.fileupload.parse.FileItemHeaders
- toString() - Method in class com.helger.web.fileupload.servlet.ServletRequestContext
- toString() - Method in class com.helger.web.scope.impl.GlobalWebScope
- toString() - Method in class com.helger.web.scope.impl.RequestWebScope
- toString() - Method in class com.helger.web.scope.impl.SessionWebScope
- toString() - Method in class com.helger.web.scope.mock.WebScopeTestRule
- toString() - Method in class com.helger.web.scope.multipart.GlobalDiskFileItemFactory
- toString() - Method in class com.helger.web.scope.multipart.RequestWebScopeMultipart
- toString() - Method in class com.helger.web.scope.util.AbstractRequestFieldData
- toString() - Method in class com.helger.web.scope.util.RequestFieldData
- toString() - Method in class com.helger.web.scope.util.RequestFieldDataMultiValue
U
- update(long, long, int) - Method in interface com.helger.web.progress.IProgressListener
-
Updates the listeners status information.
V
- valueOf(String) - Static method in enum com.helger.web.encoding.RFC2047Helper.ECodec
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.web.scope.mgr.EWebScope
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.helger.web.encoding.RFC2047Helper.ECodec
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.web.scope.mgr.EWebScope
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WebScopeAwareTestSetup - Class in com.helger.web.scope.mock
-
Contains static initialization methods for web scope tests, that makes it a bit easier to use them without JUnit.
- WebScoped - Class in com.helger.web.scope.mgr
-
Auto closable wrapper around
WebScopeManager.onRequestBegin( HttpServletRequest, HttpServletResponse)andWebScopeManager.onRequestEnd() - WebScoped() - Constructor for class com.helger.web.scope.mgr.WebScoped
- WebScoped(HttpServletRequest) - Constructor for class com.helger.web.scope.mgr.WebScoped
- WebScoped(HttpServletRequest, HttpServletResponse) - Constructor for class com.helger.web.scope.mgr.WebScoped
- WebScopeListener - Class in com.helger.web.servlets.scope
-
A default implementation of a web scope aware
ServletContextListenerandHttpSessionListener. - WebScopeListener() - Constructor for class com.helger.web.servlets.scope.WebScopeListener
- WebScopeManager - Class in com.helger.web.scope.mgr
-
This is the main manager class for web scope handling.
- WebScopeSessionHelper - Class in com.helger.web.scope.mgr
-
Some utility methods to handle complex actions in session scopes.
- WebScopeSessionManager - Class in com.helger.web.scope.mgr
-
This is a specialization of
ScopeSessionManagerfor web scopes. - WebScopeTestRule - Class in com.helger.web.scope.mock
-
JUnit test rule for unit tests requiring web scopes.
- WebScopeTestRule() - Constructor for class com.helger.web.scope.mock.WebScopeTestRule
- WebScopeTestRule(ICommonsMap<String, String>) - Constructor for class com.helger.web.scope.mock.WebScopeTestRule
- write(byte[]) - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Writes
b.lengthbytes from the specified byte array to this output stream. - write(byte[], int, int) - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Writes
lenbytes from the specified byte array starting at offsetoffto this output stream. - write(int) - Method in class com.helger.web.fileupload.io.AbstractThresholdingOutputStream
-
Writes the specified byte to this output stream.
- write(File) - Method in interface com.helger.web.fileupload.IFileItem
-
A convenience method to write an uploaded item to disk.
- write(File) - Method in class com.helger.web.fileupload.parse.DiskFileItem
-
A convenience method to write an uploaded item to disk.
- writeTo(OutputStream) - Method in class com.helger.web.fileupload.io.DeferredFileOutputStream
-
Writes the data from this output stream to the specified output stream, after it has been closed.
All Classes All Packages