Interface RESTMessage

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void validate()
      Ensures that a constructed instance of a REST message is valid according to the REST spec.
    • Method Detail

      • validate

        void validate()
        Ensures that a constructed instance of a REST message is valid according to the REST spec.

        This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.