Project Wonder 5.0

er.distribution.client
Class ERHTTPChannel

java.lang.Object
  extended by com.webobjects.eodistribution.client.EODistributionChannel
      extended by com.webobjects.eodistribution.client.EOHTTPChannel
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eodistribution.client.EODistributionChannel
com.webobjects.eodistribution.client.EODistributionChannel._DefaultExceptionHandler, com.webobjects.eodistribution.client.EODistributionChannel.Delegate
 
Field Summary
 
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
 
Constructor Summary
ERHTTPChannel()
           
ERHTTPChannel(String url)
           
 
Method Summary
 Socket createSocket(String protocol, String hostName, int portNumber)
           
protected  Socket createSslSocket(String protocol, String hostName, int portNumber)
           
 Object responseToMessage(Object message, NSCoder coder)
           
protected  SocketFactory trustAllSocketFactory()
           
 String url()
           
 
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
 

Constructor Detail

ERHTTPChannel

public ERHTTPChannel()

ERHTTPChannel

public ERHTTPChannel(String url)
Method Detail

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

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.