public class ERHTTPChannel
extends com.webobjects.eodistribution.client.EOHTTPChannel
Name | Description |
---|---|
er.distribution.disallowHttpRequestsOnEventThread
| throw an exception if an HTTP request is attempted on the Event Dispatch Thread (EDT); prevents creating a terrible UI. |
er.distribution.trustAllSslCertificates
| disable SSL certificate checking; useful for development mode, but not really safe for production |
er.distribution.applicationUrl
| the URL for connecting to the server application. |
Constructor and Description |
---|
ERHTTPChannel() |
ERHTTPChannel(String url) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(String protocol,
String hostName,
int portNumber) |
protected Socket |
createSslSocket(String protocol,
String hostName,
int portNumber) |
Object |
responseToMessage(Object message,
com.webobjects.foundation.NSCoder coder) |
protected SocketFactory |
trustAllSocketFactory() |
String |
url() |
_completeURL, _resolvedHostName, connectionKeys, establishConnection
public ERHTTPChannel()
public ERHTTPChannel(String url)
public String url()
public Object responseToMessage(Object message, com.webobjects.foundation.NSCoder coder)
responseToMessage
in class com.webobjects.eodistribution.client.EOHTTPChannel
public Socket createSocket(String protocol, String hostName, int portNumber) throws IOException
createSocket
in class com.webobjects.eodistribution.client.EOHTTPChannel
IOException
protected Socket createSslSocket(String protocol, String hostName, int portNumber) throws IOException
IOException
protected SocketFactory trustAllSocketFactory() throws NoSuchAlgorithmException, KeyManagementException
Copyright © 2002 – 2020 Project Wonder.