Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mjh.switchrmi.transport.http
Class HttpClientTransport  view HttpClientTransport download HttpClientTransport.java

java.lang.Object
  extended bycom.mjh.switchrmi.RmiTransportBase
      extended bycom.mjh.switchrmi.transport.http.HttpClientTransport
All Implemented Interfaces:
com.mjh.switchrmi.RmiTransport

public class HttpClientTransport
extends com.mjh.switchrmi.RmiTransportBase


Field Summary
private  java.net.URLConnection connection
           
private  com.sonalb.net.http.cookie.Client cookieClient
           
private static org.apache.log4j.Logger log
           
private  java.io.ByteArrayOutputStream out
           
 
Fields inherited from class com.mjh.switchrmi.RmiTransportBase
 
Fields inherited from interface com.mjh.switchrmi.RmiTransport
ASYNCHRONOUS, HTTP, JABBER, JMS, SMTP, SYNCHRONOUS, TEST
 
Constructor Summary
HttpClientTransport()
           
 
Method Summary
 java.io.InputStream getInputStream(com.mjh.switchrmi.RmiContext context)
           
 java.io.OutputStream getOutputStream(com.mjh.switchrmi.RmiContext context)
           
 java.lang.Object getSessionIdentifier()
           
 void recv(com.mjh.switchrmi.RmiContext context)
           
 void send(com.mjh.switchrmi.RmiContext context)
           
 
Methods inherited from class com.mjh.switchrmi.RmiTransportBase
getName, getType, getUrl, getUrlInfo, setName, setSessionIdentifier, setType, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.log4j.Logger log

connection

private java.net.URLConnection connection

out

private java.io.ByteArrayOutputStream out

cookieClient

private com.sonalb.net.http.cookie.Client cookieClient
Constructor Detail

HttpClientTransport

public HttpClientTransport()
Method Detail

send

public void send(com.mjh.switchrmi.RmiContext context)
          throws java.lang.Exception

recv

public void recv(com.mjh.switchrmi.RmiContext context)

getInputStream

public java.io.InputStream getInputStream(com.mjh.switchrmi.RmiContext context)
                                   throws java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream(com.mjh.switchrmi.RmiContext context)
                                     throws java.io.IOException

getSessionIdentifier

public java.lang.Object getSessionIdentifier()