public class ProductLookup.Context extends ThreadServletContext
ThreadServletContext
and adds variables unique to this
application.Modifier and Type | Field and Description |
---|---|
protected javax.servlet.http.HttpServletRequest |
request
The current HTTP request object.
|
protected javax.servlet.http.HttpServletResponse |
response
The current HTTP response object.
|
private static long |
serialVersionUID
The class' serialization version id.
|
ivHashCode, ivHashFlds, ivObjAttrs
Modifier | Constructor and Description |
---|---|
protected |
Context(javax.servlet.http.HttpServletRequest rqst,
javax.servlet.http.HttpServletResponse resp)
Constructs a new
Context . |
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the current servlet HTTP request.
|
javax.servlet.http.HttpServletResponse |
getResponse()
Returns the current servlet HTTP response.
|
delAttr, equals, freeDbConnection, getAttr, getAttrBigDecimal, getAttrBoolean, getAttrDouble, getAttrInteger, getAttrLong, getAttrString, getCatalogVerifier, getDbConnection, getDbConnectionInfo, getDbController, getDbObject, getFavoritesHandler, getInterface, getLogonUser, getParam, getParamBigDecimal, getParamDate, getParamDouble, getParamInteger, getParamLong, getParams, getParamString, getServletRequest, getServletStack, getSession, getShoppingCart, getShoppingProfile, getShoppingUser, getSiteActivity, getUomHandler, isCustAdmin, isDefaultUser, isLoggedOn, isPermitActive, isPost, isRetail, isSfiSelect, isSfiShopping, isShopping, isSiteAdmin, isWholesale, setAttr, setLogonUser
cloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArray
private static final long serialVersionUID
protected javax.servlet.http.HttpServletRequest request
protected javax.servlet.http.HttpServletResponse response
protected Context(javax.servlet.http.HttpServletRequest rqst, javax.servlet.http.HttpServletResponse resp)
Context
.rqst
- (HttpServletRequest) The servlet's incoming request.resp
- (HttpServletResponse) The servlet's outgoing response.public javax.servlet.http.HttpServletRequest getRequest()
getRequest
in interface BaseServletContext
getRequest
in class ThreadServletContext
public javax.servlet.http.HttpServletResponse getResponse()
getResponse
in interface BaseServletContext
getResponse
in class ThreadServletContext