public static class HttpConnectionFactory.HttpConnection extends java.lang.Object implements Connection
Constructor and Description |
---|
HttpConnection(java.net.URI uri,
java.util.concurrent.ConcurrentMap<java.net.URI,javax.net.ssl.SSLSocketFactory> socketFactoryMap,
byte[] buffer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
discard() |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
java.net.URI |
getURI() |
public HttpConnection(java.net.URI uri, java.util.concurrent.ConcurrentMap<java.net.URI,javax.net.ssl.SSLSocketFactory> socketFactoryMap, byte[] buffer) throws java.io.IOException
java.io.IOException
public void discard()
discard
in interface Connection
public java.net.URI getURI()
getURI
in interface Connection
public void close() throws java.io.IOException
close
in interface Connection
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in interface Connection
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface Connection
java.io.IOException