Package org.eclipse.jetty.client.util
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(since="2021-05-27")
public abstract class AbstractTypedContentProvider
extends Object
implements ContentProvider.Typed
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.ContentProvider
ContentProvider.Typed -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.client.api.ContentProvider
getLength, isReproducibleMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getContentType
Deprecated.- Specified by:
getContentTypein interfaceContentProvider.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
-