Class RestApp

java.lang.Object
ch.software_atelier.simpleflex.rest.RestApp
All Implemented Interfaces:
ch.software_atelier.simpleflex.apps.WebApp

public abstract class RestApp extends Object implements ch.software_atelier.simpleflex.apps.WebApp
  • Constructor Details

    • RestApp

      public RestApp()
  • Method Details

    • process

      public ch.software_atelier.simpleflex.docs.WebDoc process(ch.software_atelier.simpleflex.Request request)
      Specified by:
      process in interface ch.software_atelier.simpleflex.apps.WebApp
    • start

      public void start(String name, HashMap<String,Object> config, ch.software_atelier.simpleflex.SimpleFlexAccesser sfa)
      Specified by:
      start in interface ch.software_atelier.simpleflex.apps.WebApp
    • setDocInfo

      public void setDocInfo(String version, String title, String description)
    • setDocPath

      public void setDocPath(String host, String basePath)
    • addResource

      public void addResource(String path, RestResource res)
    • maxPostingSize

      public long maxPostingSize(String requestedPath)
      Specified by:
      maxPostingSize in interface ch.software_atelier.simpleflex.apps.WebApp
    • quit

      public void quit()
      Specified by:
      quit in interface ch.software_atelier.simpleflex.apps.WebApp