Skip navigation links
A D E F G H I O P R S T X 

A

addFunction(String, String, Method) - Method in class org.appng.el.ExpressionEvaluator
Adds a prefixed function to this ExpressionEvaluator.
addFunction(String, Method) - Method in class org.appng.el.ExpressionEvaluator
Adds a function to this ExpressionEvaluator.
addParameter(String, String) - Method in class org.appng.forms.impl.RequestBean
 
addParameter(String, String) - Method in interface org.appng.forms.Request
Adds the given parameter to this Request, but only if such a parameter not already exists.
addParameters(Map<String, String>) - Method in class org.appng.forms.impl.RequestBean
 
addParameters(Map<String, String>) - Method in interface org.appng.forms.Request
Adds the given parameters to this Request, but only for those parameters not already existsing.

D

doProcess(HttpServletRequest) - Method in class org.appng.forms.XSSUtil
 
doProcess(HttpServletRequest, String...) - Method in class org.appng.forms.XSSUtil
 

E

evaluate(String, Class<T>) - Method in class org.appng.el.ExpressionEvaluator
Evaluates the given expression to an object of the given targetType
evaluate(String) - Method in class org.appng.el.ExpressionEvaluator
Evaluates the given expression to a boolean.
ExpressionEvaluator - Class in org.appng.el
Used for evaluating expressions that conform the Expression Language 2.2 syntax.
A valid expression must start with ${ and end with }.
ExpressionEvaluator(Map<String, ?>) - Constructor for class org.appng.el.ExpressionEvaluator
Creates a new ExpressionEvaluator using the given variables.

F

FormUpload - Interface in org.appng.forms
A FormUpload represents a File which was uploaded through a HTML form using <input type="file">.
FormUploadBean - Class in org.appng.forms.impl
Default FormUpload implementation.
FormUploadBean(File, String, String, List<String>, long) - Constructor for class org.appng.forms.impl.FormUploadBean
 
formUploads - Variable in class org.appng.forms.impl.RequestBean
 
FormUploadValidator - Interface in org.appng.forms
Interface to support further validation of the uploaded file, for example check the dimensions of an image or the structure of a text file.

G

getAcceptedTypes() - Method in interface org.appng.forms.FormUpload
Returns a List of accepted file-extensions (without .)/content-types for this FormUpload.
getAcceptedTypes() - Method in class org.appng.forms.impl.FormUploadBean
 
getAcceptedTypes(String) - Method in class org.appng.forms.impl.RequestBean
 
getAcceptedTypes(String) - Method in interface org.appng.forms.Request
Returns the accepted file-extensions/content-types for the input field with the given name.
getBoolean(String) - Method in class org.appng.el.ExpressionEvaluator
Evaluates the given expression to a Boolean, if possible.
getBytes() - Method in interface org.appng.forms.FormUpload
Returns the bytes of the uploaded File.
getBytes() - Method in class org.appng.forms.impl.FormUploadBean
 
getContentType() - Method in interface org.appng.forms.FormUpload
Returns the content-type (if any) for this FormUpload.
getContentType() - Method in class org.appng.forms.impl.FormUploadBean
 
getEncoding() - Method in class org.appng.forms.impl.RequestBean
 
getEncoding() - Method in interface org.appng.forms.Request
Return the encoding for this request
getFile() - Method in interface org.appng.forms.FormUpload
Returns the File which has been locally saved, but only if FormUpload.isValid() returns true.
getFile() - Method in class org.appng.forms.impl.FormUploadBean
 
getFormUploads(String) - Method in class org.appng.forms.impl.RequestBean
 
getFormUploads() - Method in class org.appng.forms.impl.RequestBean
 
getFormUploads() - Method in interface org.appng.forms.RequestContainer
Returns all FormUploads for the request as immutable map.
getFormUploads(String) - Method in interface org.appng.forms.RequestContainer
Returns an immutable List of all FormUploads for the parameter with the given name.
getHost() - Method in class org.appng.forms.impl.RequestBean
 
getHost() - Method in interface org.appng.forms.RequestContainer
Returns the host name for this request
getHttpServletRequest() - Method in class org.appng.forms.impl.RequestBean
 
getHttpServletRequest() - Method in interface org.appng.forms.Request
Returns the previously processed HttpServletRequest
getMaxSize() - Method in interface org.appng.forms.FormUpload
Returns the maximum size (in bytes) for the uploaded File (default: -1, which means there is no limit).
getMaxSize() - Method in class org.appng.forms.impl.FormUploadBean
 
getMinSize() - Method in interface org.appng.forms.FormUpload
Returns the minimum size (in bytes) for the uploaded file (default: 0).
getMinSize() - Method in class org.appng.forms.impl.FormUploadBean
 
getOriginalFilename() - Method in interface org.appng.forms.FormUpload
Returns the name of the original (without any path prefix) file which was uploaded.
getOriginalFilename() - Method in class org.appng.forms.impl.FormUploadBean
 
getParameter(String) - Method in class org.appng.forms.impl.RequestBean
 
getParameter(String) - Method in interface org.appng.forms.RequestContainer
Returns the value for the parameter with the given name.
Note that for a multi-valued parameter, any of the submitted values is returned.
getParameterList(String) - Method in class org.appng.forms.impl.RequestBean
 
getParameterList(String) - Method in interface org.appng.forms.RequestContainer
Returns a List containing all the values for the parameter with the given name.
getParameterNames() - Method in class org.appng.forms.impl.RequestBean
 
getParameterNames() - Method in interface org.appng.forms.RequestContainer
Returns an immutable Set containing the names of all request parameters.
getParameters() - Method in class org.appng.forms.impl.RequestBean
 
getParameters() - Method in interface org.appng.forms.RequestContainer
Returns an immutable Map containing the name of each request-parameter as a key and a single parameter value as the map's value.
Note that for multi-valued parameters, the returned map contains any of the submitted values.
getParametersList() - Method in class org.appng.forms.impl.RequestBean
 
getParametersList() - Method in interface org.appng.forms.RequestContainer
Returns an immutable Map containing the name of each request-parameter as a key and the list of submitted values as value.
getString(String) - Method in class org.appng.el.ExpressionEvaluator
Evaluates the given expression to a String, if possible.
getXssUtil() - Method in class org.appng.forms.impl.RequestBean
 

H

hasParameter(String) - Method in class org.appng.forms.impl.RequestBean
 
hasParameter(String) - Method in interface org.appng.forms.RequestContainer
Checks whether a parameter with the given name exists.
host - Variable in class org.appng.forms.impl.RequestBean
 

I

isExpression(String) - Method in class org.appng.el.ExpressionEvaluator
Checks whether the given String is a valid expression (starts with ${ and ends with }).
isGet() - Method in class org.appng.forms.impl.RequestBean
 
isGet() - Method in interface org.appng.forms.Request
Returns true if this is a HTPP GET request.
isMultiPart() - Method in class org.appng.forms.impl.RequestBean
 
isMultiPart() - Method in interface org.appng.forms.Request
Returns true if this is a multipart request.
isPost() - Method in class org.appng.forms.impl.RequestBean
 
isPost() - Method in interface org.appng.forms.Request
Returns true if this is a HTPP POST request.
isValid() - Method in interface org.appng.forms.FormUpload
Returns true if, and only if, all of those methods return true: FormUpload.isValidFile() FormUpload.isValidSize() FormUpload.isValidType()
isValid(FormUploadValidator) - Method in interface org.appng.forms.FormUpload
Calls FormUploadValidator.isValid(FormUpload) using this FormUpload and returns the result.
isValid(Class<? extends FormUploadValidator>) - Method in interface org.appng.forms.FormUpload
Calls FormUploadValidator.isValid(FormUpload) using this FormUpload and returns the result.
isValid(String[], long, long) - Method in interface org.appng.forms.FormUpload
Checks whether this FormUpload has one of the given types and matches the given size restrictions.
isValid(FormUpload) - Method in interface org.appng.forms.FormUploadValidator
Validates the given FormUpload.
isValid() - Method in class org.appng.forms.impl.FormUploadBean
 
isValid(String[], long, long) - Method in class org.appng.forms.impl.FormUploadBean
 
isValid(FormUploadValidator) - Method in class org.appng.forms.impl.FormUploadBean
 
isValid(Class<? extends FormUploadValidator>) - Method in class org.appng.forms.impl.FormUploadBean
 
isValid() - Method in class org.appng.forms.impl.RequestBean
 
isValid() - Method in interface org.appng.forms.Request
Checks whether this is a valid Request, i.e.
isValidFile() - Method in interface org.appng.forms.FormUpload
Checks whether the File for this FormUpload exists and File.isFile() returns true .
isValidFile() - Method in class org.appng.forms.impl.FormUploadBean
 
isValidSize() - Method in interface org.appng.forms.FormUpload
Checks whether the File has a valid size.
isValidSize() - Method in class org.appng.forms.impl.FormUploadBean
 
isValidType() - Method in interface org.appng.forms.FormUpload
Checks whether the File's extension or content-type are contained in the list of accepted types for this FormUpload.
isValidType() - Method in class org.appng.forms.impl.FormUploadBean
 

O

org.appng.el - package org.appng.el
Types for expression evaluation
org.appng.forms - package org.appng.forms
Types for handling HTTP POST- and GET-requests
org.appng.forms.impl - package org.appng.forms.impl
Request and FormUpload implementations

P

parameters - Variable in class org.appng.forms.impl.RequestBean
 
process(HttpServletRequest) - Method in class org.appng.forms.impl.RequestBean
 
process(HttpServletRequest) - Method in interface org.appng.forms.Request
Processes the given HttpServletRequest.

R

Request - Interface in org.appng.forms
Extends the informations provided by a RequestContainer and allows processing a HttpServletRequest by calling Request.process(HttpServletRequest).
REQUEST_PARSED - Static variable in interface org.appng.forms.Request
request-attribute to store a parsed HttpServletRequest in
RequestBean - Class in org.appng.forms.impl
The default Request-implementation.
RequestBean() - Constructor for class org.appng.forms.impl.RequestBean
 
RequestBean(long) - Constructor for class org.appng.forms.impl.RequestBean
 
RequestBean(long, File) - Constructor for class org.appng.forms.impl.RequestBean
 
RequestContainer - Interface in org.appng.forms
A RequestContainer conveniently wraps an ServletRequest and simplifies the access to (possibly multi-valued) request-parameters including FormUploads.

S

setAcceptedTypes(String, String...) - Method in class org.appng.forms.impl.RequestBean
 
setAcceptedTypes(String, String...) - Method in interface org.appng.forms.Request
Sets the accepted mime-types or filetype-extensions for the given field
setEncoding(String) - Method in class org.appng.forms.impl.RequestBean
 
setEncoding(String) - Method in interface org.appng.forms.Request
Sets the encoding for this request
setHost(String) - Method in class org.appng.forms.impl.RequestBean
 
setMaxSize(long) - Method in class org.appng.forms.impl.RequestBean
 
setMaxSize(long, boolean) - Method in class org.appng.forms.impl.RequestBean
 
setMaxSize(long) - Method in interface org.appng.forms.Request
Sets the maximum size for a FormUpload within this Request.
setMaxSize(long, boolean) - Method in interface org.appng.forms.Request
Sets the maximum size for a FormUpload within this Request, and additionally defines if violations should be handled strict.
setProcessed(HttpServletRequest, boolean) - Method in class org.appng.forms.XSSUtil
 
setTempDir(File) - Method in class org.appng.forms.impl.RequestBean
 
setTempDir(File) - Method in interface org.appng.forms.Request
Sets the (absolute) temporary directory for storing FormUploads.
setVariable(String, Object) - Method in class org.appng.el.ExpressionEvaluator
Sets the variable with the given name to the given value.
setVariables(Map<String, ?>) - Method in class org.appng.el.ExpressionEvaluator
Calls setVariable(String, Object) for each entry of the given map.
setXssUtil(XSSUtil) - Method in class org.appng.forms.impl.RequestBean
 
size() - Method in interface org.appng.forms.FormUpload
Returns the size (in bytes) of the uploaded File.
size() - Method in class org.appng.forms.impl.FormUploadBean
 
stripXss(String) - Method in class org.appng.forms.XSSUtil
 
stripXss(String[]) - Method in class org.appng.forms.XSSUtil
 

T

toString() - Method in class org.appng.forms.impl.FormUploadBean
 

X

XSSUtil - Class in org.appng.forms
A utility class helping with XSS prevention.
Uses ESAPI and JSOUP.
XSSUtil(Encoder) - Constructor for class org.appng.forms.XSSUtil
 
XSSUtil(Encoder, Whitelist, String...) - Constructor for class org.appng.forms.XSSUtil
 
A D E F G H I O P R S T X 

Copyright © 2011–2017 aiticon GmbH. All rights reserved.