repo1.maven.org$maven2@org.apache.sling$org.apache.sling.api@2.0.8
repo1.maven.org$maven2@org.apache.sling$org.apache.sling.api@2.0.8@org$apache$sling$api$request$RequestParameter.java
file
oh
o
[]
package org.apache.sling.api.request;
Determines whether or not this instance represents a simple form field or
an uploaded file.
- Returns:
true if the instance represents a simple form
field; false if it represents an uploaded file.
Returns the content type passed by the browser or
null if
not defined.
- Returns:
- The content type passed by the browser or
null if
not defined.
Returns the size in bytes of the parameter.
- Returns:
- The size in bytes of the parameter.
Returns the contents of the parameter as an array of bytes.
- Returns:
- The contents of the parameter as an array of bytes.
Returns an InputStream that can be used to retrieve the contents of the
file.
- Returns:
- An InputStream that can be used to retrieve the contents of the
file.
- Throws:
java.io.IOException if an error occurs.
Returns the original filename in the client's filesystem, as provided by
the browser (or other client software). In most cases, this will be the
base file name, without path information. However, some clients, such as
the Opera browser, do include path information.
- Returns:
- The original filename in the client's filesystem.
Returns the contents of the parameter as a String, using the default
character encoding. This method uses
get() to retrieve the
contents of the item.
- Returns:
- The contents of the parameter, as a string.
Returns the contents of the parameter as a String, using the specified
encoding. This method uses link
get() to retrieve the contents
of the item.
- Parameters:
encoding The character encoding to use.- Returns:
- The contents of the parameter, as a string.
- Throws:
java.io.UnsupportedEncodingException if the requested character encoding
is not available.