|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.html.staticssi.StaticError
public class StaticError
| Field Summary | |
|---|---|
static int |
BAD_REQUEST
HTTP error BAD_REQUES |
static int |
CONFLICT
HTTP error CONFLICT |
static int |
FORBIDDEN
HTTP error FORBIDDEN |
static int |
METHOD_NOT_ALLOWED
HTTP error METHOD_NOT_ALLOWED |
static int |
NO_CONTENT
HTTP error NO_CONTENT |
static int |
NOT_AUTHORISED
Http Authorization error |
static int |
NOT_FOUND
HTTP error NOT_FOUND |
static int |
OK
Http error OK -indicates no error |
HtmlParser |
parser
|
| Constructor Summary | |
|---|---|
StaticError()
|
|
| Method Summary | |
|---|---|
java.lang.String |
createErrorHtmlPage(int errno)
Used generate html page for http error. |
void |
generateErrorHtmlPage(java.lang.StringBuffer strBuf,
int errno)
Used generate html pages for http error. |
static java.lang.String |
getErrorFileName()
|
static int |
getErrorNumber()
|
static void |
setErrorFileName(java.lang.String fileName)
|
static void |
setErrorNumber(int errNum)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public HtmlParser parser
public static int OK
public static int NO_CONTENT
public static int BAD_REQUEST
public static int FORBIDDEN
public static int NOT_FOUND
public static int METHOD_NOT_ALLOWED
public static int NOT_AUTHORISED
public static int CONFLICT
| Constructor Detail |
|---|
public StaticError()
| Method Detail |
|---|
public static void setErrorNumber(int errNum)
public static int getErrorNumber()
public java.lang.String createErrorHtmlPage(int errno)
errno - the http error number.
public void generateErrorHtmlPage(java.lang.StringBuffer strBuf,
int errno)
throws ParseException
strBuf - the string buffer to store html tags.errno - the http error number.
ParseExceptionpublic static java.lang.String getErrorFileName()
public static void setErrorFileName(java.lang.String fileName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||