jMobileCore toolkit

com.jmobilecore.comm
Class HttpSimpleConnection

java.lang.Object
  extended by com.jmobilecore.comm.HttpSimpleConnection

public class HttpSimpleConnection
extends java.lang.Object


Field Summary
 javax.microedition.io.HttpConnection http
           
 java.util.Hashtable httpProperties
           
 java.io.DataInputStream iStrm
           
 int responseCode
           
 
Constructor Summary
HttpSimpleConnection()
           
HttpSimpleConnection(java.lang.String connString)
           
 
Method Summary
 void close()
           
protected  void closeHTTP()
           
protected  void closeInputStream()
           
protected  void init()
           
 boolean open(java.lang.String connString)
           
protected  boolean openHTTP(java.lang.String url)
           
protected  boolean openInputStream()
           
 int readBytes(byte[] data, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

http

public javax.microedition.io.HttpConnection http

httpProperties

public java.util.Hashtable httpProperties

iStrm

public java.io.DataInputStream iStrm

responseCode

public int responseCode
Constructor Detail

HttpSimpleConnection

public HttpSimpleConnection()

HttpSimpleConnection

public HttpSimpleConnection(java.lang.String connString)
Method Detail

close

public void close()

closeHTTP

protected void closeHTTP()

closeInputStream

protected void closeInputStream()

init

protected void init()

open

public boolean open(java.lang.String connString)

openHTTP

protected boolean openHTTP(java.lang.String url)

openInputStream

protected boolean openInputStream()

readBytes

public int readBytes(byte[] data,
                     int len)
              throws java.io.IOException
Throws:
java.io.IOException

jMobileCore toolkit