Home
What's
New?
com.oreilly.servlet
Servlet
Polls
Mailing
Lists
List
Archives
Servlet
Engines
Servlet
ISPs
Servlet
Tools
Documentation
Online
Articles
The
Soapbox
"Java
Servlet
Programming,
Second Edition"
"Java
Enterprise
Best Practices"
Speaking
& Slides
About
Jason
XQuery
Affiliate
Advertising
Info
|
com.oreilly.servlet
Class HttpsMessage
java.lang.Object
|
+--com.oreilly.servlet.HttpMessage
|
+--com.oreilly.servlet.HttpsMessage
- public class HttpsMessage
- extends HttpMessage
A class to simplify HTTP/HTTPS client-server communication. It abstracts
the communication into messages, which can be either GET or POST.
It can be used like this:
HttpsMessage msg = new HttpsMessage("https://[some server]");
Properties props = new Properties();
props.put("name", "value");
InputStream in = msg.sendGetMessage(props);
This class extends the HttpMessage class
written by Jason Hunter at servlets.com.
The HttpMessage class can be found in the com.oreilly.servlet
package found at www.servlets.com
For information see http://www.javaworld.com/javatips/jw-javatip96.html
Note this class works with JDK 1.2 or later only.
- Version:
- 1.0, 2000/05/05
- Author:
- Matt Towers
, Copyright © 2000
|
Constructor Summary |
HttpsMessage(java.lang.String szURL)
Constructs a new HttpsMessage that can be used to communicate with the
servlet at the specified URL using HTTPS. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpsMessage
public HttpsMessage(java.lang.String szURL)
throws java.lang.Exception
- Constructs a new HttpsMessage that can be used to communicate with the
servlet at the specified URL using HTTPS.
- Parameters:
szURL - the server resource (typically a servlet) with which
to communicate
|