Http2AsyncUpgradeHandler.SendfileCompletionHandler (Apache Tomcat 9.0.117 API Documentation)
Description: declaration: package: org.apache.coyote.http2, class: Http2AsyncUpgradeHandler, class: SendfileCompletionHandler

# Class Http2AsyncUpgradeHandler.SendfileCompletionHandler

java.lang.Object
org.apache.coyote.http2.Http2AsyncUpgradeHandler.SendfileCompletionHandler

All Implemented Interfaces:
  `CompletionHandler<Long, org.apache.coyote.http2.SendfileData>`

Enclosing class:
  `Http2AsyncUpgradeHandler`

protected class Http2AsyncUpgradeHandler.SendfileCompletionHandler extends Object implements CompletionHandler<Long, org.apache.coyote.http2.SendfileData>

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `SendfileCompletionHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `completed(Long nBytes, org.apache.coyote.http2.SendfileData sendfile)`
  `void`
  `failed(Throwable t, org.apache.coyote.http2.SendfileData sendfile)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SendfileCompletionHandler

    protected SendfileCompletionHandler()

- ## Method Details

  - ### completed

    public void completed(Long nBytes, org.apache.coyote.http2.SendfileData sendfile)
    Specified by:
      `completed` in interface `CompletionHandler<Long, org.apache.coyote.http2.SendfileData>`

  - ### failed

    public void failed(Throwable t, org.apache.coyote.http2.SendfileData sendfile)
    Specified by:
      `failed` in interface `CompletionHandler<Long, org.apache.coyote.http2.SendfileData>`