java.nio.channels.spi (Java Platform SE 8 )
Keywords: java.nio.channels.spi package
Date: 2026-04-17

# Package java.nio.channels.spi

Service-provider classes for the ``java.nio.channels`` package.

See: Description

- Class Summary
  Class | Description
  --- | ---
  AbstractInterruptibleChannel | Base implementation class for interruptible channels.
  AbstractSelectableChannel | Base implementation class for selectable channels.
  AbstractSelectionKey | Base implementation class for selection keys.
  AbstractSelector | Base implementation class for selectors.
  AsynchronousChannelProvider | Service-provider class for asynchronous channels.
  SelectorProvider | Service-provider class for selectors and selectable channels.

## Package java.nio.channels.spi Description

Service-provider classes for the ``java.nio.channels`` package.

Only developers who are defining new selector providers or asynchronous channel providers should need to make direct use of this package.

Unless otherwise noted, passing a `null` argument to a constructor or method in any class or interface in this package will cause a `NullPointerException` to be thrown.

Since:
  1.4

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.