OpenURIHandler (Java SE 25 & JDK 25)
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`