public class fRequest extends DbValue
BIGINT_DESC, bNull, CHAR_DESC, CURRENCY_DESC, DATE_DESC, desc, DOUBLE_DESC, INTEGER_DESC, TIME_DESC
Constructor and Description |
---|
fRequest() |
fRequest(DbColDesc dbColDesc) |
Modifier and Type | Method and Description |
---|---|
DbChar |
addHeaderProperty(DbChar key,
DbChar value)
Add a property to the request header
|
java.lang.Object |
clone()
Creates a clone of this DbValue variable.
|
int |
compareTo(DbValue v,
boolean matchSQL)
Compares with the DbValue object.
|
boolean |
equals(DbValue v)
Determines if another DbValue object is of
equal value as this DbValue Object.
|
fRequest |
get() |
fJsonObject |
getBody() |
DbChar |
getHeaderProperty(DbChar key)
Returns the value of header property with the name specified by key.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getHeaders() |
int |
getIndex() |
DbChar |
getMethod() |
DbChar |
getParameter(DbChar key)
Retrieve parameter value of the URL
|
DbChar |
getUrl() |
java.lang.String |
mime() |
void |
set(DbValue v)
Sets the value with DbValue.
|
void |
set(java.sql.ResultSet rs,
int col)
Sets the value with the result set value specified by column index.
|
fJsonObject |
setBody(fJsonObject body) |
void |
setIndex(int index) |
DbChar |
setMethod(DbChar method)
Specify the HTTP method of the request
|
DbChar |
setParameter(DbChar key,
DbChar value)
Set or add a parameter to the query string of the URL
|
DbChar |
setUrl(DbChar url)
Specifies the URL of the request
|
void |
setValue(java.lang.String v)
Set the value with a string.
|
java.lang.String |
toString()
Converts the value to string.
|
java.lang.String |
toStringValue() |
compareTo, compareTo, compareTo, equals, getColDesc, getDataTimeZone, getPrecision, getScale, getSqlType, isCurrency, isNull, makeDbValue, set, setColDesc, setfoo, setNull, setValue
public fRequest()
public fRequest(DbColDesc dbColDesc)
public fJsonObject getBody()
public fJsonObject setBody(fJsonObject body)
public DbChar addHeaderProperty(DbChar key, DbChar value)
key
- String, name of the propertyvalue
- String, value of the propertypublic DbChar getHeaderProperty(DbChar key)
key
- the property namepublic DbChar getMethod()
public DbChar setMethod(DbChar method)
method
- Stringpublic DbChar getUrl()
public DbChar setParameter(DbChar key, DbChar value)
key
- String name of the parametervalue
- String value of the parameterpublic DbChar getParameter(DbChar key)
key
- String name of the parameterpublic java.util.HashMap<java.lang.String,java.lang.String> getHeaders()
public java.lang.String mime()
public void setIndex(int index)
public int getIndex()
public fRequest get()
public void set(java.sql.ResultSet rs, int col) throws java.sql.SQLException
DbValue
public java.lang.Object clone()
DbValue
public boolean equals(DbValue v)
DbValue
public void setValue(java.lang.String v)
DbValue
public int compareTo(DbValue v, boolean matchSQL)
DbValue
public java.lang.String toString()
DbValue
public java.lang.String toStringValue()
toStringValue
in class DbValue