public static class HttpConnectionFactory.HttpConnection extends Object implements Connection
| Constructor and Description |
|---|
HttpConnectionFactory.HttpConnection(URI uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
discard() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
URI |
getURI() |
public HttpConnectionFactory.HttpConnection(URI uri) throws IOException
IOExceptionpublic void discard()
discard in interface Connectionpublic URI getURI()
getURI in interface Connectionpublic void close()
throws IOException
close in interface ConnectionIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface ConnectionIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in interface ConnectionIOExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.