|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopendap.servlet.ReqState
public class ReqState
User requests get cached here so that downstream code can access the details of the request information.
Constructor Summary | |
---|---|
ReqState(javax.servlet.http.HttpServletRequest myRequest,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletConfig sc,
java.lang.String serverClassName)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReqState(javax.servlet.http.HttpServletRequest myRequest, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletConfig sc, java.lang.String serverClassName) throws BadURLException
BadURLException
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |