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
All Methods Instance Methods Concrete Methods 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 Detail
-
HTTPSocket
public HTTPSocket(Socket socket)
-
HTTPSocket
public HTTPSocket(HTTPSocket socket)
-
-
Method Detail
-
getSocket
public Socket getSocket()
-
getLocalAddress
public String getLocalAddress()
-
getLocalPort
public int getLocalPort()
-
getInputStream
public InputStream getInputStream()
-
open
public boolean open()
-
close
public boolean close()
-
post
public boolean post(HTTPResponse httpRes, long contentOffset, long contentLength, boolean isOnlyHeader)
-
-