public class HttpErrorHandler extends Object
Modifier and Type | Field and Description |
---|---|
private static String |
HTML_000 |
private static String |
SERVER_FOOTER |
Constructor and Description |
---|
HttpErrorHandler() |
private static final String SERVER_FOOTER
private static final String HTML_000
public static void sendError(com.sun.net.httpserver.HttpExchange t, int errCode) throws IOException
IOException
public static void sendError(com.sun.net.httpserver.HttpExchange t, int errCode, String message) throws IOException
IOException