Class Resource

    • Constructor Detail

      • Resource

        public Resource()
    • Method Detail

      • getState

        @WebMethod(name="")
        @GET
        public Object getState()
        Returns the DTO object that gets databound to Json/XML etc. for state transfer
        Returns:
        DTO object
      • getLinks

        @Exported(name="_links",
                  visibility=9999)
        public Links getLinks()
        Links to all resources available in the context of this resource
        Returns:
        Links object