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.IOException
java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
void close()
void setTimeout(int milliseconds)
Copyright © 2003-present Jodd Team