Class ProxyHandler.ProxyRequestContent

java.lang.Object
org.eclipse.jetty.proxy.ProxyHandler.ProxyRequestContent
All Implemented Interfaces:
org.eclipse.jetty.client.Request.Content, org.eclipse.jetty.io.Content.Source
Enclosing class:
ProxyHandler

protected static class ProxyHandler.ProxyRequestContent extends Object implements org.eclipse.jetty.client.Request.Content
  • Constructor Details

    • ProxyRequestContent

      public ProxyRequestContent(org.eclipse.jetty.server.Request clientToProxyRequest)
  • Method Details

    • getLength

      public long getLength()
      Specified by:
      getLength in interface org.eclipse.jetty.io.Content.Source
    • read

      public org.eclipse.jetty.io.Content.Chunk read()
      Specified by:
      read in interface org.eclipse.jetty.io.Content.Source
    • demand

      public void demand(Runnable demandCallback)
      Specified by:
      demand in interface org.eclipse.jetty.io.Content.Source
    • fail

      public void fail(Throwable failure)
      Specified by:
      fail in interface org.eclipse.jetty.io.Content.Source
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface org.eclipse.jetty.client.Request.Content
    • rewind

      public boolean rewind()
      Specified by:
      rewind in interface org.eclipse.jetty.io.Content.Source