I've just started the 3.3.x port of Coyote. I can manage to set this one, but who uses it? The Processor (currently) doesn't look at it (AFAIK). ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 9:15 PM Subject: cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote Request.java
> remm 02/03/07 21:15:51 > > Modified: coyote/src/java/org/apache/coyote Request.java > Log: > - Add a secure flag on the request. > > Revision Changes Path > 1.5 +15 -4 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java > > Index: Request.java > =================================================================== > RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Reques t.java,v > retrieving revision 1.4 > retrieving revision 1.5 > diff -u -r1.4 -r1.5 > --- Request.java 31 Jan 2002 18:42:29 -0000 1.4 > +++ Request.java 8 Mar 2002 05:15:51 -0000 1.5 > @@ -121,10 +121,13 @@ > // ----------------------------------------------------- Instance Variables > > > - protected int serverPort; > + protected int serverPort = -1; > + protected MessageBytes serverNameMB = new MessageBytes(); > + > protected String localHost; > > protected MessageBytes schemeMB = new MessageBytes(); > + protected boolean secure = false; > > protected MessageBytes methodMB = new MessageBytes(); > protected MessageBytes unparsedURIMB = new MessageBytes(); > @@ -166,7 +169,6 @@ > protected int available = -1; > protected MessageBytes contentTypeMB = null; > protected String charEncoding = null; > - protected MessageBytes serverNameMB = new MessageBytes(); > protected Cookies cookies = new Cookies(headers); > > > @@ -233,14 +235,15 @@ > public MessageBytes serverName() { > return serverNameMB; > } > - > + > public int getServerPort() { > return serverPort; > } > - > + > public void setServerPort(int serverPort ) { > this.serverPort=serverPort; > } > + > public MessageBytes remoteAddr() { > return remoteAddrMB; > } > @@ -257,6 +260,13 @@ > this.localHost = host; > } > > + public boolean isSecure() { > + return secure; > + } > + > + public void setSecure(boolean secure) { > + this.secure = secure; > + } > > // -------------------- encoding/type -------------------- > > @@ -398,6 +408,7 @@ > > // XXX Do we need such defaults ? > schemeMB.setString("http"); > + secure = false; > methodMB.setString("GET"); > uriMB.setString("/"); > queryMB.setString(""); > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>