Inherits from: EODistributionChannel : Object
Package: com.apple.client.eodistribution
An EOHTTPChannel is an object that handles communication between the client and server in distributed enterprise-objects applications using the HTTP protocol. It is commonly used in WebObjects applications that employ an Enterprise Object Java client. EOHTTPChannel is concrete subclass of EODistributionChannel.
An EODistributedObjectStore manages the flow of data over the EOHTTPChannel. It sends data from the client to the server by invoking EOHTTPChannel's responseToMessage message, which uses an HTTP "POST" command. Communication from the server is handled through notifications "piggybacked" onto the response.
Objects of this class are for use with Java Client only; there is no equivalent class for Yellow Box applications.
EOHTTPChannel defines the following String constants as connection keys (for more information, see connectionKeys):
public NSArray connectionKeys()
Key | Value |
ApplicationURLKey | The application's base URL, specifying where your application's resources are located under the web server's document root. |
ComponentURLKey | The URL identifying a particular Java client side component. |
SessionIDKey | The session ID for the current session. |
PageKey | The name of the page component involved in the current transaction. |
public void establishConnection()
public Object responseToMessage(
Object aMessage,
NSCoder aCoder)
Throws a RuntimeException if the method is re-entered or an NSForwardException if any native exception related to socket-creation or I/O occurs.