|
||||||||||
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,
String serverClassName,
String decodedurl,
String decodedquery)
|
Method Summary | |
---|---|
boolean |
getAcceptsCompressed()
************************************************************************* Evaluates the (private) request object to determine if the client that sent the request accepts compressed return documents. |
String |
getConstraintExpression()
|
String |
getDASCache()
This method will attempt to get the DAS cache directory name from the servlet's InitParameters. |
String |
getDataSet()
|
String |
getDDSCache()
This method will attempt to get the DDS cache directory name from the servlet's InitParameters. |
String |
getDDXCache()
This method will attempt to get the DDX cache directory name from the servlet's InitParameters. |
String |
getDodsBlobURL_OLDANDBUSTED()
|
String |
getINFOCache()
This method will attempt to get the INFO cache directory name from the servlet's InitParameters. |
String |
getInitParameter(String name)
|
Enumeration |
getInitParameterNames()
*********************************************************************** |
String |
getQueryString()
|
javax.servlet.http.HttpServletRequest |
getRequest()
|
String |
getRequestSuffix()
|
StringBuffer |
getRequestURL()
|
javax.servlet.http.HttpServletResponse |
getResponse()
|
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()
|
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, String serverClassName, String decodedurl, String decodedquery) throws BadURLException
BadURLException
Method Detail |
---|
public 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 getDDXCache()
public void setDefaultDDXCache(String cachedir)
cachedir
- public String getDDSCache()
public void setDefaultDDSCache(String cachedir)
cachedir
- public String getDASCache()
public void setDefaultDASCache(String cachedir)
cachedir
- public String getINFOCache()
public void setDefaultINFOCache(String cachedir)
cachedir
- public String getSchemaLocation()
public void setDefaultSchemaLocation(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 Enumeration getInitParameterNames()
public String getInitParameter(String name)
public String getDodsBlobURL_OLDANDBUSTED()
public Object getUserObject()
public void setUserObject(Object userObj)
public String toString()
toString
in class Object
public StringBuffer getRequestURL()
public String getQueryString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |