A C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCompressedResponseWrapper - Class in com.helger.servlet.response.gzip
-
Abstract output stream switching
HttpServletResponseWrapper - AbstractCompressedResponseWrapper(HttpServletRequest, HttpServletResponse, String) - Constructor for class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- AbstractCompressedServletOutputStream - Class in com.helger.servlet.response.gzip
-
Special
ServletOutputStreamthat knows whether it is closed or not - AbstractCompressedServletOutputStream(HttpServletRequest, HttpServletResponse, String, long, long) - Constructor for class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- AbstractHttpServletFilter - Class in com.helger.servlet.filter
-
An abstract
Filterimplementation that only works withHttpServletRequestandHttpServletResponse. - AbstractHttpServletFilter() - Constructor for class com.helger.servlet.filter.AbstractHttpServletFilter
- AbstractServletAsyncListener - Class in com.helger.servlet.async
-
An empty implementation of
AsyncListener. - AbstractServletAsyncListener() - Constructor for class com.helger.servlet.async.AbstractServletAsyncListener
- AbstractServletFilter - Class in com.helger.servlet.filter
-
An abstract
Filterimplementation that performs nothing by default - AbstractServletFilter() - Constructor for class com.helger.servlet.filter.AbstractServletFilter
- AbstractServletInputStream - Class in com.helger.servlet.io
-
Abstract base class for Servlet 3.1
ServletInputStream - AbstractServletInputStream() - Constructor for class com.helger.servlet.io.AbstractServletInputStream
- AbstractServletOutputStream - Class in com.helger.servlet.io
-
Abstract base class for Servlet 3.1
ServletOutputStream - AbstractServletOutputStream() - Constructor for class com.helger.servlet.io.AbstractServletOutputStream
- addCookie(Cookie) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- addCookie(Cookie) - Method in class com.helger.servlet.response.UnifiedResponse
-
Add the passed cookie.
- addCookie(Cookie) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Add the passed cookie.
- addCustomResponseHeader(String, String) - Method in class com.helger.servlet.response.UnifiedResponse
-
Adds a response header to the response according to the passed name and value.
- addCustomResponseHeaders(HttpHeaderMap) - Method in class com.helger.servlet.response.UnifiedResponse
-
Add many custom headers at once.
- addDateHeader(String, long) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- addDateHeader(String, long) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- addDefaultListener(EventListener) - Static method in class com.helger.servlet.mock.MockHttpListener
- addFilter(String, Filter) - Method in class com.helger.servlet.mock.MockServletContext
- addFilter(String, Class<? extends Filter>) - Method in class com.helger.servlet.mock.MockServletContext
- addFilter(String, String) - Method in class com.helger.servlet.mock.MockServletContext
- addHeader(String, String) - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- addHeader(String, String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Add a header entry for the given name.
- addHeader(String, String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- addHeader(String, String) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- addHeader(String, String) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- addInitParameter(String, String) - Method in class com.helger.servlet.mock.MockServletConfig
- addInitParameter(String, String) - Method in class com.helger.servlet.mock.MockServletContext
- addIntHeader(String, int) - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- addIntHeader(String, int) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- addIntHeader(String, int) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- addJspFile(String, String) - Method in interface com.helger.servlet.spec.IServletContext310To400Migration
-
Adds the servlet with the given jsp file to this servlet context.
- addListener(Class<? extends EventListener>) - Method in class com.helger.servlet.mock.MockServletContext
- addListener(String) - Method in class com.helger.servlet.mock.MockServletContext
- addListener(EventListener) - Method in class com.helger.servlet.mock.MockEventListenerList
-
Add a new listener.
- addListener(EventListener) - Static method in class com.helger.servlet.mock.MockHttpListener
- addListener(T) - Method in class com.helger.servlet.mock.MockServletContext
- addParameter(String, String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Add a single value for the specified HTTP parameter.
- addParameter(String, String[]) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Add an array of values for the specified HTTP parameter.
- addParameters(List<? extends URLParameter>) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Adds all provided parameters without replacing any existing values.
- addPreferredLocale(Locale) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Add a new preferred locale, before any existing locales.
- addResponseHeader(String, String) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Adds a response header to the response according to the passed name and value.
- addServlet(String, Servlet) - Method in class com.helger.servlet.mock.MockServletContext
- addServlet(String, Class<? extends Servlet>) - Method in class com.helger.servlet.mock.MockServletContext
- addServlet(String, String) - Method in class com.helger.servlet.mock.MockServletContext
- addUserRole(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- ALLOW_FROM - com.helger.servlet.response.EXFrameOptionType
-
The page can only be displayed in a frame on the specified origin.
- applyToAsyncContext(AsyncContext) - Method in class com.helger.servlet.async.ServletAsyncSpec
- applyToResponse(HttpServletResponse) - Method in class com.helger.servlet.response.UnifiedResponse
- AsyncServletRunnerDefault - Class in com.helger.servlet.async
-
Default implementation of
IAsyncServletRunner - AsyncServletRunnerDefault() - Constructor for class com.helger.servlet.async.AsyncServletRunnerDefault
- ATTACHMENT - com.helger.servlet.response.EContentDispositionType
- ATTACHMENT - Static variable in class com.helger.servlet.request.RequestHelper
-
Content-disposition value for file attachment.
- authenticate(HttpServletResponse) - Method in class com.helger.servlet.mock.MockHttpServletRequest
C
- cacheControl() - Method in class com.helger.servlet.response.UnifiedResponse
- changeSessionId() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- CharacterEncodingFilter - Class in com.helger.servlet.filter
-
Special servlet filter that applies a certain encoding to a request and a response.
- CharacterEncodingFilter() - Constructor for class com.helger.servlet.filter.CharacterEncodingFilter
- checkActive() - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Check whether this request is still active (that is, not completed yet), throwing an IllegalStateException if not active anymore.
- clearAttributes() - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Clear all of this request's attributes.
- clearAttributes() - Method in class com.helger.servlet.mock.MockHttpSession
-
Clear all of this session's attributes.
- clearContextPath() - Static method in class com.helger.servlet.ServletContextPathHolder
-
Clears both servlet context and custom context path.
- close() - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Mark this request as completed, keeping its state.
- close() - Method in class com.helger.servlet.mock.MockServletInputStream
- close() - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- com.helger.servlet - package com.helger.servlet
- com.helger.servlet.annotation - package com.helger.servlet.annotation
- com.helger.servlet.async - package com.helger.servlet.async
- com.helger.servlet.cookie - package com.helger.servlet.cookie
- com.helger.servlet.filter - package com.helger.servlet.filter
- com.helger.servlet.http - package com.helger.servlet.http
- com.helger.servlet.io - package com.helger.servlet.io
- com.helger.servlet.logging - package com.helger.servlet.logging
- com.helger.servlet.mock - package com.helger.servlet.mock
- com.helger.servlet.request - package com.helger.servlet.request
- com.helger.servlet.response - package com.helger.servlet.response
- com.helger.servlet.response.gzip - package com.helger.servlet.response.gzip
- com.helger.servlet.session - package com.helger.servlet.session
- com.helger.servlet.spec - package com.helger.servlet.spec
- complete() - Method in class com.helger.servlet.async.ExtAsyncContext
- CompressFilterSettings - Class in com.helger.servlet.response.gzip
-
Contains the settings for the CompressFilter class.
- contains(String...) - Method in interface com.helger.servlet.request.IRequestParamMap
- contains(String...) - Method in class com.helger.servlet.request.RequestParamMap
- containsChild(String) - Method in class com.helger.servlet.request.RequestParamMapItem
- containsCookie(HttpServletRequest, String) - Static method in class com.helger.servlet.cookie.CookieHelper
- containsHeader(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- containsKey(String) - Method in interface com.helger.servlet.request.IRequestParamMap
-
Check if this map, contains the passed key.
- containsKey(String) - Method in class com.helger.servlet.request.RequestParamMap
- CookieHelper - Class in com.helger.servlet.cookie
-
Misc. helper methods on HTTP cookies.
- CountingOnlyHttpServletResponse - Class in com.helger.servlet.http
-
A response that includes no body, for use in (dumb) "HEAD" support.
- CountingOnlyHttpServletResponse(HttpServletResponse) - Constructor for class com.helger.servlet.http.CountingOnlyHttpServletResponse
- CountingOnlyServletOutputStream - Class in com.helger.servlet.http
-
Servlet output stream that gobbles up all its data.
- CountingOnlyServletOutputStream() - Constructor for class com.helger.servlet.http.CountingOnlyServletOutputStream
- create() - Static method in class com.helger.servlet.mock.MockServletContext
-
Create a new
MockServletContext, using no base path and no context path. - create(HttpServletRequest, HttpServletResponse, EHttpVersion, EHttpMethod, ServletAsyncSpec) - Static method in class com.helger.servlet.async.ExtAsyncContext
- create(Object) - Static method in class com.helger.servlet.request.RequestParamMapItem
- create(String) - Static method in class com.helger.servlet.mock.MockServletContext
-
Create a new
MockServletContextusing no base path but the provided context path. - create(String, String) - Static method in class com.helger.servlet.mock.MockServletContext
-
Create a new
MockServletContextusing the provided context path and resource base oath. - create(String, String, IReadableResourceProvider, Map<String, String>) - Static method in class com.helger.servlet.mock.MockServletContext
-
Create a new
MockServletContextwith all possible parameters. - create(String, Map<String, String>) - Static method in class com.helger.servlet.mock.MockServletContext
-
Create a new
MockServletContextusing the provided context path and init parameters. - create(Map<String, Object>) - Static method in class com.helger.servlet.request.RequestParamMap
- create(Map<String, String>) - Static method in class com.helger.servlet.mock.MockServletContext
-
Create a new
MockServletContext, using no base path and no context path using the provided initialization parameters. - createAsync(long, Iterable<? extends AsyncListener>) - Static method in class com.helger.servlet.async.ServletAsyncSpec
-
Create an async spec.
- createAsyncDefault() - Static method in class com.helger.servlet.async.ServletAsyncSpec
-
Create an async spec with 999999 (debug mode) or 30 (production) seconds timeout and no async listeners.
- createCompressedOutputStream(HttpServletRequest, HttpServletResponse, String, long, long) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- createCompressedOutputStream(HttpServletRequest, HttpServletResponse, String, long, long) - Method in class com.helger.servlet.response.gzip.DeflateResponse
- createCompressedOutputStream(HttpServletRequest, HttpServletResponse, String, long, long) - Method in class com.helger.servlet.response.gzip.GZIPResponse
- createContextCookie(String, String, boolean, boolean) - Static method in class com.helger.servlet.cookie.CookieHelper
-
Create a cookie that is bound to the servlet context path within the local web server.
- createCookie(String, String, String, boolean, boolean) - Static method in class com.helger.servlet.cookie.CookieHelper
-
Create a cookie that is bound on a certain path within the local web server.
- createDeflaterOutputStream(OutputStream) - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- createDeflaterOutputStream(OutputStream) - Method in class com.helger.servlet.response.gzip.DeflateResponse.DeflateServletOutputStream
- createDeflaterOutputStream(OutputStream) - Method in class com.helger.servlet.response.gzip.GZIPResponse.GZIPServletOutputStream
- createFilter(Class<T>) - Method in class com.helger.servlet.mock.MockServletContext
- createFromRequest(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestParamMap
- createListener(Class<T>) - Method in class com.helger.servlet.mock.MockServletContext
- createServlet(Class<T>) - Method in class com.helger.servlet.mock.MockServletContext
- createServletConfig(String) - Method in class com.helger.servlet.mock.MockServletContext
-
Create a new
MockServletConfigobject without servlet init parameters. - createServletConfig(String, Map<String, String>) - Method in class com.helger.servlet.mock.MockServletContext
-
Create a new
MockServletConfigobject. - createSimple(HttpServletRequest) - Static method in class com.helger.servlet.response.UnifiedResponse
-
Factory method
D
- debugAppendRequestCookies(HttpServletRequest, StringBuilder) - Static method in class com.helger.servlet.request.RequestLogger
- debugAppendRequestFields(Map<String, String>, StringBuilder) - Static method in class com.helger.servlet.request.RequestLogger
- debugAppendRequestHeader(HttpHeaderMap, StringBuilder) - Static method in class com.helger.servlet.request.RequestLogger
- debugAppendRequestParameters(Map<String, String>, StringBuilder) - Static method in class com.helger.servlet.request.RequestLogger
- declareRoles(String...) - Method in class com.helger.servlet.mock.MockServletContext
- DEFAULT - com.helger.servlet.response.ERedirectMode
-
Use the default httpServletResponse.sendRedirect
- DEFAULT - Static variable in enum com.helger.servlet.response.EXFrameOptionType
- DEFAULT_ALLOW_CONTENT_ON_REDIRECT - Static variable in class com.helger.servlet.response.UnifiedResponse
-
By default content is not allowed on redirect
- DEFAULT_ALLOW_CONTENT_ON_STATUS_CODE - Static variable in class com.helger.servlet.response.UnifiedResponse
-
By default content is not allowed for status codes
- DEFAULT_CHARSET_OBJ - Static variable in class com.helger.servlet.mock.MockHttpServletResponse
- DEFAULT_CHECKBOX_HIDDEN_FIELD_PREFIX - Static variable in class com.helger.servlet.request.RequestHelper
-
The prefix to appended to the field name of the checkbox to create the hidden field.
- DEFAULT_CLOSE - Static variable in class com.helger.servlet.request.RequestParamMap
- DEFAULT_CONTENT_DISPOSITION_TYPE - Static variable in class com.helger.servlet.response.UnifiedResponse
-
Default content disposition type is Attachment
- DEFAULT_ENCODE_URLS - Static variable in class com.helger.servlet.ServletSettings
- DEFAULT_ENCODING - Static variable in class com.helger.servlet.filter.CharacterEncodingFilter
-
The default encoding is UTF-8
- DEFAULT_EXPIRATION_SECONDS - Static variable in class com.helger.servlet.response.ResponseHelperSettings
-
Expires in at least 2 days (which is the minimum to be accepted for real caching in Yahoo Guidelines).
- DEFAULT_FORCE_ENCODING - Static variable in class com.helger.servlet.filter.CharacterEncodingFilter
-
By default the encoding is not enforced.
- DEFAULT_HTTP_HEADER_VALUES_QUOTE_IF_NECESSARY - Static variable in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
By default HTTP header value unification is disabled
- DEFAULT_HTTP_HEADER_VALUES_UNIFIED - Static variable in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
By default HTTP header value unification is enabled
- DEFAULT_INVOKE_HTTP_LISTENER - Static variable in class com.helger.servlet.mock.MockHttpServletRequest
- DEFAULT_LOG_EXCEPTIONS - Static variable in class com.helger.servlet.ServletHelper
- DEFAULT_MAX_AGE_SECONDS - Static variable in class com.helger.servlet.cookie.CookieHelper
- DEFAULT_METHOD - Static variable in class com.helger.servlet.mock.MockHttpServletRequest
-
The default HTTP method: GET
- DEFAULT_MIN_COMPRESSED_SIZE - Static variable in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
-
The minimum size where compression is applied
- DEFAULT_OPEN - Static variable in class com.helger.servlet.request.RequestParamMap
- DEFAULT_PROTOCOL - Static variable in class com.helger.servlet.mock.MockHttpServletRequest
- DEFAULT_REMOTE_ADDR - Static variable in class com.helger.servlet.mock.MockHttpServletRequest
- DEFAULT_REMOTE_HOST - Static variable in class com.helger.servlet.mock.MockHttpServletRequest
- DEFAULT_RESPONSE_COMPRESSION_ENABLED - Static variable in class com.helger.servlet.response.ResponseHelperSettings
- DEFAULT_RESPONSE_DERFLATE_ENABLED - Static variable in class com.helger.servlet.response.ResponseHelperSettings
- DEFAULT_RESPONSE_GZIP_ENABLED - Static variable in class com.helger.servlet.response.ResponseHelperSettings
- DEFAULT_SCHEME - Static variable in class com.helger.servlet.mock.MockHttpServletRequest
- DEFAULT_SERVER_ADDR - Static variable in class com.helger.servlet.mock.MockHttpServletRequest
- DEFAULT_SERVER_NAME - Static variable in class com.helger.servlet.mock.MockHttpServletRequest
- DEFAULT_SERVER_PORT - Static variable in class com.helger.servlet.mock.MockHttpServletRequest
- DEFAULT_SERVER_PORT - Static variable in class com.helger.servlet.mock.MockHttpServletResponse
- DEFAULT_SERVLET_CONTEXT_NAME - Static variable in class com.helger.servlet.mock.MockServletContext
- DEFAULT_SERVLET_CONTEXT_PATH - Static variable in class com.helger.servlet.mock.MockServletContext
- DEFAULT_WARN_ON_DUPLICATE_COOKIES - Static variable in class com.helger.servlet.response.UnifiedResponse
-
By default a warning is emitted on duplicate cookies
- DEFLATE - com.helger.servlet.response.EResponseStreamType
- DeflateResponse - Class in com.helger.servlet.response.gzip
- DeflateResponse(HttpServletRequest, HttpServletResponse, String) - Constructor for class com.helger.servlet.response.gzip.DeflateResponse
- DeflateResponse.DeflateServletOutputStream - Class in com.helger.servlet.response.gzip
- DeflateServletOutputStream(HttpServletRequest, HttpServletResponse, String, long, long) - Constructor for class com.helger.servlet.response.gzip.DeflateResponse.DeflateServletOutputStream
- DENY - com.helger.servlet.response.EXFrameOptionType
-
The page cannot be displayed in a frame, regardless of the site attempting to do so.
- destroy() - Method in class com.helger.servlet.filter.AbstractServletFilter
- directGetChildren() - Method in class com.helger.servlet.request.RequestParamMapItem
- disableCaching() - Method in class com.helger.servlet.response.UnifiedResponse
-
A utility method that disables caching for this response.
- doAccess() - Method in class com.helger.servlet.mock.MockHttpSession
- doCompress(String) - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.helger.servlet.filter.AbstractHttpServletFilter
- doHttpFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.helger.servlet.filter.AbstractHttpServletFilter
-
Implement this main filtering method in subclasses.
- doHttpFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.helger.servlet.filter.CharacterEncodingFilter
- doHttpFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.helger.servlet.logging.LoggingFilter
- doNotCompress(String) - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
E
- EContentDispositionType - Enum in com.helger.servlet.response
-
Determine the content disposition type to be used.
- enableCaching(int) - Method in class com.helger.servlet.response.UnifiedResponse
-
Enable caching of this resource for the specified number of seconds.
- encodeRedirectUrl(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
Deprecated.
- encodeRedirectURL(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
The default implementation returns the given URL String as-is.
- encodeUrl(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
Deprecated.
- encodeURL(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
The default implementation returns the given URL String as-is.
- equals(Object) - Method in class com.helger.servlet.request.RequestParamMap
- equals(Object) - Method in class com.helger.servlet.request.RequestParamMapItem
- ERedirectMode - Enum in com.helger.servlet.response
-
Defines the different redirect modes to be used in
UnifiedResponse. - EResponseStreamType - Enum in com.helger.servlet.response
-
Determine the response stream type to be used.
- EXFrameOptionType - Enum in com.helger.servlet.response
-
The possible values for the X-Frame-Options HTTP header.
- EXPIRES_NEVER_DATETIME - Static variable in class com.helger.servlet.response.ResponseHelperSettings
-
A special date that never expires
- EXPIRES_NEVER_STRING - Static variable in class com.helger.servlet.response.ResponseHelperSettings
-
The string representation of never expires date
- ExtAsyncContext - Class in com.helger.servlet.async
-
Extended
AsyncContexttype. - ExtAsyncContext(AsyncContext, EHttpVersion, EHttpMethod, String, String, String, String, String) - Constructor for class com.helger.servlet.async.ExtAsyncContext
F
- finish() - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- finishAndClose() - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- finishReponseOutputStream(OutputStream) - Static method in class com.helger.servlet.response.ResponseHelper
- flush() - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- flushBuffer() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- flushBuffer() - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- forEachRequestHeader(HttpServletRequest, BiConsumer<String, String>) - Static method in class com.helger.servlet.request.RequestHelper
-
Get a complete request header map as a copy.
- FORM_DATA - Static variable in class com.helger.servlet.request.RequestHelper
-
Content-disposition value for form data.
- forward(ServletRequest, ServletResponse) - Method in class com.helger.servlet.mock.MockRequestDispatcher
G
- getAcceptCharsets(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
- getAcceptEncodings(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
- getAcceptLanguages(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
- getAcceptMimeTypes(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
- getAllAsyncListeners() - Method in class com.helger.servlet.async.ServletAsyncSpec
- getAllAttributes(HttpSession) - Static method in class com.helger.servlet.session.SessionHelper
-
Get all attribute names present in the specified session.
- getAllChildren() - Method in class com.helger.servlet.request.RequestParamMapItem
- getAllCookies() - Method in class com.helger.servlet.response.UnifiedResponse
- getAllCookies() - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
- getAllCookies(HttpServletRequest) - Static method in class com.helger.servlet.cookie.CookieHelper
- getAllHttpSessionListeners() - Method in class com.helger.servlet.mock.MockEventListenerList
- getAllHttpSessionListeners() - Static method in class com.helger.servlet.mock.MockHttpListener
- getAllInitParameters() - Method in class com.helger.servlet.mock.MockServletConfig
- getAllListeners() - Method in class com.helger.servlet.mock.MockEventListenerList
- getAllServletContextListeners() - Method in class com.helger.servlet.mock.MockEventListenerList
- getAllServletContextListeners() - Static method in class com.helger.servlet.mock.MockHttpListener
- getAllServletRequestListeners() - Method in class com.helger.servlet.mock.MockEventListenerList
- getAllServletRequestListeners() - Static method in class com.helger.servlet.mock.MockHttpListener
- getAsObjectMap() - Method in interface com.helger.servlet.request.IRequestParamMap
- getAsObjectMap() - Method in class com.helger.servlet.request.RequestParamMap
- getAsValueMap() - Method in interface com.helger.servlet.request.IRequestParamMap
- getAsValueMap() - Method in class com.helger.servlet.request.RequestParamMap
- getAsValueMap(Map<String, ? extends RequestParamMapItem>) - Static method in class com.helger.servlet.request.RequestParamMap
- getAsValueTrimmedMap() - Method in interface com.helger.servlet.request.IRequestParamMap
- getAsValueTrimmedMap() - Method in class com.helger.servlet.request.RequestParamMap
- getAsValueTrimmedMap(Map<String, ? extends RequestParamMapItem>) - Static method in class com.helger.servlet.request.RequestParamMap
- getAsyncContext() - Method in class com.helger.servlet.async.ExtAsyncContext
- getAsyncContext() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getAttribute(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getAttribute(String) - Method in class com.helger.servlet.mock.MockHttpSession
- getAttribute(String) - Method in class com.helger.servlet.mock.MockServletContext
- getAttributeNames() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getAttributeNames() - Method in class com.helger.servlet.mock.MockHttpSession
- getAttributeNames() - Method in class com.helger.servlet.mock.MockServletContext
- getAuthType() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getAuthType() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getBasicAuthClientCredentials(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the Basic authentication credentials from the passed HTTP servlet request from the HTTP header
CHttpHeader.AUTHORIZATION. - getBestSuitableOutputStream(HttpServletRequest, HttpServletResponse) - Static method in class com.helger.servlet.response.ResponseHelper
-
Get the best suitable output stream for the given combination of request and response.
- getBestSuitableOutputStreamType(HttpServletRequest) - Static method in class com.helger.servlet.response.ResponseHelper
-
Determine the best suitable output stream type for the given request without actually modifying response data.
- getBigDecimal(String...) - Method in interface com.helger.servlet.request.IRequestParamMap
- getBigInteger(String...) - Method in interface com.helger.servlet.request.IRequestParamMap
- getBoolean(String, boolean) - Method in interface com.helger.servlet.request.IRequestParamMap
- getBufferSize() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getCharacterEncoding() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getCharacterEncoding() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getCharacterEncodingObj() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getCharacterEncodingObj() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getCharacterEncodingObjOrDefault() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getCharacterEncodingObjOrDefault() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getCharset() - Method in class com.helger.servlet.response.UnifiedResponse
- getCheckBoxHiddenFieldName(String) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the name of the automatic hidden field associated with a check-box.
- getClassLoader() - Method in class com.helger.servlet.mock.MockServletContext
- getCloseSeparator() - Static method in class com.helger.servlet.request.RequestParamMap
- getContent() - Method in class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- getContentAsByteArray() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getContentAsBytes() - Method in class com.helger.servlet.logging.LoggingHttpServletResponseWrapper
- getContentAsString() - Method in class com.helger.servlet.logging.LoggingHttpServletResponseWrapper
- getContentAsString(Charset) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getContentDispositionFilename() - Method in class com.helger.servlet.response.UnifiedResponse
- getContentDispositionType() - Method in class com.helger.servlet.response.UnifiedResponse
- getContentLength() - Method in class com.helger.servlet.http.CountingOnlyServletOutputStream
- getContentLength() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getContentLength() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getContentLength() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getContentLength(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the content length of the passed request.
- getContentLengthLong() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getContentLengthLong() - Method in interface com.helger.servlet.spec.IServletRequest300To310Migration
-
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 class com.helger.servlet.mock.MockHttpServletRequest
- getContentType() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getContentType() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getContext(String) - Method in class com.helger.servlet.mock.MockServletContext
- getContextPath() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getContextPath() - Method in class com.helger.servlet.mock.MockServletContext
- getContextPath() - Static method in class com.helger.servlet.ServletContextPathHolder
-
Returns the context path of the web application.
- getContextPath() - Method in class com.helger.servlet.StaticServerInfo
- getContextPathOrNull() - Static method in class com.helger.servlet.ServletContextPathHolder
-
Returns the context path of the web application.
- getCookie(HttpServletRequest, String) - Static method in class com.helger.servlet.cookie.CookieHelper
- getCookie(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getCookies() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getCookies() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getCookieValue(Cookie) - Static method in class com.helger.servlet.request.RequestLogger
- getCreationTime() - Method in class com.helger.servlet.mock.MockHttpSession
- getCurrentMockResponse() - Method in class com.helger.servlet.mock.MockServletRequestListener
- getCustomContextPath() - Static method in class com.helger.servlet.ServletContextPathHolder
- getDateHeader(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Deprecated.
- getDefaultServerPort(String) - Static method in class com.helger.servlet.request.RequestHelper
- getDefaultSessionTrackingModes() - Method in class com.helger.servlet.mock.MockServletContext
- getDigestAuthClientCredentials(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the Digest authentication credentials from the passed HTTP servlet request from the HTTP header
CHttpHeader.AUTHORIZATION. - getDispatcherType() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getDouble(String, double) - Method in interface com.helger.servlet.request.IRequestParamMap
- getEffectiveMajorVersion() - Method in class com.helger.servlet.mock.MockServletContext
- getEffectiveMinorVersion() - Method in class com.helger.servlet.mock.MockServletContext
- getEffectiveSessionTrackingModes() - Method in class com.helger.servlet.mock.MockServletContext
- getEncodeRedirectUrlSuffix() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getEncodeUrlSuffix() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getEncoding() - Method in class com.helger.servlet.filter.CharacterEncodingFilter
- getErrorMessage() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getExpirationSeconds() - Static method in class com.helger.servlet.response.ResponseHelperSettings
- getFieldName(String) - Static method in class com.helger.servlet.request.RequestParamMap
-
Deprecated.
- getFieldName(String, int...) - Static method in class com.helger.servlet.request.RequestParamMap
- getFieldName(String, String...) - Static method in class com.helger.servlet.request.RequestParamMap
- getFilterConfig() - Method in class com.helger.servlet.filter.AbstractServletFilter
- getFilterRegistration(String) - Method in class com.helger.servlet.mock.MockServletContext
- getFilterRegistrations() - Method in class com.helger.servlet.mock.MockServletContext
- getForwardedUrl() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getFromIDOrNull(String) - Static method in enum com.helger.servlet.response.EContentDispositionType
- getFromIDOrNull(String) - Static method in enum com.helger.servlet.response.EResponseStreamType
- getFromIDOrNull(String) - Static method in enum com.helger.servlet.response.EXFrameOptionType
- getFullContextPath() - Method in class com.helger.servlet.StaticServerInfo
-
This is a shortcut for
getFullServerPath () + getContextPath (). - getFullServerName(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
- getFullServerName(String, String, int) - Static method in class com.helger.servlet.request.RequestHelper
- getFullServerNameAndPath(String, String, int, String, String) - Static method in class com.helger.servlet.request.RequestHelper
- getFullServerPath() - Method in class com.helger.servlet.StaticServerInfo
- getHeader(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getHeader(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
Return the primary value for the given header, if any.
- getHeaderNames() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getHeaderNames() - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
Return the names of all specified headers as a Set of Strings.
- getHeaders(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getHeaders(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
Return all values for the given header as a List of value objects.
- getHttpMethod() - Method in class com.helger.servlet.response.UnifiedResponse
- getHttpMethod(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the HTTP method associated with the given HTTP request
- getHTTPMethod() - Method in class com.helger.servlet.async.ExtAsyncContext
- getHttpMethodOrDefault(HttpServletRequest, EHttpMethod) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the HTTP method associated with the given HTTP request
- getHttpReferer(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
- getHttpUserAgentStringFromRequest(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the user agent from the given request.
- getHttpVersion() - Method in class com.helger.servlet.response.UnifiedResponse
- getHttpVersion(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the HTTP version associated with the given HTTP request
- getHTTPVersion() - Method in class com.helger.servlet.async.ExtAsyncContext
- getId() - Method in class com.helger.servlet.mock.MockHttpSession
- getID() - Method in enum com.helger.servlet.response.EContentDispositionType
- getID() - Method in enum com.helger.servlet.response.EResponseStreamType
- getID() - Method in enum com.helger.servlet.response.EXFrameOptionType
- getIncludedUrl() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getInitParameter(String) - Method in class com.helger.servlet.mock.MockServletConfig
- getInitParameter(String) - Method in class com.helger.servlet.mock.MockServletContext
- getInitParameterNames() - Method in class com.helger.servlet.mock.MockServletConfig
- getInitParameterNames() - Method in class com.helger.servlet.mock.MockServletContext
- getInputStream() - Method in class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- getInputStream() - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Note: do not change the content via
MockHttpServletRequest.setContent(byte[]), while an input stream is open, because this may lead to indeterministic results! - getInstance() - Static method in class com.helger.servlet.StaticServerInfo
- getInt(String, int) - Method in interface com.helger.servlet.request.IRequestParamMap
- getIntHeader(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Deprecated.
- getJspConfigDescriptor() - Method in class com.helger.servlet.mock.MockServletContext
- getLastAccessedTime() - Method in class com.helger.servlet.mock.MockHttpSession
- getLocalAddr() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getLocale() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getLocale() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getLocales() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getLocalName() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getLocalPort() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getLogPrefix() - Method in class com.helger.servlet.response.UnifiedResponse
- getLong(String, long) - Method in interface com.helger.servlet.request.IRequestParamMap
- getMajorVersion() - Method in class com.helger.servlet.mock.MockServletContext
- getMap(String...) - Method in interface com.helger.servlet.request.IRequestParamMap
-
Get a nested map for the specified path.
- getMap(String...) - Method in class com.helger.servlet.request.RequestParamMap
- getMaxInactiveInterval() - Method in class com.helger.servlet.mock.MockHttpSession
- getMethod() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getMethod() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getMethodEnum() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getMimeType() - Method in class com.helger.servlet.response.UnifiedResponse
- getMimeType(String) - Method in class com.helger.servlet.mock.MockServletContext
- getMinCompressSize() - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- getMinorVersion() - Method in class com.helger.servlet.mock.MockServletContext
- getMockHttpServletResponse(ServletResponse) - Method in class com.helger.servlet.mock.MockRequestDispatcher
-
Obtain the underlying MockHttpServletResponse, unwrapping
HttpServletResponseWrapperdecorators if necessary. - getNamedDispatcher(String) - Method in class com.helger.servlet.mock.MockServletContext
-
Deprecated.
- getObject(String...) - Method in interface com.helger.servlet.request.IRequestParamMap
- getObject(String...) - Method in class com.helger.servlet.request.RequestParamMap
- getOpenSeparator() - Static method in class com.helger.servlet.request.RequestParamMap
- getOutputStream() - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- getOutputStream() - Method in class com.helger.servlet.logging.LoggingHttpServletResponseWrapper
- getOutputStream() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getOutputStream() - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- getOutputStream() - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- getParameter(String) - Method in class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- getParameter(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getParameterMap() - Method in class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- getParameterMap() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getParameterNames() - Method in class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- getParameterNames() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getParameters() - Method in class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- getParameterValues(String) - Method in class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- getParameterValues(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getPart(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getParts() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getPathInfo() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getPathInfo() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getPathInfo(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the request path info without an eventually appended session (";jsessionid=...")
- getPathTranslated() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getPathTranslated() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getPathWithinServlet(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
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.
- getPathWithinServlet(HttpServletRequest, boolean) - Static method in class com.helger.servlet.request.RequestHelper
-
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(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Return the URI of the request within the servlet context.
- getPathWithinServletContext(HttpServletRequest, boolean) - Static method in class com.helger.servlet.request.RequestHelper
-
Return the URI of the request within the servlet context.
- getProtocol() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getProtocol() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getQueryString() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getQueryString() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getReader() - Method in class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- getReader() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getRealPath(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Deprecated.
- getRealPath(String) - Method in class com.helger.servlet.mock.MockServletContext
- getRedirectedUrl() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getRemoteAddr() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getRemoteAddr() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getRemoteHost() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getRemoteHost() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getRemotePort() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getRemotePort() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getRemoteUser() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getRemoteUser() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getRequest() - Method in class com.helger.servlet.async.ExtAsyncContext
- getRequestBrowserInfo() - Method in class com.helger.servlet.response.UnifiedResponse
- getRequestCharacterEncoding() - Method in interface com.helger.servlet.spec.IServletContext310To400Migration
-
Gets the request character encoding that are supported by default for this
ServletContext. - getRequestClientCertificates(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the client certificates provided by a HTTP servlet request.
- getRequestContextPath(HttpServletRequest) - Static method in class com.helger.servlet.ServletHelper
-
Work around an exception that can occur on Tomcat 8.0.20:
- getRequestContextPath(HttpServletRequest, String) - Static method in class com.helger.servlet.ServletHelper
-
Work around an exception that can occur on Tomcat 8.0.20:
- getRequestCookies(HttpServletRequest) - Static method in class com.helger.servlet.ServletHelper
-
Work around an exception that can occur on Tomcat 8.0.20:
- getRequestDebugString(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestLogger
- getRequestDescription(LoggingHttpServletRequestWrapper) - Method in class com.helger.servlet.logging.LoggingFilter
- getRequestDispatcher(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getRequestDispatcher(String) - Method in class com.helger.servlet.mock.MockServletContext
- getRequestedSessionId() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getRequestFieldMap(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestLogger
- getRequestHeaderMap(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get a complete request header map as a copy.
- getRequestParameterMap(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestLogger
- getRequestParamMap(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
- getRequestPathInfo(HttpServletRequest) - Static method in class com.helger.servlet.ServletHelper
-
Get the path info of an request, supporting sync and async requests.
- getRequestQueryString(HttpServletRequest) - Static method in class com.helger.servlet.ServletHelper
-
Work around an exception that can occur in Jetty 9.3.13:
- getRequestRequestURI(HttpServletRequest) - Static method in class com.helger.servlet.ServletHelper
-
Get the request URI of an request, supporting sync and async requests.
- getRequestRequestURL(HttpServletRequest) - Static method in class com.helger.servlet.ServletHelper
-
Get the request URL of an request, supporting sync and async requests.
- getRequestServletPath(HttpServletRequest) - Static method in class com.helger.servlet.ServletHelper
-
Get the servlet path of an request, supporting sync and async requests.
- getRequestSSLCipherSuite(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
- getRequestSSLKeySize(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
- getRequestURI() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getRequestURIDecoded(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
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(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
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? - getRequestURL() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getRequestURL() - Method in class com.helger.servlet.response.UnifiedResponse
- getRequestURLDecoded(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Reconstructs the URL the client used to make the request.
- getRequestURLEncoded(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Reconstructs the URL the client used to make the request.
- getResource(String) - Method in class com.helger.servlet.mock.MockServletContext
- getResourceAsStream(String) - Method in class com.helger.servlet.mock.MockServletContext
- getResourceLocation(String) - Method in class com.helger.servlet.mock.MockServletContext
-
Build a full resource location for the given path, prepending the resource base path of this MockServletContext.
- getResourcePaths(String) - Method in class com.helger.servlet.mock.MockServletContext
-
Deprecated.
- getResponse() - Method in class com.helger.servlet.async.ExtAsyncContext
- getResponseCharacterEncoding() - Method in interface com.helger.servlet.spec.IServletContext310To400Migration
-
Gets the response character encoding that are supported by default for this
ServletContext. - getResponseDescription(LoggingHttpServletResponseWrapper) - Method in class com.helger.servlet.logging.LoggingFilter
- getResponseHeaderMap() - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
- getResponseHeaderMap(HttpServletResponse) - Static method in class com.helger.servlet.response.ResponseHelper
-
Get a complete response header map as a copy.
- getScheme() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getScheme() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getScheme() - Method in class com.helger.servlet.StaticServerInfo
- getServerInfo() - Method in class com.helger.servlet.mock.MockServletContext
- getServerName() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getServerName() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getServerName() - Method in class com.helger.servlet.StaticServerInfo
- getServerPort() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getServerPort() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getServerPort() - Method in class com.helger.servlet.StaticServerInfo
- getServerPortToUse(String, int) - Static method in class com.helger.servlet.request.RequestHelper
- getServlet(String) - Method in class com.helger.servlet.mock.MockServletContext
-
Deprecated.
- getServletContext() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getServletContext() - Method in class com.helger.servlet.mock.MockHttpSession
- getServletContext() - Method in class com.helger.servlet.mock.MockServletConfig
- getServletContextBasePath(ServletContext) - Static method in class com.helger.servlet.ServletHelper
-
Get the servlet context base path (for ".")
- getServletContextName() - Method in class com.helger.servlet.mock.MockServletContext
- getServletContextPath() - Static method in class com.helger.servlet.ServletContextPathHolder
- getServletName() - Method in class com.helger.servlet.mock.MockServletConfig
- getServletNames() - Method in class com.helger.servlet.mock.MockServletContext
-
Deprecated.
- getServletOfPath(String) - Method in class com.helger.servlet.mock.MockServletPool
-
Find the servlet matching the specified path.
- getServletPath() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getServletPath() - Method in class com.helger.servlet.mock.OfflineHttpServletRequest
- getServletPool() - Method in class com.helger.servlet.mock.MockServletContext
- getServletRegistration(String) - Method in class com.helger.servlet.mock.MockServletContext
- getServletRegistrations() - Method in class com.helger.servlet.mock.MockServletContext
- getServlets() - Method in class com.helger.servlet.mock.MockServletContext
-
Deprecated.
- getSession() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getSession(boolean) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getSessionContext() - Method in class com.helger.servlet.mock.MockHttpSession
-
Deprecated.
- getSessionCookieConfig() - Method in class com.helger.servlet.mock.MockServletContext
- getSessionID() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getSessionID(ISimpleURL) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the session ID of the passed string (like in "test.html;JSESSIONID=1234").
Attention: this methods does not consider eventually present request parameters. - getSessionID(String) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the session ID of the passed string (like in "test.html;JSESSIONID=1234").
Attention: this methods does not consider eventually present request parameters. - getSessionTimeout() - Method in interface com.helger.servlet.spec.IServletContext310To400Migration
-
Gets the session timeout in minutes that are supported by default for this
ServletContext. - getStatus() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getStatusCode() - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- getStatusCode() - Method in class com.helger.servlet.response.UnifiedResponse
- getString(String...) - Method in interface com.helger.servlet.request.IRequestParamMap
- getStringTrimmed(String...) - Method in interface com.helger.servlet.request.IRequestParamMap
- getSync() - Static method in class com.helger.servlet.async.ServletAsyncSpec
- getTimeoutMillis() - Method in class com.helger.servlet.async.ServletAsyncSpec
- getUAProfile(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the user agent object from the given HTTP request.
- getURIDecoded(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the full URI (excl. protocol) and parameters of the passed request.
Example: - getURIEncoded(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the full URI (excl. protocol) and parameters of the passed request.
Example: - getURLDecoded(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the full URL (incl. protocol) and parameters of the passed request.
- getURLEncoded(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the full URL (incl. protocol) and parameters of the passed request.
- getUserAgent(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the user agent object from the given HTTP request.
- getUserPrincipal() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- getValue() - Method in class com.helger.servlet.request.RequestParamMapItem
- getValue(String) - Method in class com.helger.servlet.mock.MockHttpSession
-
Deprecated.
- getValueMap(String...) - Method in interface com.helger.servlet.request.IRequestParamMap
- getValueMap(String...) - Method in class com.helger.servlet.request.RequestParamMap
- getValueNames() - Method in class com.helger.servlet.mock.MockHttpSession
-
Deprecated.
- getValueTrimmed() - Method in class com.helger.servlet.request.RequestParamMapItem
- getValueTrimmedMap(String...) - Method in interface com.helger.servlet.request.IRequestParamMap
- getValueTrimmedMap(String...) - Method in class com.helger.servlet.request.RequestParamMap
- getVirtualServerName() - Method in class com.helger.servlet.mock.MockServletContext
- getVirtualServerName() - Method in interface com.helger.servlet.spec.IServletContext300To310Migration
- getWithoutSessionID(ISimpleURL) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the passed string without an eventually contained session ID like in "test.html;JSESSIONID=1234?
- getWithoutSessionID(String) - Static method in class com.helger.servlet.request.RequestHelper
-
Get the passed string without an eventually contained session ID like in "test.html;JSESSIONID=1234".
Attention: this methods does not consider eventually present request parameters. - getWriter() - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- getWriter() - Method in class com.helger.servlet.logging.LoggingHttpServletResponseWrapper
- getWriter() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- getWriter() - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- GZIP - com.helger.servlet.response.EResponseStreamType
- GZIPResponse - Class in com.helger.servlet.response.gzip
- GZIPResponse(HttpServletRequest, HttpServletResponse, String) - Constructor for class com.helger.servlet.response.gzip.GZIPResponse
- GZIPResponse.GZIPServletOutputStream - Class in com.helger.servlet.response.gzip
- GZIPServletOutputStream(HttpServletRequest, HttpServletResponse, String, long, long) - Constructor for class com.helger.servlet.response.gzip.GZIPResponse.GZIPServletOutputStream
H
- hasAsyncListeners() - Method in class com.helger.servlet.async.ServletAsyncSpec
- hasChildren() - Method in class com.helger.servlet.request.RequestParamMapItem
- hasContent() - Method in class com.helger.servlet.response.UnifiedResponse
- hasContextPath() - Static method in class com.helger.servlet.ServletContextPathHolder
- hasCookies() - Method in class com.helger.servlet.response.UnifiedResponse
- hasCookies() - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
- hasCustomContextPath() - Static method in class com.helger.servlet.ServletContextPathHolder
- hashCode() - Method in class com.helger.servlet.request.RequestParamMap
- hashCode() - Method in class com.helger.servlet.request.RequestParamMapItem
- hasServletContextPath() - Static method in class com.helger.servlet.ServletContextPathHolder
- hasTimeoutMillis() - Method in class com.helger.servlet.async.ServletAsyncSpec
- hasValue() - Method in class com.helger.servlet.request.RequestParamMapItem
- headerMap() - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
I
- IAsyncServletRunner - Interface in com.helger.servlet.async
-
Abstract layer to customize the handling of running a servlet request asynchronously.
- include(ServletRequest, ServletResponse) - Method in class com.helger.servlet.mock.MockRequestDispatcher
- init() - Method in class com.helger.servlet.filter.AbstractServletFilter
-
Init this filter
- init() - Method in class com.helger.servlet.filter.CharacterEncodingFilter
- init() - Method in class com.helger.servlet.logging.LoggingFilter
- init(FilterConfig) - Method in class com.helger.servlet.filter.AbstractServletFilter
- init(String, String, int, String) - Static method in class com.helger.servlet.StaticServerInfo
- initListeners() - Method in class com.helger.servlet.mock.MockServletContext
- INITPARAM_ENCODING - Static variable in class com.helger.servlet.filter.CharacterEncodingFilter
-
Name of the init parameter for the encoding
- INITPARAM_FORCE_ENCODING - Static variable in class com.helger.servlet.filter.CharacterEncodingFilter
-
Name of the init parameter to force setting the request and response encoding
- INITPARAM_FORCE_REQUEST_ENCODING - Static variable in class com.helger.servlet.filter.CharacterEncodingFilter
-
Name of the init parameter to force setting the request encoding
- INITPARAM_FORCE_RESPONSE_ENCODING - Static variable in class com.helger.servlet.filter.CharacterEncodingFilter
-
Name of the init parameter to force setting the response encoding
- INLINE - com.helger.servlet.response.EContentDispositionType
- invalidate() - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Invalidate this request, clearing its state and invoking all HTTP event listener.
- invalidate() - Method in class com.helger.servlet.mock.MockHttpSession
- invalidate() - Method in class com.helger.servlet.mock.MockServletContext
- invalidate() - Method in class com.helger.servlet.mock.MockServletPool
-
Invalidate the servlet pool, by destroying all contained servlets.
- invoke(HttpServletRequest) - Method in class com.helger.servlet.mock.MockServletContext
- IRequestParamMap - Interface in com.helger.servlet.request
-
A request parameter map.
- isActive() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- isAllowContentOnRedirect() - Method in class com.helger.servlet.response.UnifiedResponse
- isAllowContentOnStatusCode() - Method in class com.helger.servlet.response.UnifiedResponse
- isAsynchronous() - Method in class com.helger.servlet.async.ServletAsyncSpec
- isAsyncStarted() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- isAsyncSupported() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- isCheckBoxChecked(String, boolean) - Method in interface com.helger.servlet.request.IRequestParamMap
-
Get the value of the checkbox of the request parameter with the given name.
- isClosed() - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- isCommitted() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- isCompressed() - Method in enum com.helger.servlet.response.EResponseStreamType
- isContentLengthSet() - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- isDebugModeEnabled() - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
- isEmpty() - Method in class com.helger.servlet.request.RequestParamMap
- isEmptyStatusCode(int) - Static method in class com.helger.servlet.response.ResponseHelper
- isEncodeURLs() - Static method in class com.helger.servlet.ServletSettings
- IServletContext300To310Migration - Interface in com.helger.servlet.spec
-
Dummy interface with all ServletContext default methods for new methods in Servlet Spec 3.1.0 compared to 3.0.0
- IServletContext310To400Migration - Interface in com.helger.servlet.spec
-
Dummy interface with all ServletContext default methods for new methods in Servlet Spec 4.0.0 compared to 3.1.0
- IServletRequest300To310Migration - Interface in com.helger.servlet.spec
-
Dummy interface with all ServletRequest default methods for new methods in Servlet Spec 3.1.0 compared to 3.0.0
- isFilterLoaded() - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
- isFinished() - Method in class com.helger.servlet.io.AbstractServletInputStream
- isForceRequestEncoding() - Method in class com.helger.servlet.filter.CharacterEncodingFilter
- isForceResponseEncoding() - Method in class com.helger.servlet.filter.CharacterEncodingFilter
- isFormPost() - Method in class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- isGloballyEnabled() - Static method in class com.helger.servlet.logging.LoggingFilter
- isHttpHeaderValuesQuoteIfNecessary() - Method in class com.helger.servlet.response.UnifiedResponse
- isHttpHeaderValuesQuoteIfNecessary() - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
- isHttpHeaderValuesUnified() - Method in class com.helger.servlet.response.UnifiedResponse
- isHttpHeaderValuesUnified() - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
- isInvalid() - Method in class com.helger.servlet.mock.MockHttpSession
- isLogExceptions() - Static method in class com.helger.servlet.ServletHelper
- isLogRequest(HttpServletRequest, HttpServletResponse) - Method in class com.helger.servlet.logging.LoggingFilter
-
Check if this request should be logged or not.
- isMultipartContent(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Utility method that determines whether the request contains multipart content.
- isMultipartContent(String) - Static method in class com.helger.servlet.request.RequestHelper
-
Utility method that determines whether the request contains multipart content.
- isMultipartFormDataContent(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestHelper
-
Utility method that determines whether the request contains multipart content.
- isMultipartFormDataContent(String) - Static method in class com.helger.servlet.request.RequestHelper
-
Utility method that determines whether the request contains
multipart/form-datacontent. - isNew() - Method in class com.helger.servlet.mock.MockHttpSession
- IsOffline - Annotation Type in com.helger.servlet.annotation
-
This class marks a class as being "offline" even though it is a web class!
- isOutputStreamAccessAllowed() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- isReady() - Method in class com.helger.servlet.io.AbstractServletInputStream
- isReady() - Method in class com.helger.servlet.io.AbstractServletOutputStream
- isRedirectDefined() - Method in class com.helger.servlet.response.UnifiedResponse
- isRequestedSessionIdFromCookie() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- isRequestedSessionIdFromUrl() - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Deprecated.
- isRequestedSessionIdFromURL() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- isRequestedSessionIdValid() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- isResponseCompressionEnabled() - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
- isResponseCompressionEnabled() - Static method in class com.helger.servlet.response.ResponseHelperSettings
- isResponseDeflateEnabled() - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
- isResponseDeflateEnabled() - Static method in class com.helger.servlet.response.ResponseHelperSettings
- isResponseGzipEnabled() - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
- isResponseGzipEnabled() - Static method in class com.helger.servlet.response.ResponseHelperSettings
- isReThrowListenerException() - Static method in class com.helger.servlet.mock.MockServletContext
- isSecure() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- isSet() - Static method in class com.helger.servlet.StaticServerInfo
- isSilentMode() - Static method in class com.helger.servlet.response.UnifiedResponse
- isSilentMode() - Static method in class com.helger.servlet.ServletContextPathHolder
- isStatusCodeDefined() - Method in class com.helger.servlet.response.UnifiedResponse
- isUncompressed() - Method in enum com.helger.servlet.response.EResponseStreamType
- isURLRequired() - Method in enum com.helger.servlet.response.EXFrameOptionType
- isUserInRole(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- isWarnOnDuplicateCookies() - Method in class com.helger.servlet.response.UnifiedResponse
- isWriterAccessAllowed() - Method in class com.helger.servlet.mock.MockHttpServletResponse
K
- keySet() - Method in interface com.helger.servlet.request.IRequestParamMap
- keySet() - Method in class com.helger.servlet.request.RequestParamMap
L
- log(Exception, String) - Method in class com.helger.servlet.mock.MockServletContext
-
Deprecated.
- log(String) - Method in class com.helger.servlet.mock.MockServletContext
- log(String, Throwable) - Method in class com.helger.servlet.mock.MockServletContext
- logError(String) - Method in class com.helger.servlet.response.UnifiedResponse
- LoggingFilter - Class in com.helger.servlet.logging
- LoggingFilter() - Constructor for class com.helger.servlet.logging.LoggingFilter
- LoggingHttpServletRequestWrapper - Class in com.helger.servlet.logging
- LoggingHttpServletRequestWrapper(HttpServletRequest) - Constructor for class com.helger.servlet.logging.LoggingHttpServletRequestWrapper
- LoggingHttpServletResponseWrapper - Class in com.helger.servlet.logging
- LoggingHttpServletResponseWrapper(HttpServletResponse) - Constructor for class com.helger.servlet.logging.LoggingHttpServletResponseWrapper
- LoggingServletAsyncListener - Class in com.helger.servlet.async
-
A logging implementation of
AsyncListener. - LoggingServletAsyncListener() - Constructor for class com.helger.servlet.async.LoggingServletAsyncListener
- login(String, String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- logInfo(String) - Method in class com.helger.servlet.response.UnifiedResponse
- logout() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- logRequestComplete(HttpServletRequest) - Static method in class com.helger.servlet.request.RequestLogger
- logWarn(String) - Method in class com.helger.servlet.response.UnifiedResponse
M
- markFilterLoaded() - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
-
Mark the filter as loaded.
- MAX_CSS_KB_FOR_IE - Static variable in class com.helger.servlet.response.UnifiedResponse
-
Maximum KB a CSS file might have in IE
- MockEventListenerList - Class in com.helger.servlet.mock
-
This class holds the different listeners (
ServletContextListener,HttpSessionListenerandServletRequestListener) used byMockHttpListener - MockEventListenerList() - Constructor for class com.helger.servlet.mock.MockEventListenerList
- MockHttpListener - Class in com.helger.servlet.mock
-
This class globally holds the HTTP listeners (
ServletContextListener,HttpSessionListenerandServletRequestListener) that are triggered in tests. - MockHttpServletRequest - Class in com.helger.servlet.mock
-
Mock implementation of
HttpServletRequest. - MockHttpServletRequest() - Constructor for class com.helger.servlet.mock.MockHttpServletRequest
-
Create a new MockHttpServletRequest with a default
MockServletContext. - MockHttpServletRequest(ServletContext) - Constructor for class com.helger.servlet.mock.MockHttpServletRequest
-
Create a new MockHttpServletRequest.
- MockHttpServletRequest(ServletContext, EHttpMethod) - Constructor for class com.helger.servlet.mock.MockHttpServletRequest
-
Create a new MockHttpServletRequest.
- MockHttpServletRequest(ServletContext, EHttpMethod, boolean) - Constructor for class com.helger.servlet.mock.MockHttpServletRequest
-
Create a new MockHttpServletRequest.
- MockHttpServletResponse - Class in com.helger.servlet.mock
-
Mock implementation of
HttpServletResponse. - MockHttpServletResponse() - Constructor for class com.helger.servlet.mock.MockHttpServletResponse
- MockHttpSession - Class in com.helger.servlet.mock
-
Mock implementation of
HttpSession. - MockHttpSession() - Constructor for class com.helger.servlet.mock.MockHttpSession
-
Create a new MockHttpSession with a default
MockServletContext. - MockHttpSession(ServletContext) - Constructor for class com.helger.servlet.mock.MockHttpSession
-
Create a new MockHttpSession.
- MockHttpSession(ServletContext, String) - Constructor for class com.helger.servlet.mock.MockHttpSession
-
Create a new MockHttpSession.
- MockRequestDispatcher - Class in com.helger.servlet.mock
-
Mock implementation of the
RequestDispatcherinterface - MockRequestDispatcher(String) - Constructor for class com.helger.servlet.mock.MockRequestDispatcher
-
Create a new MockRequestDispatcher for the given URL.
- MockServletConfig - Class in com.helger.servlet.mock
-
Mock implementation of the
ServletConfiginterface. - MockServletConfig(ServletContext, String) - Constructor for class com.helger.servlet.mock.MockServletConfig
-
Constructor without servlet init parameters.
- MockServletConfig(ServletContext, String, Map<String, String>) - Constructor for class com.helger.servlet.mock.MockServletConfig
-
Constructor
- MockServletContext - Class in com.helger.servlet.mock
-
Mock implementation of the
ServletContextinterface. - MockServletContext(String, String, IReadableResourceProvider, Map<String, String>) - Constructor for class com.helger.servlet.mock.MockServletContext
-
Create a new MockServletContext.
- MockServletInputStream - Class in com.helger.servlet.mock
-
A
ServletInputStreamfor testing based on a predefined byte array or an existingInputStream. - MockServletInputStream(byte[]) - Constructor for class com.helger.servlet.mock.MockServletInputStream
- MockServletInputStream(InputStream) - Constructor for class com.helger.servlet.mock.MockServletInputStream
- MockServletPool - Class in com.helger.servlet.mock
-
A pool for registered servlets inside a
MockServletContext. - MockServletPool(MockServletContext) - Constructor for class com.helger.servlet.mock.MockServletPool
- MockServletRequestListener - Class in com.helger.servlet.mock
-
This mock listeners is responsible for creating
- MockServletRequestListener() - Constructor for class com.helger.servlet.mock.MockServletRequestListener
- MULTIPART - Static variable in class com.helger.servlet.request.RequestHelper
-
Part of HTTP content type header.
- MULTIPART_FORM_DATA - Static variable in class com.helger.servlet.request.RequestHelper
-
HTTP content type header for multipart forms.
- MULTIPART_MIXED - Static variable in class com.helger.servlet.request.RequestHelper
-
HTTP content type header for multiple uploads.
N
- NO_TIMEOUT - Static variable in class com.helger.servlet.async.ServletAsyncSpec
-
The constant defining "no timeout defined"
O
- OfflineHttpServletRequest - Class in com.helger.servlet.mock
-
A special
MockHttpServletRequestthat throwsUnsupportedOperationExceptionexceptions for server or path related queries. - OfflineHttpServletRequest() - Constructor for class com.helger.servlet.mock.OfflineHttpServletRequest
- OfflineHttpServletRequest(ServletContext, boolean) - Constructor for class com.helger.servlet.mock.OfflineHttpServletRequest
- onComplete(AsyncEvent) - Method in class com.helger.servlet.async.AbstractServletAsyncListener
- onComplete(AsyncEvent) - Method in class com.helger.servlet.async.LoggingServletAsyncListener
- onError(AsyncEvent) - Method in class com.helger.servlet.async.AbstractServletAsyncListener
- onError(AsyncEvent) - Method in class com.helger.servlet.async.LoggingServletAsyncListener
- onStartAsync(AsyncEvent) - Method in class com.helger.servlet.async.AbstractServletAsyncListener
- onStartAsync(AsyncEvent) - Method in class com.helger.servlet.async.LoggingServletAsyncListener
- onTimeout(AsyncEvent) - Method in class com.helger.servlet.async.AbstractServletAsyncListener
- onTimeout(AsyncEvent) - Method in class com.helger.servlet.async.LoggingServletAsyncListener
P
- PLAIN - com.helger.servlet.response.EResponseStreamType
- POST_REDIRECT_GET - com.helger.servlet.response.ERedirectMode
-
Use HTTP 303/302 depending on the HTTP version used
- put(String, Object) - Method in class com.helger.servlet.request.RequestParamMap
- putValue(String, Object) - Method in class com.helger.servlet.mock.MockHttpSession
-
Deprecated.
R
- read() - Method in class com.helger.servlet.mock.MockServletInputStream
- registerContext(String, ServletContext) - Method in class com.helger.servlet.mock.MockServletContext
- registerServlet(Class<? extends Servlet>, String, String) - Method in class com.helger.servlet.mock.MockServletPool
-
Register a new servlet without servlet init parameters
- registerServlet(Class<? extends Servlet>, String, String, Map<String, String>) - Method in class com.helger.servlet.mock.MockServletPool
-
Register a new servlet
- removeAllCookies() - Method in class com.helger.servlet.response.UnifiedResponse
-
Remove all cookies.
- removeAllCookies() - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Remove all cookies.
- removeAllDefaultListeners() - Static method in class com.helger.servlet.mock.MockHttpListener
- removeAllListeners() - Method in class com.helger.servlet.mock.MockEventListenerList
- removeAllListeners() - Static method in class com.helger.servlet.mock.MockHttpListener
- removeAllParameters() - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Removes all existing parameters.
- removeAllResponseHeaders() - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Remove all response headers currently present.
- removeAttribute(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- removeAttribute(String) - Method in class com.helger.servlet.mock.MockHttpSession
- removeAttribute(String) - Method in class com.helger.servlet.mock.MockServletContext
- removeCacheControl() - Method in class com.helger.servlet.response.UnifiedResponse
- removeCaching() - Method in class com.helger.servlet.response.UnifiedResponse
-
Remove all settings and headers relevant to caching.
- removeCharset() - Method in class com.helger.servlet.response.UnifiedResponse
- removeContent() - Method in class com.helger.servlet.response.UnifiedResponse
- removeContentDispositionFilename() - Method in class com.helger.servlet.response.UnifiedResponse
-
Remove the current content disposition filename.
- removeCookie(HttpServletResponse, Cookie) - Static method in class com.helger.servlet.cookie.CookieHelper
-
Remove a cookie by setting the max age to 0.
- removeCookie(String) - Method in class com.helger.servlet.response.UnifiedResponse
-
Remove the cookie with the specified name.
- removeCookie(String) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Remove the cookie with the specified name.
- removeCustomResponseHeaders(String) - Method in class com.helger.servlet.response.UnifiedResponse
-
Removes the response headers matching the passed name from the response.
- removeDefaultListeners(Class<? extends EventListener>) - Static method in class com.helger.servlet.mock.MockHttpListener
- removeETag() - Method in class com.helger.servlet.response.UnifiedResponse
-
Remove the ETag if present.
- removeExpires() - Method in class com.helger.servlet.response.UnifiedResponse
- removeHeader(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- removeInitParameter(String) - Method in class com.helger.servlet.mock.MockServletConfig
- removeLastModified() - Method in class com.helger.servlet.response.UnifiedResponse
- removeListeners(Class<? extends EventListener>) - Method in class com.helger.servlet.mock.MockEventListenerList
- removeListeners(Class<? extends EventListener>) - Static method in class com.helger.servlet.mock.MockHttpListener
- removeMimeType() - Method in class com.helger.servlet.response.UnifiedResponse
- removeParameter(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Remove already registered values for the specified HTTP parameter, if any.
- removeResponseHeaders(String) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Removes the response headers matching the passed name from the response.
- removeStrictTransportSecurity() - Method in class com.helger.servlet.response.UnifiedResponse
-
Remove the X-Frame-Options HTTP header if it is present.
- removeStrictTransportSecurity() - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Remove the `Strict-Transport-Security` headers from the default settings.
- removeValue(String) - Method in class com.helger.servlet.mock.MockHttpSession
-
Deprecated.
- removeXFrameOptions() - Method in class com.helger.servlet.response.UnifiedResponse
-
Remove the X-Frame-Options HTTP header if it is present.
- requestDestroyed(ServletRequestEvent) - Method in class com.helger.servlet.mock.MockServletRequestListener
- RequestHelper - Class in com.helger.servlet.request
-
Misc. helper method on
HttpServletRequestobjects. - requestInitialized(ServletRequestEvent) - Method in class com.helger.servlet.mock.MockServletRequestListener
- RequestLogger - Class in com.helger.servlet.request
-
Helper class to debug information passed to a JSP page or a servlet.
- RequestParamMap - Class in com.helger.servlet.request
-
This class represents a nested map that is build from request parameters.
- RequestParamMap() - Constructor for class com.helger.servlet.request.RequestParamMap
- RequestParamMap(Map<String, ?>) - Constructor for class com.helger.servlet.request.RequestParamMap
-
This constructor is private, because it does not call the
RequestParamMap.put(String, Object)method which does the main string parsing! - RequestParamMapItem - Class in com.helger.servlet.request
-
Represents a single item in a
RequestParamMap. - RequestParamMapItem() - Constructor for class com.helger.servlet.request.RequestParamMapItem
- RequestParamMapItem(RequestParamMapItem) - Constructor for class com.helger.servlet.request.RequestParamMapItem
- reset() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- reset() - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- reset() - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- resetBuffer() - Method in class com.helger.servlet.mock.MockHttpServletResponse
- resetBuffer() - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- resetBuffer() - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- responseHeaderMap() - Method in class com.helger.servlet.response.UnifiedResponse
- ResponseHelper - Class in com.helger.servlet.response
-
Misc. helper methods on
HttpServletResponseobjects.
Consider using theUnifiedResponsefor easy and consistent HTTP response handling. - ResponseHelperSettings - Class in com.helger.servlet.response
-
Contains the settings for the
ResponseHelperclass. - runAsync(HttpServletRequest, HttpServletResponse, ExtAsyncContext, Runnable) - Method in class com.helger.servlet.async.AsyncServletRunnerDefault
- runAsync(HttpServletRequest, HttpServletResponse, ExtAsyncContext, Runnable) - Method in interface com.helger.servlet.async.IAsyncServletRunner
-
Run a servlet request asynchronously.
S
- safeInvalidateSession(HttpSession) - Static method in class com.helger.servlet.session.SessionHelper
-
Invalidate the session if the session is still active.
- safeRenewSession(HttpServletRequest) - Static method in class com.helger.servlet.session.SessionHelper
-
Invalidate the session of the specified request (if any) and create a new session.
- SAMEORIGIN - com.helger.servlet.response.EXFrameOptionType
-
The page can only be displayed in a frame on the same origin as the page itself.
- sendError(int) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- sendError(int) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- sendError(int) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- sendError(int, String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- sendError(int, String) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- sendError(int, String) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- sendRedirect(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- sendRedirect(String) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- sendRedirect(String) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- SERVLET_ATTR_CLIENT_CERTIFICATE - Static variable in class com.helger.servlet.request.RequestHelper
- SERVLET_ATTR_SSL_CIPHER_SUITE - Static variable in class com.helger.servlet.request.RequestHelper
- SERVLET_ATTR_SSL_KEY_SIZE - Static variable in class com.helger.servlet.request.RequestHelper
- SERVLET_SPEC_MAJOR_VERSION - Static variable in class com.helger.servlet.mock.MockServletContext
- SERVLET_SPEC_MINOR_VERSION - Static variable in class com.helger.servlet.mock.MockServletContext
- ServletAsyncSpec - Class in com.helger.servlet.async
-
This class encapsulates all the parameters necessary to handle asynchronous servlet requests.
- ServletAsyncSpec(boolean, long, Iterable<? extends AsyncListener>) - Constructor for class com.helger.servlet.async.ServletAsyncSpec
-
Constructor
- ServletContextPathHolder - Class in com.helger.servlet
-
Helper class to hold the current servlet context path.
- ServletHelper - Class in com.helger.servlet
-
Very basic servlet API helper
- ServletSettings - Class in com.helger.servlet
-
Global Servlet settings.
- SESSION_COOKIE_NAME - Static variable in class com.helger.servlet.mock.MockHttpSession
- SessionHelper - Class in com.helger.servlet.session
-
HTTP session utilities.
- setAll(boolean, boolean, boolean) - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
-
Set all parameters at once as an atomic transaction
- setAll(boolean, boolean, boolean) - Static method in class com.helger.servlet.response.ResponseHelperSettings
-
Set all parameters at once as an atomic transaction
- setAllowContentOnRedirect(boolean) - Method in class com.helger.servlet.response.UnifiedResponse
- setAllowContentOnStatusCode(boolean) - Method in class com.helger.servlet.response.UnifiedResponse
- setAllowMimeSniffing(boolean) - Method in class com.helger.servlet.response.UnifiedResponse
-
When specifying
false, this method uses a special response header to prevent certain browsers from MIME-sniffing a response away from the declared content-type. - setAllowMimeSniffing(boolean) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
When specifying
false, this method uses a special response header to prevent certain browsers from MIME-sniffing a response away from the declared content-type. - setAllPaths(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Set all path related members to the value to be deduced from the request URI.
- setAttribute(String, Object) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setAttribute(String, Object) - Method in class com.helger.servlet.mock.MockHttpSession
- setAttribute(String, Object) - Method in class com.helger.servlet.mock.MockServletContext
- setAuthType(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setBufferSize(int) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setCacheControl(CacheControlBuilder) - Method in class com.helger.servlet.response.UnifiedResponse
- setCharacterEncoding(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setCharacterEncoding(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setCharacterEncoding(Charset) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setCharacterEncoding(Charset) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setCharset(Charset) - Method in class com.helger.servlet.response.UnifiedResponse
- setCommitted(boolean) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setContent(byte[]) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setContent(byte[]) - Method in class com.helger.servlet.response.UnifiedResponse
-
Set the response content.
- setContent(byte[], int, int) - Method in class com.helger.servlet.response.UnifiedResponse
-
Set the response content.
- setContent(IHasInputStream) - Method in class com.helger.servlet.response.UnifiedResponse
-
Set the response content provider.
- setContentAndCharset(String, Charset) - Method in class com.helger.servlet.response.UnifiedResponse
-
Utility method to set content and charset at once.
- setContentDispositionFilename(String) - Method in class com.helger.servlet.response.UnifiedResponse
-
Set the content disposition filename for attachment download.
- setContentDispositionType(EContentDispositionType) - Method in class com.helger.servlet.response.UnifiedResponse
-
Set the content disposition type (e.g. for PDF/Excel downloads).
- setContentLength(int) - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- setContentLength(int) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setContentLength(int) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- setContentLength(long) - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- setContentLength(HttpServletResponse, long) - Static method in class com.helger.servlet.response.ResponseHelper
-
Set the content length of an HTTP response.
- setContentLengthAutomatically() - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- setContentLengthLong(long) - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- setContentLengthLong(long) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setContentType(IMimeType) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setContentType(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setContentType(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setContentType(String) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- setContentType(String) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- setContextPath(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setContextPath(String) - Method in class com.helger.servlet.mock.MockServletContext
- setCookies(Cookie[]) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setCurrentToDefault() - Static method in class com.helger.servlet.mock.MockHttpListener
- setCustomContextPath(String) - Static method in class com.helger.servlet.ServletContextPathHolder
-
Manually change the context path to be used.
- setCustomResponseHeader(String, String) - Method in class com.helger.servlet.response.UnifiedResponse
-
Sets a response header to the response according to the passed name and value.
- setCustomResponseHeaders(HttpHeaderMap) - Method in class com.helger.servlet.response.UnifiedResponse
-
Set many custom headers at once.
- setDateHeader(String, long) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setDateHeader(String, long) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- setDebugModeEnabled(boolean) - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
-
Enable or disable debug mode
- setDownloadFilename(String) - Method in class com.helger.servlet.response.UnifiedResponse
-
Utility method for setting the MimeType application/force-download and set the respective content disposition filename.
- setEmptyContent() - Method in class com.helger.servlet.response.UnifiedResponse
-
Utility method to set an empty response content.
- setEnableXSSFilter(boolean) - Method in class com.helger.servlet.response.UnifiedResponse
-
This header enables the Cross-site scripting (XSS) filter built into most recent web browsers.
- setEnableXSSFilter(boolean) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
This header enables the Cross-site scripting (XSS) filter built into most recent web browsers.
- setEncodeRedirectUrlSuffix(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setEncodeURLs(boolean) - Static method in class com.helger.servlet.ServletSettings
- setEncodeUrlSuffix(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setEncoding(String) - Method in class com.helger.servlet.filter.CharacterEncodingFilter
- setETag(String) - Method in class com.helger.servlet.response.UnifiedResponse
-
Set an ETag for the response.
- setETagIfApplicable(String) - Method in class com.helger.servlet.response.UnifiedResponse
-
Set an ETag for the response if this is an HTTP/1.1 response.
- setExpirationSeconds(int) - Static method in class com.helger.servlet.response.ResponseHelperSettings
-
Set the default expiration settings to be used for objects that should use HTTP caching
- setExpires(LocalDateTime) - Method in class com.helger.servlet.response.UnifiedResponse
- setForceEncoding(boolean) - Method in class com.helger.servlet.filter.CharacterEncodingFilter
- setForceRequestEncoding(boolean) - Method in class com.helger.servlet.filter.CharacterEncodingFilter
- setForceResponseEncoding(boolean) - Method in class com.helger.servlet.filter.CharacterEncodingFilter
- setForwardedUrl(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setFrom(MockEventListenerList) - Method in class com.helger.servlet.mock.MockEventListenerList
-
Set all listeners from the passed list to this list
- setGloballyEnabled(boolean) - Static method in class com.helger.servlet.logging.LoggingFilter
- setHeader(String, String) - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- setHeader(String, String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setHeader(String, String) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- setHeader(String, String) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- setHttpHeaderValuesQuoteIfNecessary(boolean) - Method in class com.helger.servlet.response.UnifiedResponse
-
Enable or disable the automatic quoting of HTTP header values.
- setHttpHeaderValuesQuoteIfNecessary(boolean) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Enable or disable the automatic quoting of HTTP header values.
- setHttpHeaderValuesUnified(boolean) - Method in class com.helger.servlet.response.UnifiedResponse
-
Enable or disable the unification of HTTP header values.
- setHttpHeaderValuesUnified(boolean) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Enable or disable the unification of HTTP header values.
- setIncludedUrl(String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setInitParameter(String, String) - Method in class com.helger.servlet.mock.MockServletContext
- setIntHeader(String, int) - Method in class com.helger.servlet.http.CountingOnlyHttpServletResponse
- setIntHeader(String, int) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setIntHeader(String, int) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- setIntHeader(String, int) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- setLastModified(LocalDateTime) - Method in class com.helger.servlet.response.UnifiedResponse
- setLocalAddr(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setLocale(Locale) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setLocalName(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setLocalPort(int) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setLogExceptions(boolean) - Static method in class com.helger.servlet.ServletHelper
-
Enable or disable the logging of caught exceptions.
- setMaxInactiveInterval(int) - Method in class com.helger.servlet.mock.MockHttpSession
- setMethod(EHttpMethod) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setMimeType(IMimeType) - Method in class com.helger.servlet.response.UnifiedResponse
- setMimeTypeString(String) - Method in class com.helger.servlet.response.UnifiedResponse
- setMinCompressSize(long) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- setNew(boolean) - Method in class com.helger.servlet.mock.MockHttpSession
- setNoCompression() - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- setOutputStreamAccessAllowed(boolean) - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
Set whether
MockHttpServletResponse.getOutputStream()access is allowed. - setParameter(String, String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Set a single value for the specified HTTP parameter.
- setParameter(String, String[]) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Set an array of values for the specified HTTP parameter.
- setParameters(List<? extends URLParameter>) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Sets all provided parameters replacing any existing values for the provided parameter names.
- setPathInfo(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setProtocol(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setQueryString(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setReadListener(ReadListener) - Method in class com.helger.servlet.io.AbstractServletInputStream
- setRedirect(ISimpleURL) - Method in class com.helger.servlet.response.UnifiedResponse
- setRedirect(ISimpleURL, ERedirectMode) - Method in class com.helger.servlet.response.UnifiedResponse
- setRedirect(String) - Method in class com.helger.servlet.response.UnifiedResponse
- setRedirect(String, ERedirectMode) - Method in class com.helger.servlet.response.UnifiedResponse
- setReferrerPolicy(EHttpReferrerPolicy) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Set the default referrer policy to use.
- setRemoteAddr(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setRemoteHost(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setRemotePort(int) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setRemoteUser(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setRequestAttribute(ServletRequest, String, Object) - Static method in class com.helger.servlet.ServletHelper
-
Safe version of
ServletRequest.setAttribute (String, Object)to work around an error in certain Tomcat versions. - setRequestBrowserInfo(BrowserInfo) - Method in class com.helger.servlet.response.UnifiedResponse
- setRequestCharacterEncoding(HttpServletRequest, String) - Static method in class com.helger.servlet.ServletHelper
-
Safely set the request character encoding.
- setRequestCharacterEncoding(HttpServletRequest, Charset) - Static method in class com.helger.servlet.ServletHelper
-
Safely set the request character encoding.
- setRequestCharacterEncoding(String) - Method in interface com.helger.servlet.spec.IServletContext310To400Migration
-
Sets the request character encoding for this ServletContext.
- setRequestedSessionIdFromCookie(boolean) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setRequestedSessionIdFromURL(boolean) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setRequestedSessionIdValid(boolean) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setRequestURI(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setResponseCharacterEncoding(String) - Method in interface com.helger.servlet.spec.IServletContext310To400Migration
-
Sets the response character encoding for this ServletContext.
- setResponseCompressionEnabled(boolean) - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
-
Enable or disable the overall compression.
- setResponseCompressionEnabled(boolean) - Static method in class com.helger.servlet.response.ResponseHelperSettings
-
Enable or disable the overall compression.
- setResponseDeflateEnabled(boolean) - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
-
Enable or disable Deflate compression.
- setResponseDeflateEnabled(boolean) - Static method in class com.helger.servlet.response.ResponseHelperSettings
-
Enable or disable Deflate compression.
- setResponseGzipEnabled(boolean) - Static method in class com.helger.servlet.response.gzip.CompressFilterSettings
-
Enable or disable Gzip compression.
- setResponseGzipEnabled(boolean) - Static method in class com.helger.servlet.response.ResponseHelperSettings
-
Enable or disable Gzip compression.
- setResponseHeader(String, String) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
Sets a response header to the response according to the passed name and value.
- setReThrowListenerException(boolean) - Static method in class com.helger.servlet.mock.MockServletContext
- setScheme(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setSecure(boolean) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setSeparators(char, char) - Static method in class com.helger.servlet.request.RequestParamMap
-
Set the separator chars to use.
- setSeparators(String, String) - Static method in class com.helger.servlet.request.RequestParamMap
-
Set the separators to use.
- setSeparatorsToDefault() - Static method in class com.helger.servlet.request.RequestParamMap
- setServerName(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setServerPort(int) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setServletContextName(String) - Method in class com.helger.servlet.mock.MockServletContext
- setServletContextPath(String) - Static method in class com.helger.servlet.ServletContextPathHolder
- setServletPath(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setSession(HttpSession) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setSessionID(String) - Method in class com.helger.servlet.mock.MockHttpServletRequest
-
Define the session ID to be used when creating a new session
- setSessionTimeout(int) - Method in interface com.helger.servlet.spec.IServletContext310To400Migration
-
Sets the session timeout in minutes for this ServletContext.
- setSessionTrackingModes(Set<SessionTrackingMode>) - Method in class com.helger.servlet.mock.MockServletContext
- setSilentMode(boolean) - Static method in class com.helger.servlet.response.UnifiedResponse
- setSilentMode(boolean) - Static method in class com.helger.servlet.ServletContextPathHolder
- setStatus(int) - Method in class com.helger.servlet.mock.MockHttpServletResponse
- setStatus(int) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
- setStatus(int) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- setStatus(int) - Method in class com.helger.servlet.response.UnifiedResponse
-
Set the status code to be returned from the response.
- setStatus(int, String) - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
Deprecated.
- setStatus(int, String) - Method in class com.helger.servlet.response.gzip.AbstractCompressedResponseWrapper
-
Deprecated.
- setStatus(int, String) - Method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
-
Deprecated.
- setStatusUnauthorized(String) - Method in class com.helger.servlet.response.UnifiedResponse
-
Special handling for returning status code 401 UNAUTHORIZED.
- setStrictTransportSecurity(int, boolean) - Method in class com.helger.servlet.response.UnifiedResponse
-
When specifying
false, this method uses a special response header to prevent certain browsers from MIME-sniffing a response away from the declared content-type. - setStrictTransportSecurity(int, boolean) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
HTTP Strict Transport Security (HSTS) is an opt-in security enhancement that is specified by a web application through the use of a special response header.
- setUserPrincipal(Principal) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- setWarnOnDuplicateCookies(boolean) - Method in class com.helger.servlet.response.UnifiedResponse
-
Enable or disable warning message on duplicated cookie names.
- setWriteListener(WriteListener) - Method in class com.helger.servlet.io.AbstractServletOutputStream
- setWriterAccessAllowed(boolean) - Method in class com.helger.servlet.mock.MockHttpServletResponse
-
Set whether
MockHttpServletResponse.getWriter()access is allowed. - setXFrameOptions(EXFrameOptionType, ISimpleURL) - Method in class com.helger.servlet.response.UnifiedResponse
-
The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <iframe> or <object> .
- setXFrameOptions(EXFrameOptionType, ISimpleURL) - Static method in class com.helger.servlet.response.UnifiedResponseDefaultSettings
-
The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <iframe> or <object> .
- showRequestInfo() - Method in class com.helger.servlet.response.UnifiedResponse
- size() - Method in class com.helger.servlet.request.RequestParamMap
- start(Runnable) - Method in class com.helger.servlet.async.ExtAsyncContext
- startAsync() - Method in class com.helger.servlet.mock.MockHttpServletRequest
- startAsync(ServletRequest, ServletResponse) - Method in class com.helger.servlet.mock.MockHttpServletRequest
- StaticServerInfo - Class in com.helger.servlet
-
This singleton instance represents default server information for locations where no request context is available (e.g. in scheduled tasks)
- StaticServerInfo(String, String, int, String) - Constructor for class com.helger.servlet.StaticServerInfo
- StatusAwareHttpResponseWrapper - Class in com.helger.servlet.response
-
A special
HttpServletResponseWrapperthat tracks the used status codes as well as the set HTTP response headers. - StatusAwareHttpResponseWrapper(HttpServletResponse) - Constructor for class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- SYNC_SPEC - Static variable in class com.helger.servlet.async.ServletAsyncSpec
-
The constant for synchronous invocations
T
- toString() - Method in class com.helger.servlet.async.AbstractServletAsyncListener
- toString() - Method in class com.helger.servlet.async.ServletAsyncSpec
- toString() - Method in class com.helger.servlet.filter.AbstractServletFilter
- toString() - Method in class com.helger.servlet.mock.MockEventListenerList
- toString() - Method in class com.helger.servlet.mock.MockHttpSession
- toString() - Method in class com.helger.servlet.mock.MockServletConfig
- toString() - Method in class com.helger.servlet.request.RequestParamMap
- toString() - Method in class com.helger.servlet.request.RequestParamMapItem
- toString() - Method in class com.helger.servlet.StaticServerInfo
U
- UnifiedResponse - Class in com.helger.servlet.response
-
This class encapsulates all things required to build a HTTP response.
- UnifiedResponse(EHttpVersion, EHttpMethod, HttpServletRequest) - Constructor for class com.helger.servlet.response.UnifiedResponse
-
Constructor
- UnifiedResponseDefaultSettings - Class in com.helger.servlet.response
-
This class encapsulates default settings to be applied to all
UnifiedResponseobjects. - upgrade(Class<T>) - Method in class com.helger.servlet.mock.MockHttpServletRequest
V
- value() - Method in annotation type com.helger.servlet.annotation.IsOffline
- valueOf(String) - Static method in enum com.helger.servlet.response.EContentDispositionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.servlet.response.ERedirectMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.servlet.response.EResponseStreamType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.helger.servlet.response.EXFrameOptionType
-
Returns the enum constant of this type with the specified name.
- values() - Method in interface com.helger.servlet.request.IRequestParamMap
- values() - Method in class com.helger.servlet.request.RequestParamMap
- values() - Static method in enum com.helger.servlet.response.EContentDispositionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.servlet.response.ERedirectMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.servlet.response.EResponseStreamType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.helger.servlet.response.EXFrameOptionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wrap(HttpServletResponse) - Static method in class com.helger.servlet.response.StatusAwareHttpResponseWrapper
- write(byte[]) - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- write(byte[], int, int) - Method in class com.helger.servlet.http.CountingOnlyServletOutputStream
- write(byte[], int, int) - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- write(int) - Method in class com.helger.servlet.http.CountingOnlyServletOutputStream
- write(int) - Method in class com.helger.servlet.response.gzip.AbstractCompressedServletOutputStream
- writeContentTo(OutputStream) - Method in class com.helger.servlet.logging.LoggingHttpServletResponseWrapper
All Classes All Packages