Interface ResourceApiVersionSpecificationFilter.VersionSpecification

    • Method Detail

      • matchVersion

        Optional<Version> matchVersion​(Request request)
        Test the request to try to find a match based on version configuration. The matching version is returned if found.
        Parameters:
        request - the request to match
        Returns:
        Optional of any matching Version
      • handleNoApiVersionSupplied

        void handleNoApiVersionSupplied​(Context context,
                                        ResourcePath resourcePath)
        Support custom handling when no resource API version is supplied on the request.
        Parameters:
        context - the Context
        resourcePath - the requested ResourcePath