Module aeonics.http
Package aeonics.http

Class Endpoint.Template

    • Constructor Detail

      • Template

        public Template​(java.lang.Class<? extends Endpoint.Type> target,
                        java.lang.Class<? extends Endpoint> type)
    • Method Detail

      • returns

        public java.lang.String returns()
        Returns the documentation of the endpoint return value
        Returns:
        the documentation of the endpoint return value
      • returns

        public Endpoint.Template returns​(java.lang.String value)
        Sets the documentation of the endpoint return value
        Parameters:
        value - the documentation of the endpoint return value
        Returns:
        this
      • export

        public Data export()
        Description copied from interface: Exportable
        Renders this class instance to a simple data structure for rendering client-side.
        Specified by:
        export in interface Documented
        Specified by:
        export in interface Exportable
        Overrides:
        export in class Template<Endpoint.Type>
        Returns:
        a public data representation of this class instance