public class ReqState
extends java.lang.Object
Constructor and Description |
---|
ReqState(HttpServletRequest myRequest,
HttpServletResponse response,
AbstractServlet sv,
java.lang.String serverClassName,
java.lang.String encodedurl,
java.lang.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.
|
java.lang.String |
getConstraintExpression() |
java.lang.String |
getDASCache(java.lang.String realpath)
This method will attempt to get the DAS cache directory
name from the servlet's InitParameters.
|
java.lang.String |
getDataSet() |
java.lang.String |
getDDSCache(java.lang.String realpath)
This method will attempt to get the DDS cache directory
name from the servlet's InitParameters.
|
java.lang.String |
getDDXCache(java.lang.String realpath)
This method will attempt to get the DDX cache directory
name from the servlet's InitParameters.
|
java.lang.String |
getDodsBlobURL_OLDANDBUSTED() |
java.lang.String |
getINFOCache(java.lang.String realpath)
This method will attempt to get the INFO cache directory
name from the servlet's InitParameters.
|
java.lang.String |
getInitParameter(java.lang.String name) |
java.util.Enumeration |
getInitParameterNames()
***********************************************************************
|
HttpServletRequest |
getRequest() |
java.lang.String |
getRequestSuffix() |
java.lang.StringBuffer |
getRequestURL() |
HttpServletResponse |
getResponse() |
java.lang.String |
getRootPath() |
java.lang.String |
getSchemaLocation()
This method will attempt to get the Schema Location
name from the servlet's InitParameters.
|
java.lang.String |
getServerClassName() |
java.lang.Object |
getUserObject() |
protected void |
processDodsURL()
*************************************************************************
Processes an incoming
HttpServletRequest . |
void |
setDefaultDASCache(java.lang.String cachedir)
Sets the default DAS Cache directory name to
the string cachedir.
|
void |
setDefaultDDSCache(java.lang.String cachedir)
Sets the default DDS Cache directory name to
the string cachedir.
|
void |
setDefaultDDXCache(java.lang.String cachedir)
Sets the default DDX Cache directory name to
the string cachedir.
|
void |
setDefaultINFOCache(java.lang.String cachedir)
Sets the default INFO Cache directory name to
the string cachedir.
|
void |
setDefaultSchemaLocation(java.lang.String location)
Sets the default Schema Location to
the string location.
|
void |
setUserObject(java.lang.Object userObj) |
java.lang.String |
toString() |
public ReqState(HttpServletRequest myRequest, HttpServletResponse response, AbstractServlet sv, java.lang.String serverClassName, java.lang.String encodedurl, java.lang.String encodedquery) throws DAP2Exception
DAP2Exception
public java.lang.String getDataSet()
public java.lang.String getServerClassName()
public java.lang.String getRequestSuffix()
public java.lang.String getConstraintExpression()
public HttpServletRequest getRequest()
public HttpServletResponse getResponse()
public java.lang.String getRootPath()
public java.lang.String getDDXCache(java.lang.String realpath)
realpath
- path to this servlet's dir in webappspublic void setDefaultDDXCache(java.lang.String cachedir)
cachedir
- public java.lang.String getDDSCache(java.lang.String realpath)
realpath
- path to this servlet's dir in webappspublic void setDefaultDDSCache(java.lang.String cachedir)
cachedir
- public java.lang.String getDASCache(java.lang.String realpath)
realpath
- path to this servlet's dir in webappspublic void setDefaultDASCache(java.lang.String cachedir)
cachedir
- public java.lang.String getINFOCache(java.lang.String realpath)
realpath
- path to this servlet's dir in webappspublic void setDefaultINFOCache(java.lang.String cachedir)
cachedir
- public java.lang.String getSchemaLocation()
public void setDefaultSchemaLocation(java.lang.String location)
location
- protected void processDodsURL()
HttpServletRequest
. Uses the content of
the HttpServletRequest
to create a ReqState
object in that caches the values for:
setDataSet()
and getDataSet()
) setCE()
and getCE()
) setRequestSuffix()
and getRequestSuffix()
)ServletConfig
object
for this servlet.ReqState
public boolean getAcceptsCompressed()
public java.util.Enumeration getInitParameterNames()
public java.lang.String getInitParameter(java.lang.String name)
public java.lang.String getDodsBlobURL_OLDANDBUSTED()
public java.lang.Object getUserObject()
public void setUserObject(java.lang.Object userObj)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.StringBuffer getRequestURL()