|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.request.target.basic.StringRequestTarget
public class StringRequestTarget
Request target that responds by sending its string property.
| Constructor Summary | |
|---|---|
StringRequestTarget(java.lang.String string)
Creates a string request target with content type text/plain and default charset
(usually UTF-8) |
|
StringRequestTarget(java.lang.String contentType,
java.nio.charset.Charset charset,
java.lang.String string)
Deprecated. use StringRequestTarget(String, String, String) instead |
|
StringRequestTarget(java.lang.String contentType,
java.lang.String encoding,
java.lang.String string)
Constructor |
|
| Method Summary | |
|---|---|
void |
detach(RequestCycle 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. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getString()
Gets the string property. |
int |
hashCode()
|
void |
respond(RequestCycle requestCycle)
Responds by sending the string property. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringRequestTarget(java.lang.String string)
text/plain and default charset
(usually UTF-8)
string - the string for the response
public StringRequestTarget(java.lang.String contentType,
java.lang.String encoding,
java.lang.String string)
contentType - content type of the data the string represents eg
text/html; charset=utf-8encoding - charset to usestring - string for the response
@Deprecated
public StringRequestTarget(java.lang.String contentType,
java.nio.charset.Charset charset,
java.lang.String string)
StringRequestTarget(String, String, String) instead
contentType - content type of the data the string represents eg
text/html; charset=utf-8charset - charset to usestring - string for the response| Method Detail |
|---|
public void respond(RequestCycle requestCycle)
respond in interface IRequestTargetrequestCycle - the current request cycleIRequestTarget.respond(org.apache.wicket.RequestCycle)public void detach(RequestCycle requestCycle)
IRequestTarget
detach in interface IRequestTargetrequestCycle - the current request cycleIRequestTarget.detach(org.apache.wicket.RequestCycle)public java.lang.String getString()
public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||