|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object manager.RequestInfo
public class RequestInfo
Diese Klasse enthält Informationen, die mit genau einem Request in Zusammenhang stehen, also z.B. HttpServletRequest, HttpServletResponse, PrintWriter/ServletOutputStream sowie entsprechender Kontext. Weiterhin ex. Instanz auf VarManager.
Constructor Summary | |
---|---|
RequestInfo(Kontext theKontext,
HttpServletRequest request,
HttpServletResponse response)
RequestInfo instanziieren. |
Method Summary | |
---|---|
java.lang.String |
getContent()
|
java.lang.String |
getContextPath()
|
Kontext |
getKontext()
|
ServletOutputStream |
getOutStream()
|
java.io.PrintWriter |
getOutWriter()
|
HttpServletRequest |
getRequest()
|
java.lang.String |
getRequestURI()
|
HttpServletResponse |
getResponse()
|
java.lang.String |
getServletPath()
|
java.lang.String |
getServletURLBase()
|
java.lang.String |
getURISuffix()
extrahiert an URL angehängten Pfad |
VarManager |
getVM()
|
java.lang.String |
removeParametersAndBuildQueryString(java.lang.String[] removePars)
|
static java.lang.String |
removeSlashes(java.lang.String s,
boolean leading,
boolean trailing)
Methode, um Slashs am Anfang bzw. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestInfo(Kontext theKontext, HttpServletRequest request, HttpServletResponse response) throws java.io.IOException
theKontext
- akt. Kontextrequest
- response
-
java.io.IOException
Method Detail |
---|
public java.lang.String getServletURLBase()
public java.lang.String getContextPath()
public java.lang.String getURISuffix()
RequestURI
- ServletPath
-
public static java.lang.String removeSlashes(java.lang.String s, boolean leading, boolean trailing)
s
- leading
- trailing
-
public java.lang.String removeParametersAndBuildQueryString(java.lang.String[] removePars)
public Kontext getKontext()
public HttpServletRequest getRequest()
public HttpServletResponse getResponse()
public java.io.PrintWriter getOutWriter()
public ServletOutputStream getOutStream() throws java.io.IOException
java.io.IOException
public java.lang.String getContent()
public java.lang.String getRequestURI()
public java.lang.String getServletPath()
public VarManager getVM()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |