private boolean connected;
/*
* In/out Streams used to buffer input and output
*/
private PrivateInputStream in;
private PrivateOutputStream out;
/*
* The data streams provided to the application.
* They wrap up the in and out streams.
*/
private DataInputStream appDataIn;
// private DataOutputStream appDataOut;
/*
* The streams from the underlying socket connection.
*/
private StreamConnection streamConnnection;
private DataOutputStream streamOutput;
private DataInputStream streamInput;
/*
* A shared temporary buffer used in a couple of places
*/
private StringBuffer stringbuffer;
private String http_version = "HTTP/1.1";
/**
* Create a new instance of this class.
* We are initially unconnected.
*/
public SocketConnectionExt() {
reqProperties = new Hashtable();
headerFields = new Hashtable();
stringbuffer = new StringBuffer(32);
opens = 0;
connected = false;
method = "GET";
responseCode = -1;
protocol = "http";
}