|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.naokishibata.generic.TinyHttpd.Response
public static class TinyHttpd.Response
This class represents a HTTP response given by this server class
Method Summary | |
---|---|
static TinyHttpd.Response |
response200(java.lang.String encoding,
byte[] body)
Generates a 200 response |
static TinyHttpd.Response |
response204()
Generates a 204 response |
static TinyHttpd.Response |
response404()
Generates a 404 response |
static TinyHttpd.Response |
response405()
Generates a 405 response |
static TinyHttpd.Response |
response500()
Generates a 500 response |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TinyHttpd.Response response404()
public static TinyHttpd.Response response405()
public static TinyHttpd.Response response200(java.lang.String encoding, byte[] body)
encoding
- Content encodingbody
- Entity bodypublic static TinyHttpd.Response response204()
public static TinyHttpd.Response response500()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |