public class HttpsMessage extends HttpMessage
It can be used like this:
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.comHttpsMessage msg = new HttpsMessage("https://[some server]"); Properties props = new Properties(); props.put("name", "value"); InputStream in = msg.sendGetMessage(props);
For information see http://www.javaworld.com/javatips/jw-javatip96.html Note this class works with JDK 1.2 or later only.
Constructor and Description |
---|
HttpsMessage(java.lang.String szURL)
Constructs a new HttpsMessage that can be used to communicate with the
servlet at the specified URL using HTTPS.
|
sendGetMessage, sendGetMessage, sendPostMessage, sendPostMessage, sendPostMessage, setAuthorization, setCookie, setHeader
public HttpsMessage(java.lang.String szURL) throws java.lang.Exception
szURL
- the server resource (typically a servlet) with which
to communicatejava.lang.Exception