public class Req
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Req.RunExec |
Modifier and Type | Field and Description |
---|---|
static int |
klCheck |
static int |
klLog |
static int |
klNoLog |
static int |
krHTML |
static int |
krJSON |
static int |
krPlain |
static int |
krXML |
byte[] |
oPutBytes |
byte[] |
oRetBytes |
Constructor and Description |
---|
Req() |
Modifier and Type | Method and Description |
---|---|
static Req |
buildReq(Router oRtr,
ServletRequest oSrvReq,
ServletResponse oSrvRes) |
static Req |
buildReqGet(Router oRtr,
ServletRequest oSrvReq,
ServletResponse oSrvRes) |
JsonElement |
getJsonParm(java.lang.String sKey) |
java.lang.String |
getJsonParm(java.lang.String sKey,
java.lang.String sDef) |
java.lang.String |
getPathInfo() |
int |
getPort() |
ServletRequest |
getReq() |
java.lang.String |
getReqParm(java.lang.String sKey) |
ServletResponse |
getRes() |
Router |
getRouter() |
java.lang.String |
getServerLocn() |
boolean |
hasForceParm() |
boolean |
hasJsonParm(java.lang.String sKey) |
void |
log(java.lang.String sMsg) |
public static final int krHTML
public static final int krXML
public static final int krPlain
public static final int krJSON
public static final int klCheck
public static final int klLog
public static final int klNoLog
public byte[] oPutBytes
public byte[] oRetBytes
public void log(java.lang.String sMsg)
public static Req buildReq(Router oRtr, ServletRequest oSrvReq, ServletResponse oSrvRes) throws java.lang.Exception
java.lang.Exception
public static Req buildReqGet(Router oRtr, ServletRequest oSrvReq, ServletResponse oSrvRes) throws java.lang.Exception
java.lang.Exception
public java.lang.String getJsonParm(java.lang.String sKey, java.lang.String sDef)
public boolean hasJsonParm(java.lang.String sKey)
public boolean hasForceParm()
public JsonElement getJsonParm(java.lang.String sKey)
public java.lang.String getPathInfo()
public ServletRequest getReq()
public ServletResponse getRes()
public Router getRouter()
public int getPort()
public java.lang.String getReqParm(java.lang.String sKey)
public java.lang.String getServerLocn()