Skip to content

Remove Glassfish dependencies from the API. #22

Description

@garretwilson

This is a very nice start to a framework. But although it is natural that restito would use some server dependency under the covers, the specifics of this server should not be promoted to the API. That is, I should be able to use restito without knowing what server implementation is used.

For instance, restito's Condition.method(Method) method requires a Method parameter, but the org.glassfish.grizzly.http.Method type is part of Glassfish. It would be better to use a string parameter, as in Condition.method(String). This way my code can be completely server agnostic. In addition, I can use more standard method constants, such as javax.ws.rs.Httpmethod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions