public abstract class HttpInputStreamEntityRequest extends AbstractHttpEntityRequest
HttpRequest.CanceledListener, HttpRequest.PriorityChangedListenercontentMimeType, parserWriterPoolurl, urlParametersCACHE_ALLOW_STALE, CACHE_FORCE, CACHE_FROM_DISK, CACHE_FROM_MEMORY, CACHE_OFFLINE_ALLOW_EXPIRED, CACHE_TO_DISK, CACHE_TO_MEMORY, HTTP_METHOD_DELETE, HTTP_METHOD_GET, HTTP_METHOD_POST, HTTP_METHOD_PUT, PRIORITY_HIGH, PRIORITY_HIGHEST, PRIORITY_LOW, PRIORITY_LOWEST, PRIORITY_NORMAL| Constructor and Description |
|---|
HttpInputStreamEntityRequest(String httpMehod) |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getContentLength()
Get the contentLength. return -1 if the content length is unknown.
|
abstract InputStream |
getInputStream()
Get the inputstream from where the data will be read
|
getContentMimeType, getParserWriterPool, setContentMimeType, setParserWriterPoolcancel, compareTo, doAdditionalResponseProcessing, equals, getCachedResultFor304, getConnectingTimeout, getCreationTimestamp, getHttpHeaders, getHttpMethod, getOverrideResponseCacheControl, getOwner, getParseCondition, getParseIntoClass, getParseIntoCollectionType, getParserWriter, getPriority, getReadingResponseTimeout, getResponseContentCharset, getResponseContentType, getUrl, getUrlEncodingCharset, getUrlParamsString, hashCode, isAllowStaleData, isCanceled, isFollowRedirection, isForceFromCache, isOnOfflineAllowExpiredCacheValue, isOnOfflineFromCache, isReadDiskCache, isReadMemoryCache, isWithoutCacheLookup, isWriteDiskCache, isWriteMemoryCache, putUrlParam, putUrlParam, putUrlParam, putUrlParam, putUrlParam, putUrlParam, putUrlParam, putUrlParamAsString, setAllowStaleData, setCachedResultFor304, setCanceledListener, setConnectingTimeout, setFollowRedirection, setForceFromCache, setHttpMethod, setOnOfflineAllowExpiredCacheValue, setOnOfflineFromCache, setOverrideResponseCacheControl, setOwner, setParseCondition, setParseInto, setParseInto, setParserWriter, setPriority, setPriorityChangedListener, setReadDiskCache, setReadingResponseTimeout, setReadMemoryCache, setResponseContentCharset, setResponseContentType, setUrl, setUrlEncodingCharset, setWithoutCacheLookup, setWriteDiskCache, setWriteMemoryCache, toStringpublic HttpInputStreamEntityRequest(String httpMehod)
public abstract InputStream getInputStream() throws Exception
Exceptionpublic abstract int getContentLength()
Copyright © 2015 Hannes Dorfmann. All rights reserved.