Todo
add representation of multipart data
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static interface | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private int | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public Deque | |
| public FormData. | |
| public FormData. | |
| public int | |
| public Iterator | |
| public void | |
| public Deque | |
| public String |
| maxValues | back to summary |
|---|---|
| private final int maxValues | |
| valueCount | back to summary |
|---|---|
| private int valueCount | |
| values | back to summary |
|---|---|
| private final Map<String, Deque<FormData. | |
| FormData | back to summary |
|---|---|
| public FormData(final int maxValues) | |
| add | back to summary |
|---|---|
| public void add(String name, byte[] value, String fileName, HeaderMap headers) | |
| add | back to summary |
|---|---|
| public void add(String name, String value) | |
| add | back to summary |
|---|---|
| public void add(String name, String value, final HeaderMap headers) | |
| add | back to summary |
|---|---|
| public void add(String name, String value, String charset, final HeaderMap headers) | |
| add | back to summary |
|---|---|
| public void add(String name, Path value, String fileName, final HeaderMap headers) | |
| add | back to summary |
|---|---|
| public void add(String name, Path value, String fileName, final HeaderMap headers, boolean bigField, String charset) | |
| contains | back to summary |
|---|---|
| public boolean contains(String name) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| get | back to summary |
|---|---|
| public Deque | |
| getFirst | back to summary |
|---|---|
| public FormData. | |
| getLast | back to summary |
|---|---|
| public FormData. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| put | back to summary |
|---|---|
| public void put(String name, String value, final HeaderMap headers) | |
| remove | back to summary |
|---|---|
| public Deque | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final Path |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Path | |
| public long | |
| public InputStream | |
| public boolean | |
| public void |
| content | back to summary |
|---|---|
| private final byte[] content | |
| file | back to summary |
|---|---|
| private final Path file | |
| FileItem | back to summary |
|---|---|
| public FileItem(Path file) | |
| FileItem | back to summary |
|---|---|
| public FileItem(byte[] content) | |
| delete | back to summary |
|---|---|
| public void delete() throws IOException | |
| getFile | back to summary |
|---|---|
| public Path getFile() | |
| getFileSize | back to summary |
|---|---|
| public long getFileSize() throws IOException | |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() throws IOException | |
| isInMemory | back to summary |
|---|---|
| public boolean isInMemory() | |
| write | back to summary |
|---|---|
| public void write(Path target) throws IOException | |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public File | |
| public FormData. | |
| public String | |
| public HeaderMap | Returns: The headers that were present in the multipart request, or null if this was not a multipart request
|
| public Path | |
| public String | |
| public boolean | Returns: true if size of the FormValue comes from a multipart request exceeds the fieldSizeThreshold ofMultiPartParserDefinition without filename specified.
A big field is stored in disk, it is a file based FileItem.
getValue() returns getCharset() decoded string from the file if it is true.
|
| public boolean | |
| public boolean |
| getCharset | back to summary |
|---|---|
public String getCharset()
| |
| getFile | back to summary |
|---|---|
| public File getFile()
Deprecated
| |
| getFileItem | back to summary |
|---|---|
| public FormData. | |
| getFileName | back to summary |
|---|---|
public String getFileName()
| |
| getHeaders | back to summary |
|---|---|
public HeaderMap getHeaders()
| |
| getPath | back to summary |
|---|---|
| public Path getPath()
Deprecated
| |
| getValue | back to summary |
|---|---|
public String getValue()
| |
| isBigField | back to summary |
|---|---|
public boolean isBigField()
| |
| isFile | back to summary |
|---|---|
| public boolean isFile()
Deprecated
Returns true if this is a file and not a simple string
| |
| isFileItem | back to summary |
|---|---|
| public boolean isFileItem() | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| private final FormData. | |
| private final String | |
| private final HeaderMap | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | FormValueImpl(Path file, final String fileName, HeaderMap headers, boolean bigField, String charset)
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public File | |
| public FormData. | |
| public String | |
| public HeaderMap | |
| public Path | |
| public String | |
| public boolean | |
| public boolean | isFile()
Implements io. Returns true if this is a file and not a simple string |
| public boolean |
| bigField | back to summary |
|---|---|
| private final boolean bigField | |
| charset | back to summary |
|---|---|
| private final String charset | |
| fileItem | back to summary |
|---|---|
| private final FormData. | |
| fileName | back to summary |
|---|---|
| private final String fileName | |
| headers | back to summary |
|---|---|
| private final HeaderMap headers | |
| value | back to summary |
|---|---|
| private final String value | |
| FormValueImpl | back to summary |
|---|---|
| pack-priv FormValueImpl(String value, HeaderMap headers) | |
| FormValueImpl | back to summary |
|---|---|
| pack-priv FormValueImpl(String value, String charset, HeaderMap headers) | |
| FormValueImpl | back to summary |
|---|---|
| pack-priv FormValueImpl(Path file, final String fileName, HeaderMap headers, boolean bigField, String charset) | |
| FormValueImpl | back to summary |
|---|---|
| pack-priv FormValueImpl(byte[] data, String fileName, HeaderMap headers) | |
| getCharset | back to summary |
|---|---|
| public String getCharset() Implements io.
| |
| getFile | back to summary |
|---|---|
| public File getFile() Implements io.
| |
| getFileItem | back to summary |
|---|---|
| public FormData. Implements io.
| |
| getFileName | back to summary |
|---|---|
| public String getFileName() Implements io.
| |
| getHeaders | back to summary |
|---|---|
| public HeaderMap getHeaders() Implements io.
| |
| getPath | back to summary |
|---|---|
| public Path getPath() Implements io.
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements io.
| |
| isBigField | back to summary |
|---|---|
| public boolean isBigField() Implements io.
| |
| isFile | back to summary |
|---|---|
| public boolean isFile() Implements io. Doc from io. Returns true if this is a file and not a simple string
| |
| isFileItem | back to summary |
|---|---|
| public boolean isFileItem() Implements io.
| |