Class HttpContentRangeWriter

java.lang.Object
org.eclipse.jetty.server.resource.HttpContentRangeWriter

public class HttpContentRangeWriter extends Object
Range Writer selection for HttpContent
  • Constructor Details

    • HttpContentRangeWriter

      public HttpContentRangeWriter()
  • Method Details

    • newRangeWriter

      public static RangeWriter newRangeWriter(HttpContent content)
      Obtain a new RangeWriter for the supplied HttpContent.
      Parameters:
      content - the HttpContent to base RangeWriter on
      Returns:
      the RangeWriter best suited for the supplied HttpContent