public interface ContentConsumer extends ContentDataConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
setContentLength(long contentLength)
Sets content length.
|
void |
setContentType(String contentType)
Sets content type.
|
setContentDatavoid setContentType(String contentType)
contentType - content type; null for unknown.void setContentLength(long contentLength)
contentLength - content length. -1L for unknown.Copyright © 2011-2012. All Rights Reserved.