You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jd...@apache.org on 2010/01/30 11:04:55 UTC
svn commit: r904747 -
/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/https/SwitchProtocolRequestTarget.java
Author: jdonnerstag
Date: Sat Jan 30 10:04:54 2010
New Revision: 904747
URL: http://svn.apache.org/viewvc?rev=904747&view=rev
Log:
fixed: Extend SwitchProtocolRequestTarget so it's possible to customize the redirect url
Issue: WICKET-2708
Modified:
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/https/SwitchProtocolRequestTarget.java
Modified: wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/https/SwitchProtocolRequestTarget.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/https/SwitchProtocolRequestTarget.java?rev=904747&r1=904746&r2=904747&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/https/SwitchProtocolRequestTarget.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/protocol/https/SwitchProtocolRequestTarget.java Sat Jan 30 10:04:54 2010
@@ -65,7 +65,6 @@
/** {@inheritDoc} */
public void detach(RequestCycle requestCycle)
{
-
}
/**
@@ -76,7 +75,7 @@
* @param request
* @return url
*/
- private String getUrl(String protocol, Integer port, HttpServletRequest request)
+ protected String getUrl(String protocol, Integer port, HttpServletRequest request)
{
StringBuilder result = new StringBuilder();
result.append(protocol);
@@ -158,5 +157,4 @@
return new SwitchProtocolRequestTarget(protocol);
}
}
-
}