Sorry, I'm still new to working via mailing lists.
--- oldDynamicURI.java Mon Dec 11 08:36:33 2000
+++ DynamicURI.java Mon Dec 11 08:38:20 2000
@@ -101,22 +101,22 @@
public static final String HTTPS = "https";
/** The ServerData object. */
- private ServerData sd = null;
+ protected ServerData sd = null;
/** The RunData object. */
protected RunData data = null;
/** ie: http or https. */
- private String serverScheme = null;
+ protected String serverScheme = null;
/** ie: www.foo.com. */
- private String serverName = null;
+ protected String serverName = null;
/** ie: 80 or 443. */
- private int serverPort = 80;
+ protected int serverPort = 80;
/** /foo/Turbine. */
- private String scriptName = null;
+ protected String scriptName = null;
// Used with RunData constructors to provide a way around a JServ
@@ -126,31 +126,31 @@
public HttpServletResponse res = null;
/** A Vector that contains all the path info if any. */
- private Vector pathInfo = null;
+ protected Vector pathInfo = null;
/** A Vectory that contains all the query data if any. */
- private Vector queryData = null;
+ protected Vector queryData = null;
/**
* Fast shortcut to determine if there is any data in the path
* info.
*/
- private boolean hasPathInfo = false;
+ protected boolean hasPathInfo = false;
/**
* Fast shortcut to determine if there is any data in the query
* data.
*/
- private boolean hasQueryData = false;
+ protected boolean hasQueryData = false;
/** Whether we want to redirect or not. */
- private boolean redirect = false;
+ protected boolean redirect = false;
/** P = 0 for path info. */
- private static final int P = 0;
+ protected static final int P = 0;
/** Q = 1 for query data. */
- private static final int Q = 1;
+ protected static final int Q = 1;
/**
* Constructor sets up some variables.
@@ -332,7 +332,7 @@
* @param name A String with the name to add.
* @param value A String with the value to add.
*/
- private void add ( int type,
+ protected void add ( int type,
String name,
String value )
{
@@ -365,7 +365,7 @@
* @param type Type (P or Q) of insertion.
* @param pp A ParameterParser.
*/
- private void add( int type,
+ protected void add( int type,
ParameterParser pp )
{
Enumeration e = pp.keys();
@@ -645,7 +645,7 @@
/**
* Initializes some common variables.
*/
- private void init()
+ protected void init()
{
this.serverScheme = this.getServerData().getServerScheme();
this.serverName = this.getServerData().getServerName();
@@ -665,7 +665,7 @@
* @param type Type (P or Q) of removal.
* @param name A String with the name to be removed.
*/
- private void remove ( int type,
+ protected void remove ( int type,
String name )
{
try
@@ -752,7 +752,7 @@
* @param data A Vector of key/value arrays.
* @return A String with the URL encoded data.
*/
- private String renderPathInfo ( Vector data )
+ protected String renderPathInfo ( Vector data )
{
String key = null;
String value = null;
@@ -784,7 +784,7 @@
* @param data A Vector of key/value arrays.
* @return A String with the URL encoded data.
*/
- private String renderQueryString ( Vector data )
+ protected String renderQueryString ( Vector data )
{
String key = null;
String value = null;
----- Original Message -----
From: "Jon Stevens" <[EMAIL PROTECTED]>
To: "Turbine" <[EMAIL PROTECTED]>
Sent: Friday, December 08, 2000 8:24 PM
Subject: Re: Absolute URLs in HTML code
> on 12/8/2000 2:45 AM, "David S. Faller" <[EMAIL PROTECTED]> wrote:
>
> > Agreed, I'll write an RelativeDynamicURI class and submit it.
> >
> > Just one more point:
> > It would be much easier, if someone could change the private stuff in
> > DynamicURI to protected...
>
> submit a patch.
>
> -jon
>
> --
> Honk if you love peace and quiet.
>
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]