Interface Uniform

  • All Known Implementing Classes:
    Client, Connector, Restlet, WrapperRestlet

    public interface Uniform
    Uniform REST interface. "The central feature that distinguishes the REST architectural style from other network-based styles is its emphasis on a uniform interface between components. By applying the software engineering principle of generality to the component interface, the overall system architecture is simplified and the visibility of interactions is improved. Implementations are decoupled from the services they provide, which encourages independent evolvability." Roy T. Fielding
    Author:
    Jerome Louvel
    See Also:
    Source dissertation
    • Method Detail

      • handle

        void handle​(Request request,
                    Response response)
        Handles a uniform call. It is important to realize that this interface can be used either on the client-side or on the server-side.
        Parameters:
        request - The request to handle.
        response - The associated response.