public interface HttpConnection
HttpConnectionProvider.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes connection.
|
java.io.InputStream |
getInputStream()
Returns connection input stream.
|
java.io.OutputStream |
getOutputStream()
Returns connection output stream.
|
void |
init()
Initializes http connection after socket is created.
|
void |
setTimeout(int milliseconds)
Sets the timeout for connections, in milliseconds.
|
void init() throws java.io.IOException
setTimeout(int).java.io.IOExceptionjava.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOExceptionjava.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionvoid close()
void setTimeout(int milliseconds)
Copyright © 2003-present Jodd Team