[jboss-cvs] jboss-seam/src/main/org/jboss/seam/pages ...
Shane Bryzak
sbryzak at redhat.com
Thu Feb 22 09:37:46 EST 2007
User: sbryzak2
Date: 07/02/22 09:37:46
Modified: src/main/org/jboss/seam/pages Page.java
Log:
http/https redirect
Revision Changes Path
1.13 +15 -0 jboss-seam/src/main/org/jboss/seam/pages/Page.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Page.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/pages/Page.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- Page.java 21 Feb 2007 18:33:08 -0000 1.12
+++ Page.java 22 Feb 2007 14:37:46 -0000 1.13
@@ -33,6 +33,11 @@
private ProcessControl processControl = new ProcessControl();
/**
+ * The scheme (http/https) required by this page.
+ */
+ private String scheme;
+
+ /**
* Indicates whether this view id has a security restriction.
*/
private boolean restricted;
@@ -264,4 +269,14 @@
{
this.loginRequired = loginRequired;
}
+
+ public String getScheme()
+ {
+ return scheme == null ? "http" : scheme;
+ }
+
+ public void setScheme(String scheme)
+ {
+ this.scheme = scheme;
+ }
}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list