Class AbstractTypedContentProvider

java.lang.Object
org.eclipse.jetty.client.util.AbstractTypedContentProvider
All Implemented Interfaces:
Iterable<ByteBuffer>, ContentProvider, ContentProvider.Typed
Direct Known Subclasses:
ByteBufferContentProvider, BytesContentProvider, MultiPartContentProvider, PathContentProvider

@Deprecated public abstract class AbstractTypedContentProvider extends Object implements ContentProvider.Typed
Deprecated.
  • Constructor Details

    • AbstractTypedContentProvider

      protected AbstractTypedContentProvider(String contentType)
      Deprecated.
  • Method Details

    • getContentType

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