Interface ContentProvider.Typed

All Superinterfaces:
ContentProvider, Iterable<ByteBuffer>
All Known Implementing Classes:
AbstractTypedContentProvider, ByteBufferContentProvider, BytesContentProvider, FormContentProvider, MultiPartContentProvider, PathContentProvider, StringContentProvider
Enclosing interface:
ContentProvider

@Deprecated public static interface ContentProvider.Typed extends ContentProvider
Deprecated.
use Request.Content instead
An extension of ContentProvider that provides a content type string to be used as a Content-Type HTTP header in requests.
  • Method Details

    • getContentType

      String getContentType()
      Deprecated.
      Returns:
      the content type string such as "application/octet-stream" or "application/json;charset=UTF8", or null if no content type must be set