public class ErrorRender extends Render
Modifier and Type | Field and Description |
---|---|
protected static String |
contentType |
protected int |
errorCode |
protected static String |
html401 |
protected static String |
html403 |
protected static String |
html404 |
protected static String |
html500 |
protected static String |
version |
Constructor and Description |
---|
ErrorRender(int errorCode,
String view) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
String |
getErrorHtml() |
void |
render()
Render to client
|
getDevMode, getEncoding, getView, setContext, setContext, setView
protected static final String contentType
protected static final String version
protected static final String html404
protected static final String html500
protected static final String html401
protected static final String html403
protected int errorCode
public ErrorRender(int errorCode, String view)
Copyright © 2018. All rights reserved.