public interface ContentResponse extends Response
Response that can hold a limited content in memory.Response.AsyncContentListener, Response.BeginListener, Response.CompleteListener, Response.ContentListener, Response.FailureListener, Response.HeaderListener, Response.HeadersListener, Response.Listener, Response.ResponseListener, Response.SuccessListener| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent() |
String |
getContentAsString() |
String |
getEncoding() |
String |
getMediaType() |
abort, getHeaders, getListeners, getReason, getRequest, getStatus, getVersionString getMediaType()
String getEncoding()
byte[] getContent()
String getContentAsString()
Content-Type header, if any, or UTF-8.Copyright © 1995-2015 Webtide. All Rights Reserved.