OpenURIHandler (Java SE 26 & JDK 26)
Description: declaration: module: java.desktop, package: java.awt.desktop, interface: OpenURIHandler
Keywords: java.awt.desktop.OpenURIHandler interface

# Interface OpenURIHandler

public interface OpenURIHandler
An implementor is notified when the application is asked to open a URI.

Since:
  9
See Also:
  - `Desktop.setOpenURIHandler(OpenURIHandler)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `openURI(OpenURIEvent e)`
  Called when the application is asked to open a `URI`.

- ## Method Details

  - ### openURI

    void openURI(OpenURIEvent e)
    Called when the application is asked to open a `URI`.
    Parameters:
      `e` - the request to open a `URI`