Class EnumContext


  • public class EnumContext
    extends Context
    This kind of context publish the enums of the system.
    Author:
    javaito
    • Constructor Detail

      • EnumContext

        public EnumContext​(java.lang.String name)
    • Method Detail

      • onContext

        public HttpResponse onContext​(HttpRequest request)
        Description copied from class: Context
        This method is called when there comes a http package addressed to this context.
        Specified by:
        onContext in class Context
        Parameters:
        request - All the request information.
        Returns:
        Return an object with all the response information.