Package org.cybergarage.http
Class HTTPSocket
java.lang.Object
org.cybergarage.http.HTTPSocket
public class HTTPSocket extends Object
-
Constructor Summary
Constructors Constructor Description HTTPSocket(Socket socket)
HTTPSocket(HTTPSocket socket)
-
Method Summary
Modifier and Type Method Description boolean
close()
InputStream
getInputStream()
String
getLocalAddress()
int
getLocalPort()
Socket
getSocket()
boolean
open()
boolean
post(HTTPResponse httpRes, long contentOffset, long contentLength, boolean isOnlyHeader)
-
Constructor Details
-
Method Details
-
getSocket
-
getLocalAddress
-
getLocalPort
public int getLocalPort() -
getInputStream
-
open
public boolean open() -
close
public boolean close() -
post
public boolean post(HTTPResponse httpRes, long contentOffset, long contentLength, boolean isOnlyHeader)
-