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.
Modifier and Type | Field and Description |
---|---|
(package private) static boolean |
m_bStreamHandlerSet |
headers, servlet
Constructor and Description |
---|
HttpsMessage(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
static boolean m_bStreamHandlerSet
public HttpsMessage(String szURL) throws Exception
szURL
- the server resource (typically a servlet) with which
to communicateException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses