oracle.dbtools.plugin.api.servlet

## Interface VersionedPlugin

-     public interface VersionedPlugin

  Represents the versioned API plugin, specified in a META-INF/plugin.json, that corresponds to a particular request and the servlets @BelongsTo annotation. Use `VersionedPlugins` to get an instance of this based on the HttpServletRequest at runtime.
  Author:
    peobrie

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `URI` | `basePathURI()` Returns the base path for the corresponding API plugin that the request belongs to.
    `URI` | `metadataCatalogURI()` Returns the URI for the metadata-catalog of API plugin that the request belongs to.
    `String` | `versionNumber()` Identifies at runtime the version specified, in the request URL, by the client.

- - ### Method Detail

    - #### versionNumber

          String versionNumber()

      Identifies at runtime the version specified, in the request URL, by the client.
      Returns:
        String representing the version number in the request

    - #### basePathURI

          URI basePathURI()

      Returns the base path for the corresponding API plugin that the request belongs to.
      Returns:
        URI instance

    - #### metadataCatalogURI

          URI metadataCatalogURI()

      Returns the URI for the metadata-catalog of API plugin that the request belongs to. The URI will include the version number in the path as specified by the request.
      Returns:
        URI instance

Copyright © 2010, 2022, Oracle and/or its affiliates.