|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object services.Service services.Error
public class Error
Service zur Anzeige von Fehlermeldungen
Field Summary |
---|
Fields inherited from class services.Service |
---|
SC_BAD_REQUEST, SC_FORBIDDEN, SC_INTERNAL_SERVER_ERROR, SC_METHOD_NOT_ALLOWED, SC_NOT_FOUND |
Constructor Summary | |
---|---|
Error(RequestInfo ri)
|
Method Summary | |
---|---|
void |
addString(java.lang.String add)
Fügt Zeichenkette der Ausgabe hinzu. |
java.lang.String[] |
canHandle()
Returniert alle Variablen, die VarHandler expandieren kann. |
java.lang.String |
handleVar(java.lang.String var)
Variable expandieren. |
void |
processRequest()
Eigentliche Ausführung des Services. |
void |
setStatus(int SC)
Status-Code setzen. |
Methods inherited from class services.Service |
---|
filterHtml, getAndCheckParameter, getAndCheckParameter, getAndCheckParameter, getAndCheckParameter, getContent, getContentType, getStatusCode, getVM, includeError, includeInfo, isDownloadService, respondError, respondError, respondError, respondWithHtmlService, sendErrorRedirect, sendErrorRedirect, setTemplate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Error(RequestInfo ri)
ri
- Method Detail |
---|
public java.lang.String[] canHandle()
VarHandler
canHandle
in interface VarHandler
public void processRequest()
Service
processRequest
in class Service
public void setStatus(int SC)
Service
processRequest()
public void addString(java.lang.String add)
addString
in class Service
string
- public java.lang.String handleVar(java.lang.String var) throws NoSuchVarException
VarHandler
handleVar
in interface VarHandler
NoSuchVarException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |