|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.thinger.service.httptool.HttpToolkit
public class HttpToolkit
Common merge tags for pages.
Version History
EPG - Initial - 17 NOV 07
| Constructor Summary | |
|---|---|
HttpToolkit()
|
|
| Method Summary | |
|---|---|
static void |
feebleReply(java.lang.String message,
java.io.OutputStream destination)
Make a feeble attempt to reply. |
static void |
feebleReply(java.lang.String message,
java.io.OutputStream destination,
java.lang.String status)
Make a feeble attempt to reply. |
static java.lang.String |
htmlString(java.lang.String in)
Make a string HTML friendly. |
static void |
respondWithHead(Head headResult,
java.io.OutputStream bos)
Respond to an HTTP HEAD. |
static void |
respondWithPage(java.lang.String page,
java.io.OutputStream bos)
Respond with HTTP. |
static void |
respondWithPage(java.lang.String page,
java.io.OutputStream bos,
java.lang.String status)
Respond with HTTP. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpToolkit()
| Method Detail |
|---|
public static void respondWithPage(java.lang.String page,
java.io.OutputStream bos)
throws java.lang.Throwable
page - The page.bos - output stream.
java.lang.Throwable
public static void respondWithPage(java.lang.String page,
java.io.OutputStream bos,
java.lang.String status)
throws java.lang.Throwable
page - The page.bos - output stream.status - status string for HTTP. It should be the code, whitespace, and then test. For example: 200 OK
java.lang.Throwable
public static void respondWithHead(Head headResult,
java.io.OutputStream bos)
throws java.lang.Throwable
headResult - The head result.bos - output stream.
java.lang.Throwable
public static void feebleReply(java.lang.String message,
java.io.OutputStream destination)
message - what to say.destination - where to write it.
public static void feebleReply(java.lang.String message,
java.io.OutputStream destination,
java.lang.String status)
message - what to say.destination - where to write it.status - status string for HTTP. It should be the code, whitespace, and then test. For example: 200 OK
public static java.lang.String htmlString(java.lang.String in)
throws java.lang.Throwable
in - the string to convert.
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||