Methods Summary |
---|
public java.lang.Object | clone()
return super.clone();
|
public java.io.InputStream | getContent()
return new ByteArrayInputStream(this.content);
|
public long | getContentLength()
return this.content.length;
|
public boolean | isRepeatable()
return true;
|
public boolean | isStreaming()Tells that this entity is not streaming.
return false;
|
public void | writeTo(java.io.OutputStream outstream)
if (outstream == null) {
throw new IllegalArgumentException("Output stream may not be null");
}
outstream.write(this.content);
outstream.flush();
|