|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.request.handler.TextRequestHandler
public class TextRequestHandler
Request target that responds by sending its string property.
| Constructor Summary | |
|---|---|
TextRequestHandler(String string)
Creates a string request target with content type text/plain and default charset
(usually UTF-8) |
|
TextRequestHandler(String contentType,
String encoding,
String string)
Constructor |
|
| Method Summary | |
|---|---|
void |
detach(IRequestCycle requestCycle)
This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done. |
String |
getString()
Gets the string property. |
void |
respond(IRequestCycle requestCycle)
Responds by sending the string property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextRequestHandler(String string)
text/plain and default charset
(usually UTF-8)
string - the string for the response
public TextRequestHandler(String contentType,
String encoding,
String string)
contentType - content type of the data the string represents, e.g.
text/html; charset=utf-8encoding - charset to usestring - string for the response| Method Detail |
|---|
public void respond(IRequestCycle requestCycle)
respond in interface IRequestHandlerrequestCycle - the current request cycleIRequestHandler.respond(org.apache.wicket.request.IRequestCycle)public void detach(IRequestCycle requestCycle)
detach in interface IRequestHandlerrequestCycle - the current request cyclepublic String getString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||