java.lang.Object
net.anwiba.commons.http.HttpClientConnector
- All Implemented Interfaces:
IStreamConnector<URI>
-
Constructor Summary
ConstructorsConstructorDescriptionHttpClientConnector(IHttpRequestExecutorFactory httpRequestExcecutorFactory) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanlonggetContentLength(URI uri) getContentType(URI uri) openInputStream(URI uri) openInputStream(URI uri, IAcceptor<String> contentTypeAcceptor) openOutputStream(URI uri) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.anwiba.commons.reference.io.IStreamConnector
isApplicable
-
Constructor Details
-
HttpClientConnector
-
-
Method Details
-
exist
- Specified by:
existin interfaceIStreamConnector<URI>
-
canRead
- Specified by:
canReadin interfaceIStreamConnector<URI>
-
canWrite
- Specified by:
canWritein interfaceIStreamConnector<URI>
-
openInputStream
- Specified by:
openInputStreamin interfaceIStreamConnector<URI>- Throws:
IOException
-
openInputStream
public InputStream openInputStream(URI uri, IAcceptor<String> contentTypeAcceptor) throws IOException - Specified by:
openInputStreamin interfaceIStreamConnector<URI>- Throws:
IOException
-
openOutputStream
- Specified by:
openOutputStreamin interfaceIStreamConnector<URI>- Throws:
IOException
-
getContentLength
- Specified by:
getContentLengthin interfaceIStreamConnector<URI>- Throws:
IOException
-
getContentType
- Specified by:
getContentTypein interfaceIStreamConnector<URI>- Throws:
IOException
-