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
-
Nested Class Summary
Nested classes/interfaces inherited from interface ContentProvider
ContentProvider.Typed -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContentProvider
getLength, isReproducibleMethods inherited from interface Iterable
forEach, iterator, spliterator
-
Field Details
-
contentType
-
-
Constructor Details
-
AbstractTypedContentProvider
-
-
Method Details
-
getContentType
- 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
-