public class ReqState
extends java.lang.Object
Constructor and Description |
---|
ReqState(javax.servlet.http.HttpServletRequest myRequest,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletConfig sc,
java.lang.String serverClassName) |
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()
This method will attempt to get the DAS cache directory
name from the servlet's InitParameters.
|
java.lang.String |
getDataSet() |
java.lang.String |
getDDSCache()
This method will attempt to get the DDS cache directory
name from the servlet's InitParameters.
|
java.lang.String |
getDDXCache()
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()
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()
***********************************************************************
|
javax.servlet.http.HttpServletRequest |
getRequest() |
java.lang.String |
getRequestSuffix() |
javax.servlet.http.HttpServletResponse |
getResponse() |
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(javax.servlet.http.HttpServletRequest myRequest, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletConfig sc, java.lang.String serverClassName) throws BadURLException
BadURLException
public java.lang.String getDataSet()
public java.lang.String getServerClassName()
public java.lang.String getRequestSuffix()
public java.lang.String getConstraintExpression()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public java.lang.String getDDXCache()
public void setDefaultDDXCache(java.lang.String cachedir)
cachedir
- public java.lang.String getDDSCache()
public void setDefaultDDSCache(java.lang.String cachedir)
cachedir
- public java.lang.String getDASCache()
public void setDefaultDASCache(java.lang.String cachedir)
cachedir
- public java.lang.String getINFOCache()
public 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