wicket.protocol.http
Class WebResponseWithCryptedUrl

java.lang.Object
  extended by wicket.Response
      extended by wicket.protocol.http.WebResponse
          extended by wicket.protocol.http.WebResponseWithCryptedUrl

Deprecated. since 1.2 Please see wicket.protocol.http.request.CryptedUrlwebRequestCodingStrategy

public class WebResponseWithCryptedUrl
extends WebResponse

It extends WebResponse and encodes (encrypt) wicket's URL query string. Thus it hides the details from the user.

Author:
Juergen Donnerstag

Field Summary
 
Fields inherited from class wicket.protocol.http.WebResponse
redirect
 
Constructor Summary
WebResponseWithCryptedUrl(javax.servlet.http.HttpServletResponse httpServletResponse)
          Deprecated. Constructor.
 
Method Summary
 java.lang.CharSequence encodeURL(java.lang.CharSequence url)
          Deprecated. Returns the given url encoded.
protected  java.lang.CharSequence shortenUrl(java.lang.CharSequence queryString)
          Deprecated. Try to shorten the querystring without loosing information.
 
Methods inherited from class wicket.protocol.http.WebResponse
addCookie, clearCookie, close, getHttpServletResponse, getOutputStream, isAjax, isRedirect, redirect, setAjax, setAttachmentHeader, setContentLength, setContentType, setDateHeader, setHeader, setLastModifiedTime, setLocale, write, write
 
Methods inherited from class wicket.Response
filter, getCharacterEncoding, println, reset, setCharacterEncoding, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebResponseWithCryptedUrl

public WebResponseWithCryptedUrl(javax.servlet.http.HttpServletResponse httpServletResponse)
Deprecated. 
Constructor.

Parameters:
httpServletResponse - The servlet response object
Method Detail

encodeURL

public java.lang.CharSequence encodeURL(java.lang.CharSequence url)
Deprecated. 
Returns the given url encoded.

Overrides:
encodeURL in class WebResponse
Parameters:
url - The URL to encode
Returns:
The encoded url

shortenUrl

protected java.lang.CharSequence shortenUrl(java.lang.CharSequence queryString)
Deprecated. 
Try to shorten the querystring without loosing information. Note: WebRequestWithCryptedUrl must implement exactly the opposite logic.

Parameters:
queryString - The original query string
Returns:
The shortened querystring


Copyright © 2004-2007 Wicket developers. All Rights Reserved.