|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwicket.Response
wicket.protocol.http.portlet.WicketPortletResponse
public class WicketPortletResponse
A Response implementation that uses PortletResponse
Response,
WebResponse| Constructor Summary | |
|---|---|
WicketPortletResponse(javax.portlet.PortletResponse res)
|
|
| Method Summary | |
|---|---|
java.lang.CharSequence |
encodeURL(java.lang.CharSequence url)
An implementation of this method is only required if a subclass wishes to support sessions via URL rewriting. |
java.io.OutputStream |
getOutputStream()
|
javax.portlet.PortletResponse |
getPortletResponse()
Gets the wrapped portlet response object. |
void |
redirect(java.lang.String url)
CLIENTS SHOULD NEVER CALL THIS METHOD FOR DAY TO DAY USE! |
void |
setContentType(java.lang.String mimeType)
Set the content type on the response, if appropriate in the subclass. |
void |
write(java.lang.CharSequence string)
Writes the given string to the Response subclass output destination. |
| Methods inherited from class wicket.Response |
|---|
close, filter, getCharacterEncoding, isRedirect, println, reset, setCharacterEncoding, setContentLength, setLastModifiedTime, setLocale, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WicketPortletResponse(javax.portlet.PortletResponse res)
res - | Method Detail |
|---|
public java.io.OutputStream getOutputStream()
getOutputStream in class Responsepublic void write(java.lang.CharSequence string)
Response
write in class Responsestring - The string to writepublic void setContentType(java.lang.String mimeType)
Response
setContentType in class ResponsemimeType - The mime typepublic java.lang.CharSequence encodeURL(java.lang.CharSequence url)
Response
encodeURL in class Responseurl - The URL to encode
public void redirect(java.lang.String url)
ResponseA subclass may override this method to implement redirection. Subclasses which have no need to do redirection may choose not to override this default implementation, which does nothing. For example, if a subclass wishes to write output to a file or is part of a testing harness, there may be no meaning to redirection.
redirect in class Responseurl - The URL to redirect topublic final javax.portlet.PortletResponse getPortletResponse()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||