Class CamelInputStreamContentProvider

java.lang.Object
org.eclipse.jetty.client.util.InputStreamContentProvider
org.apache.camel.component.jetty11.CamelInputStreamContentProvider
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<ByteBuffer>, org.eclipse.jetty.client.api.ContentProvider, org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.Invocable

public class CamelInputStreamContentProvider extends org.eclipse.jetty.client.util.InputStreamContentProvider
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback

    org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested

    Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.ContentProvider

    org.eclipse.jetty.client.api.ContentProvider.Typed

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable

    org.eclipse.jetty.util.thread.Invocable.InvocationType, org.eclipse.jetty.util.thread.Invocable.ReadyTask, org.eclipse.jetty.util.thread.Invocable.Task
  • Field Summary

    Fields inherited from interface org.eclipse.jetty.util.Callback

    NOOP

    Fields inherited from interface org.eclipse.jetty.util.thread.Invocable

    __nonBlocking
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     

    Methods inherited from class org.eclipse.jetty.client.util.InputStreamContentProvider

    close, failed, iterator, onRead, onReadFailure

    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.util.Callback

    completeWith, succeeded

    Methods inherited from interface org.eclipse.jetty.client.api.ContentProvider

    isReproducible

    Methods inherited from interface org.eclipse.jetty.util.thread.Invocable

    getInvocationType

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • CamelInputStreamContentProvider

      public CamelInputStreamContentProvider(InputStream stream, int length)
  • Method Details

    • getLength

      public long getLength()
      Specified by:
      getLength in interface org.eclipse.jetty.client.api.ContentProvider
      Overrides:
      getLength in class org.eclipse.jetty.client.util.InputStreamContentProvider