er.distribution.client
Class ERHTTPChannel
java.lang.Object
com.webobjects.eodistribution.client.EODistributionChannel
com.webobjects.eodistribution.client.EOHTTPChannel
er.distribution.client.ERHTTPChannel
public class ERHTTPChannel
- extends com.webobjects.eodistribution.client.EOHTTPChannel
- Author:
- john
| Properties |
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. |
| Nested classes/interfaces inherited from class com.webobjects.eodistribution.client.EODistributionChannel |
com.webobjects.eodistribution.client.EODistributionChannel._DefaultExceptionHandler, com.webobjects.eodistribution.client.EODistributionChannel.Delegate |
| Fields inherited from class com.webobjects.eodistribution.client.EOHTTPChannel |
_CLASS, _ContentLengthHeader, _EODefaultJavaClientMimeType, _EOJavaClientMimeType, _SetCookieHeader, ApplicationURLKey, ComponentURLKey, PageKey, SessionIDKey |
| Fields inherited from class com.webobjects.eodistribution.client.EODistributionChannel |
_ArgumentsKey, _DistributionChannelArgumentsProvidedNotification |
| Methods inherited from class com.webobjects.eodistribution.client.EOHTTPChannel |
_completeURL, _resolvedHostName, connectionKeys, establishConnection |
| Methods inherited from class com.webobjects.eodistribution.client.EODistributionChannel |
_setDefaultExceptionHandler, channelWithName, connectionDictionary, delegate, setConnectionDictionary, setDelegate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERHTTPChannel
public ERHTTPChannel()
ERHTTPChannel
public ERHTTPChannel(String url)
url
public String url()
responseToMessage
public Object responseToMessage(Object message,
NSCoder coder)
- Overrides:
responseToMessage in class com.webobjects.eodistribution.client.EOHTTPChannel
createSocket
public Socket createSocket(String protocol,
String hostName,
int portNumber)
throws IOException
- Overrides:
createSocket in class com.webobjects.eodistribution.client.EOHTTPChannel
- Throws:
IOException
createSslSocket
protected Socket createSslSocket(String protocol,
String hostName,
int portNumber)
throws IOException
- Throws:
IOException
trustAllSocketFactory
protected SocketFactory trustAllSocketFactory()
throws NoSuchAlgorithmException,
KeyManagementException
- Throws:
NoSuchAlgorithmException
KeyManagementException
Copyright © 2002 – 2011 Project Wonder.