|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.util.http.HtmlHelper
public class HtmlHelper
Utility class used to generate HTML pages.
| Field Summary | |
|---|---|
static java.lang.String |
BAD_REQUEST
HTTP Bas Request |
static java.lang.String |
OK
HTTP OK header |
| Constructor Summary | |
|---|---|
HtmlHelper()
|
|
| Method Summary | |
|---|---|
static java.nio.ByteBuffer |
getErrorPage(java.lang.String message,
java.lang.String code,
java.lang.String serverName)
Return a defauk error page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OK
public static final java.lang.String BAD_REQUEST
| Constructor Detail |
|---|
public HtmlHelper()
| Method Detail |
|---|
public static java.nio.ByteBuffer getErrorPage(java.lang.String message,
java.lang.String code,
java.lang.String serverName)
throws java.io.IOException
ByteBuffer containings the HTTP response.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||