public static class ChunkedInputStreamEntity.ReleasableInputStreamEntity extends org.apache.http.entity.AbstractHttpEntity implements Releasable
构造器和说明 |
---|
ChunkedInputStreamEntity.ReleasableInputStreamEntity(InputStream instream) |
ChunkedInputStreamEntity.ReleasableInputStreamEntity(InputStream instream,
org.apache.http.entity.ContentType contentType) |
ChunkedInputStreamEntity.ReleasableInputStreamEntity(InputStream instream,
long length) |
ChunkedInputStreamEntity.ReleasableInputStreamEntity(InputStream instream,
long length,
org.apache.http.entity.ContentType contentType) |
限定符和类型 | 方法和说明 |
---|---|
void |
close() |
InputStream |
getContent() |
long |
getContentLength() |
boolean |
isCloseDisabled() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
release() |
void |
setCloseDisabled(boolean closeDisabled) |
void |
writeTo(OutputStream outstream) |
public ChunkedInputStreamEntity.ReleasableInputStreamEntity(InputStream instream)
public ChunkedInputStreamEntity.ReleasableInputStreamEntity(InputStream instream, long length)
public ChunkedInputStreamEntity.ReleasableInputStreamEntity(InputStream instream, org.apache.http.entity.ContentType contentType)
public ChunkedInputStreamEntity.ReleasableInputStreamEntity(InputStream instream, long length, org.apache.http.entity.ContentType contentType)
public boolean isRepeatable()
isRepeatable
在接口中 org.apache.http.HttpEntity
public long getContentLength()
getContentLength
在接口中 org.apache.http.HttpEntity
public InputStream getContent() throws IOException
getContent
在接口中 org.apache.http.HttpEntity
IOException
public void writeTo(OutputStream outstream) throws IOException
writeTo
在接口中 org.apache.http.HttpEntity
IOException
public boolean isStreaming()
isStreaming
在接口中 org.apache.http.HttpEntity
public void close()
public void release()
release
在接口中 Releasable
public boolean isCloseDisabled()
public void setCloseDisabled(boolean closeDisabled)
Copyright © 2019. All Rights Reserved.