public final class HttpParamBean extends Object
Constructor and Description |
---|
HttpParamBean() |
Modifier and Type | Method and Description |
---|---|
boolean |
getEncoded()
Returns the value of encoded.
|
Resource |
getFile() |
String |
getMimeType()
Returns the value of mimeType.
|
String |
getName() |
String |
getType() |
Object |
getValue() |
String |
getValueAsString() |
void |
setEncoded(boolean encoded)
sets the encoded value.
|
void |
setFile(Resource file)
set the value file
Required for type = "File".
|
void |
setMimeType(String mimeType)
sets the mimeType value.
|
void |
setName(String name)
set the value name
A variable name for the data being passed.
|
void |
setType(String type)
set the value type
The transaction type.
|
void |
setValue(Object value)
set the value value
Specifies the value of the URL, FormField, Cookie, File, or CGI variable being passed.
|
public HttpParamBean()
public void setValue(Object value)
value
- value to setpublic void setType(String type)
type
- value to setpublic void setFile(Resource file)
file
- value to setpublic void setName(String name)
name
- value to setpublic String getValueAsString() throws PageException
PageException
public boolean getEncoded()
public void setEncoded(boolean encoded)
encoded
- The encoded to set.public String getMimeType()
public void setMimeType(String mimeType)
mimeType
- The mimeType to set.Copyright © 2015 Lucee