Class DemoApplication

java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
edu.tufts.hrilab.gui.DemoApplication
All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer

@SpringBootApplication @RestController public class DemoApplication extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
  • Field Summary

    Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.boot.builder.SpringApplicationBuilder
    configure(org.springframework.boot.builder.SpringApplicationBuilder application)
     
    hello(String name)
     

    Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, run, setRegisterErrorPageFilter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DemoApplication

      public DemoApplication()
  • Method Details

    • configure

      protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder application)
      Overrides:
      configure in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
    • hello

      @GetMapping("/hello") public String hello(@RequestParam(value="name",defaultValue="World") String name)