public class ErrorRender extends Render
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
contentType |
protected int |
errorCode |
protected static byte[] |
html400 |
protected static byte[] |
html401 |
protected static byte[] |
html403 |
protected static byte[] |
html404 |
protected static byte[] |
html500 |
protected static String |
version |
| 构造器和说明 |
|---|
ErrorRender(int errorCode,
String view) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getErrorCode() |
byte[] |
getErrorHtml() |
void |
render()
Render to client
|
getDevMode, getEncoding, getView, setContext, setContext, setViewprotected static final String contentType
protected static final byte[] html404
protected static final byte[] html500
protected static final byte[] html400
protected static final byte[] html401
protected static final byte[] html403
protected int errorCode
public ErrorRender(int errorCode,
String view)
Copyright © 2022. All rights reserved.