public class ReqState extends Object
| Constructor and Description |
|---|
ReqState(AbstractServlet sv,
javax.servlet.http.HttpServletRequest myRequest,
javax.servlet.http.HttpServletResponse response,
String rootPath2,
String encodedurl,
String encodedquery) |
ReqState(javax.servlet.http.HttpServletRequest myRequest,
javax.servlet.http.HttpServletResponse response,
String dataPath,
String encodedurl,
String encodedquery) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAcceptsCompressed()
*************************************************************************
Evaluates the (private) request object to determine if the client that
sent the request accepts compressed return documents.
|
String |
getConstraintExpression() |
String |
getDASCache(String realpath)
This method will attempt to get the DAS cache directory
name from the servlet's InitParameters.
|
String |
getDataSet() |
String |
getDDSCache(String realpath)
This method will attempt to get the DDS cache directory
name from the servlet's InitParameters.
|
String |
getDDXCache(String realpath)
This method will attempt to get the DDX cache directory
name from the servlet's InitParameters.
|
String |
getDodsBlobURL_OLDANDBUSTED() |
String |
getINFOCache(String realpath)
This method will attempt to get the INFO cache directory
name from the servlet's InitParameters.
|
String |
getInitParameter(String name)
***********************************************************************
|
javax.servlet.http.HttpServletRequest |
getRequest() |
String |
getRequestSuffix() |
StringBuffer |
getRequestURL() |
javax.servlet.http.HttpServletResponse |
getResponse() |
String |
getRootPath() |
String |
getSchemaLocation()
This method will attempt to get the Schema Location
name from the servlet's InitParameters.
|
String |
getServerClassName() |
Object |
getUserObject() |
protected void |
processDodsURL()
*************************************************************************
Processes an incoming
HttpServletRequest. |
void |
setDefaultDASCache(String cachedir)
Sets the default DAS Cache directory name to
the string cachedir.
|
void |
setDefaultDDSCache(String cachedir)
Sets the default DDS Cache directory name to
the string cachedir.
|
void |
setDefaultDDXCache(String cachedir)
Sets the default DDX Cache directory name to
the string cachedir.
|
void |
setDefaultINFOCache(String cachedir)
Sets the default INFO Cache directory name to
the string cachedir.
|
void |
setDefaultSchemaLocation(String location)
Sets the default Schema Location to
the string location.
|
void |
setUserObject(Object userObj) |
String |
toString() |
public ReqState(javax.servlet.http.HttpServletRequest myRequest,
javax.servlet.http.HttpServletResponse response,
String dataPath,
String encodedurl,
String encodedquery)
public ReqState(AbstractServlet sv, javax.servlet.http.HttpServletRequest myRequest, javax.servlet.http.HttpServletResponse response, String rootPath2, String encodedurl, String encodedquery) throws DAP2Exception
DAP2Exceptionpublic String getDataSet()
public String getServerClassName()
public String getRequestSuffix()
public String getConstraintExpression()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public String getRootPath()
public String getDDXCache(String realpath)
realpath - path to this servlet's dir in webappspublic void setDefaultDDXCache(String cachedir)
cachedir - public String getDDSCache(String realpath)
realpath - path to this servlet's dir in webappspublic void setDefaultDDSCache(String cachedir)
cachedir - public String getDASCache(String realpath)
realpath - path to this servlet's dir in webappspublic void setDefaultDASCache(String cachedir)
cachedir - public String getINFOCache(String realpath)
realpath - path to this servlet's dir in webappspublic void setDefaultINFOCache(String cachedir)
cachedir - public String getSchemaLocation()
public void setDefaultSchemaLocation(String location)
location - protected void processDodsURL()
HttpServletRequest. Uses the content of
the HttpServletRequestto create a ReqState
object in that caches the values for:
setDataSet()
and getDataSet()) setCE()
and getCE()) setRequestSuffix()
and getRequestSuffix())ServletConfig object
for this servlet.ReqStatepublic boolean getAcceptsCompressed()
public String getInitParameter(String name)
public String getDodsBlobURL_OLDANDBUSTED()
public Object getUserObject()
public void setUserObject(Object userObj)
public StringBuffer getRequestURL()