|
|||||||||
| Home >> All >> com >> jcorporate >> expresso >> core >> misc >> [ upload overview ] | PREV NEXT | ||||||||
A
- add(String, double) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Add a name/value pair into this object.
- add(String, int) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Add a name/value pair into this object.
- add(String, Integer) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Add a name/value pair into this object.
- add(String, long) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Add a name/value pair into this object.
- add(String, String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Add a name/value pair into this object.
- add(String, double) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Add a name/value pair into this object.
- add(String, int) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Add a name/value pair into this object.
- add(String, Integer) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Add a name/value pair into this object.
- add(String, long) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Add a name/value pair into this object.
- add(String, String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Add a name/value pair into this object.
- append(String, String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Add a String parameters.
- append(String, FileItem) - Method in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- Add a FileItem object as a parameters.
- append(String, FileItem) - Method in interface com.jcorporate.expresso.core.misc.upload.ParameterParser
- Add a FileItem object as a parameters.
- append(String, String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Add a String parameters.
- arrayequals(byte[], byte[], int) - Static method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Compares
countfirst bytes in the arraysaandb.
B
- BaseValueParser - class com.jcorporate.expresso.core.misc.upload.BaseValueParser.
- BaseValueParser is a base class for classes that need to parse name/value Parameters, for example GET/POST data or Cookies (DefaultParameterParser and DefaultCookieParser)
- BaseValueParser() - Constructor for class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Default constructor
- BaseValueParser(String) - Constructor for class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Constructor that takes a character encoding
- boundary - Variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- A byte sequence that partitions the stream.
- boundaryLength - Variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- The lenght of boundary token plus leading
CRLF--. - bufSize - Variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- The lenght of the buffer used for processing.
- buffer - Variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- The buffer used for processing.
- byteStream - Variable in class com.jcorporate.expresso.core.misc.upload.FileItem
- Temporary storage for in-memory files.
C
- characterEncoding - Variable in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- The character encoding to use when converting to byte arrays
- clear() - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Clear all name/value pairs out of this object.
- clear() - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Clear all name/value pairs out of this object.
- com.jcorporate.expresso.core.misc.upload - package com.jcorporate.expresso.core.misc.upload
- Miscellaneous objects for file manipulation, running OS processes, etc
- containsKey(Object) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Determine whether a given key has been inserted.
- containsKey(Object) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Determine whether a given key has been inserted.
- content - Variable in class com.jcorporate.expresso.core.misc.upload.FileItem
- Cached contents of the file.
- contentType - Variable in class com.jcorporate.expresso.core.misc.upload.FileItem
- The content type passed by the browser or
nullif not defined. - convert(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Trims the string data and applies the conversion specified in the property given by URL_CASE_FOLDING.
- convert(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Trims the string data and applies the conversion specified in the property given by URL_CASE_FOLDING.
- convertAndTrim(String) - Static method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- A static version of the convert method, which trims the string data and applies the conversion specified in the property given by URL_CASE_FOLDING.
- createItem(String, int, boolean) - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Creates a new instance of a FileItem.
D
- DEFAULT_BUFSIZE - Static variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- The default lenght of the buffer used for processing.
- DEFAULT_UPLOAD_SIZE_THRESHOLD - Static variable in class com.jcorporate.expresso.core.misc.upload.FileItem
- The maximal size of request that will have it's elements stored in memory.
- DefaultParameterParser - class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser.
- DefaultParameterParser is a utility object to handle parsing and retrieving the data passed via the GET/POST/PATH_INFO arguments.
- DefaultParameterParser() - Constructor for class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- Create a new empty instance of ParameterParser.
- DefaultParameterParser(String) - Constructor for class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- Create a new empty instance of ParameterParser.
- destroy() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Destroy all content for this form file.
- discardBodyData() - Method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Reads
body-datafrom the currentencapsulationand discards it. - dispose() - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Disposes the parser.
- dispose() - Method in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- Disposes the parser.
F
- FIELD_SEPARATOR - Static variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- A byte sequence that that follows a delimiter that will be
followed by an encapsulation (
CRLF). - FileItem - class com.jcorporate.expresso.core.misc.upload.FileItem.
- This class represents a file that was received by Turbine using
multipart/form-dataPOST request. - FileItem(String, String) - Constructor for class com.jcorporate.expresso.core.misc.upload.FileItem
- Constructs a new
FileItem. - fileItems - Variable in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- fileName - Variable in class com.jcorporate.expresso.core.misc.upload.FileItem
- The original filename in the user's filesystem.
- findByte(byte, int) - Method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Searches a byte of specified value in the
bufferstarting at specifiedposition. - findSeparator() - Method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Searches the
boundaryinbufferregion delimited byheadandtail. - finish() - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- This method is called on when a successful form post has been made.
G
- get(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a String for the given name.
- get() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns the contents of the file as an array of bytes.
- get(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a String for the given name.
- getAllElements() - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- This method returns all elements of a multipart request.
- getBigDecimal(String, BigDecimal) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a BigDecimal for the given name.
- getBigDecimal(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a BigDecimal for the given name.
- getBigDecimal(String, BigDecimal) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a BigDecimal for the given name.
- getBigDecimal(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a BigDecimal for the given name.
- getBigDecimals(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an array of BigDecimals for the given name.
- getBigDecimals(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an array of BigDecimals for the given name.
- getBool(String, boolean) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a Boolean for the given name.
- getBool(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a Boolean for the given name.
- getBool(String, boolean) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a Boolean for the given name.
- getBool(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a Boolean for the given name.
- getBoolean(String, boolean) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a boolean for the given name.
- getBoolean(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a boolean for the given name.
- getBoolean(String, boolean) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a boolean for the given name.
- getBoolean(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a boolean for the given name.
- getByte(String, byte) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a byte for the given name.
- getByte(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a byte for the given name.
- getByte(String, byte) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a byte for the given name.
- getByte(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a byte for the given name.
- getBytes(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an array of bytes for the given name.
- getBytes(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an array of bytes for the given name.
- getCharacterEncoding() - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Get the character encoding that will be used by this ValueParser.
- getCharacterEncoding() - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Get the character encoding that will be used by this ValueParser.
- getContentType() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns the content type passed by the browser or
nullif not defined. - getDouble(String, double) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a double for the given name.
- getDouble(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a double for the given name.
- getDouble(String, double) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a double for the given name.
- getDouble(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a double for the given name.
- getFieldName() - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Retrieves field name from 'Content-disposition' header.
- getFileData() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Get the data in byte array for for this file.
- getFileElements() - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- This method is called on to retrieve all the FormFile input elements of the request.
- getFileItem(String) - Method in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- Return a FileItem object for the given name.
- getFileItem(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ParameterParser
- Return a FileItem object for the given name.
- getFileItems(String) - Method in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- Return an array of FileItem objects for the given name.
- getFileItems(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ParameterParser
- Return an array of FileItem objects for the given name.
- getFileName() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns the original filename in the user's filesystem.
- getFileName() - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Retrieves file name from 'Content-disposition' header.
- getFileSize() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Get the size of this file
- getFloat(String, float) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a float for the given name.
- getFloat(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a float for the given name.
- getFloat(String, float) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a float for the given name.
- getFloat(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a float for the given name.
- getHeader(String) - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Returns a header with specified name.
- getInputStream() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Get an InputStream that represents this file.
- getInt(String, int) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an int for the given name.
- getInt(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an int for the given name.
- getInt(String, int) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an int for the given name.
- getInt(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an int for the given name.
- getInteger(String, int) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an Integer for the given name.
- getInteger(String, Integer) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an Integer for the given name.
- getInteger(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an Integer for the given name.
- getInteger(String, int) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an Integer for the given name.
- getInteger(String, Integer) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an Integer for the given name.
- getInteger(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an Integer for the given name.
- getIntegers(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an array of Integers for the given name.
- getIntegers(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an array of Integers for the given name.
- getInts(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an array of ints for the given name.
- getInts(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an array of ints for the given name.
- getKeys() - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- getKeys() - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- getLong(String, long) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a long for the given name.
- getLong(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a long for the given name.
- getLong(String, long) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a long for the given name.
- getLong(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a long for the given name.
- getLongObjects(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an array of Longs for the given name.
- getLongObjects(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an array of Longs for the given name.
- getLongs(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an array of longs for the given name.
- getLongs(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an array of longs for the given name.
- getMapping() - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Get the ActionMapping instance for this request
- getName() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns the name of the FileItem
- getObject(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an Object for the given name.
- getObject(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an Object for the given name.
- getObjects(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an array of Objects for the given name.
- getObjects(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an array of Objects for the given name.
- getOutputStream() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns an OutputStream that can be used for storing the contensts of the file.
- getRequest() - Method in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- Gets the parsed servlet request.
- getRequest() - Method in interface com.jcorporate.expresso.core.misc.upload.ParameterParser
- Gets the parsed servlet request.
- getServlet() - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Get the ActionServlet instance
- getSize() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns the size of the file.
- getStoreLocation() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns the java.io.File objects for the FileItems's data temporary location on the disk.
- getStream() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns an InputStream that can be used to retrieve the contents of the file.
- getString(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a String for the given name.
- getString(String, String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return a String for the given name.
- getString() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns the contents of the file as a String, using default encoding.
- getString(String) - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Returns the contents of the file as a String, using specified encoding.
- getString(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a String for the given name.
- getString(String, String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return a String for the given name.
- getStrings(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an array of Strings for the given name.
- getStrings(String, String[]) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Return an array of Strings for the given name.
- getStrings(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an array of Strings for the given name.
- getStrings(String, String[]) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Return an array of Strings for the given name.
- getTextElements() - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- This method is called on to retrieve all the text input elements of the request.
H
- HEADER_PART_SIZE_MAX - Static variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- The maximum lenght of
header-partthat will be processed (10 kilobytes = 10240 bytes. - HEADER_SEPARATOR - Static variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- A byte sequence that marks the end of
header-part(CRLFCRLF). - handleRequest(HttpServletRequest) - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- After constructed, this is the first method called on by ActionServlet.
- hasFileItem(String) - Method in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- head - Variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- The index of first valid character in the buffer.
- headers - Variable in class com.jcorporate.expresso.core.misc.upload.Uploader
- Stores parsed headers as key - value pairs.
I
- inMemory() - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Provides a hint if the file contents will be read from memory.
- input - Variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- The stream were data is read from.
K
- keepRegion - Variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- The amount of data that must be kept in the buffer in order to detect delimiters reliably.
- keys() - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- keys() - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
L
M
- MAX_HEADER_SIZE - Static variable in class com.jcorporate.expresso.core.misc.upload.Uploader
- A maximum lenght of a single header line that will be parsed.
- MultipartStream - class com.jcorporate.expresso.core.misc.upload.MultipartStream.
- This class can be used to process data streams conforming to MIME 'multipart' format as defined in RFC 1521.
- MultipartStream(InputStream, byte[], int) - Constructor for class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Constructs a MultipartStream with a custom size buffer.
- MultipartStream(InputStream, byte[]) - Constructor for class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Constructs a MultipartStream with a defalut size buffer.
- MultipartStream.IllegalBoundaryException - exception com.jcorporate.expresso.core.misc.upload.MultipartStream.IllegalBoundaryException.
- Thrown upon attempt of setting an invalid boundary token.
- MultipartStream.IllegalBoundaryException() - Constructor for class com.jcorporate.expresso.core.misc.upload.MultipartStream.IllegalBoundaryException
- Constructs an
IllegalBoundaryExceptionwith no detail message. - MultipartStream.IllegalBoundaryException(String) - Constructor for class com.jcorporate.expresso.core.misc.upload.MultipartStream.IllegalBoundaryException
- Constructs an
IllegalBoundaryExceptionwith the specified detail message. - MultipartStream.MalformedStreamException - exception com.jcorporate.expresso.core.misc.upload.MultipartStream.MalformedStreamException.
- Thrown to indicate that the input stream fails to follow the required syntax.
- MultipartStream.MalformedStreamException() - Constructor for class com.jcorporate.expresso.core.misc.upload.MultipartStream.MalformedStreamException
- Constructs a
MalformedStreamExceptionwith no detail message. - MultipartStream.MalformedStreamException(String) - Constructor for class com.jcorporate.expresso.core.misc.upload.MultipartStream.MalformedStreamException
- Constructs an
MalformedStreamExceptionwith the specified detail message. - myActionServlet - Variable in class com.jcorporate.expresso.core.misc.upload.Uploader
- myMapping - Variable in class com.jcorporate.expresso.core.misc.upload.Uploader
- myParser - Variable in class com.jcorporate.expresso.core.misc.upload.Uploader
N
- newInstance(String, String, String, int, boolean) - Static method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Instantiates a FileItem.
P
- ParameterParser - interface com.jcorporate.expresso.core.misc.upload.ParameterParser.
- ParameterParser is an interface to a utility to handle parsing and retrieving the data passed via the GET/POST/PATH_INFO arguments.
- parameters - Variable in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Random access storage for parameter data.
- parseHeaders(String) - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Parses the
header-partand stores as key - value pairs. - parseRequest(HttpServletRequest, ParameterParser, String) - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Processes an RFC
1867 compliant
multipart/form-datastream.
R
- readBodyData(OutputStream) - Method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Reads
body-datafrom the currentencapsulationand writes its contents into the outputStream. - readBoundary() - Method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Skips a
boundarytoken, and checks wether moreencapsulationsare contained in the stream. - readByte() - Method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Reads a byte from the
buffer, and refills it as neccessary. - readHeaders() - Method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Reads
header-partof the currentencapsulation - remove(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Removes the named parameter from the contained hashtable.
- remove(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Removes the named parameter from the contained hashtable.
- request - Variable in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- The servlet request to parse.
- rollback() - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- This method is called on when there's some sort of problem and the form post needs to be rolled back.
S
- STREAM_TERMINATOR - Static variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- A byte sequence that that follows a delimiter of the last
encapsulation in the stream (
--). - setBoundary(byte[]) - Method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Changes the boundary token used for partitioning the stream.
- setCharacterEncoding(String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Set the character encoding that will be used by this ValueParser.
- setCharacterEncoding(String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Set the character encoding that will be used by this ValueParser.
- setContentType(String) - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Set the content type for this file
- setFileName(String) - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Set the filename of this file
- setFileSize(int) - Method in class com.jcorporate.expresso.core.misc.upload.FileItem
- Set the file size
- setMapping(ActionMapping) - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Convienience method to set a reference to a working ActionMapping instance.
- setProperties(Object) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Uses bean introspection to set writable properties of bean from the parameters, where a (case-insensitive) name match between the bean property and the parameter is looked for.
- setProperties(Object) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Uses bean introspection to set writable properties of bean from the parameters, where a (case-insensitive) name match between the bean property and the parameter is looked for.
- setProperty(Object, PropertyDescriptor) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Set the property 'prop' in the bean to the value of the corresponding parameters.
- setRequest(HttpServletRequest) - Method in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- setRequest(HttpServletRequest) - Method in interface com.jcorporate.expresso.core.misc.upload.ParameterParser
- Sets the servlet request to be parser.
- setServlet(ActionServlet) - Method in class com.jcorporate.expresso.core.misc.upload.Uploader
- Convienience method to set a reference to a working ActionServlet instance.
- setString(String, String) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Set a parameter to a specific value.
- setString(String, String) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Set a parameter to a specific value.
- setStrings(String, String[]) - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Set a parameter to a specific value.
- setStrings(String, String[]) - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Set a parameter to a specific value.
- setUploadData(byte[]) - Method in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- Sets the uploadData byte[]
- setUploadData() - Method in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- Gets the uploadData byte[]
- setUploadData(byte[]) - Method in interface com.jcorporate.expresso.core.misc.upload.ParameterParser
- Sets the uploadData byte[]
- setUploadData() - Method in interface com.jcorporate.expresso.core.misc.upload.ParameterParser
- Gets the uploadData byte[]
- skipPreamble() - Method in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- Finds the beginning of the first
encapsulation. - storeLocation - Variable in class com.jcorporate.expresso.core.misc.upload.FileItem
- Temporary storage location.
T
- tail - Variable in class com.jcorporate.expresso.core.misc.upload.MultipartStream
- The index of last valid characer in the buffer + 1.
- toString() - Method in class com.jcorporate.expresso.core.misc.upload.BaseValueParser
- Simple method that attempts to get a toString() representation of this object.
- toString() - Method in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Simple method that attempts to get a toString() representation of this object.
U
- URL_CASE_FOLDING - Static variable in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- The case folding property specifying the case folding to apply to value keys of the parser.
- URL_CASE_FOLDING_LOWER - Static variable in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- URL_CASE_FOLDING_NONE - Static variable in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- URL_CASE_FOLDING_UPPER - Static variable in interface com.jcorporate.expresso.core.misc.upload.ValueParser
- Uploader - class com.jcorporate.expresso.core.misc.upload.Uploader.
- Files will be stored in temporary disk storage
- Uploader() - Constructor for class com.jcorporate.expresso.core.misc.upload.Uploader
- uploadData - Variable in class com.jcorporate.expresso.core.misc.upload.DefaultParameterParser
- The raw data of a file upload.
V
- ValueParser - interface com.jcorporate.expresso.core.misc.upload.ValueParser.
- ValueParser is a base interface for classes that need to parse name/value Parameters, for example GET/POST data or Cookies (ParameterParser and CookieParser)
A B C D F G H I K L M N P R S T U V
|
|||||||||
| Home >> All >> com >> jcorporate >> expresso >> core >> misc >> [ upload overview ] | PREV NEXT | ||||||||