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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.ContentProvider
ContentProvider.Typed
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.client.api.ContentProvider
getLength, isReproducible
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Field Details
-
contentType
-
-
Constructor Details
-
AbstractTypedContentProvider
-
-
Method Details
-
getContentType
- Specified by:
getContentType
in 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
-