Package spring.rest

Class HibernateRestController

java.lang.Object
spring.rest.HibernateRestController

@Transactional @RestController public class HibernateRestController extends Object
  • Constructor Details

    • HibernateRestController

      public HibernateRestController()
  • Method Details

    • endpointNormal

      @RequestMapping("/normal") public Greeting endpointNormal(@RequestParam(value="name",defaultValue="World") String name, @RequestHeader Map<String,String> headers)
    • endpointStacked

      @RequestMapping("/stacked") public Greeting endpointStacked(@RequestParam(value="name",defaultValue="World") String name, @RequestHeader Map<String,String> headers)
    • endpointBlind

      @RequestMapping("/blind") public Greeting endpointBlind(@RequestParam(value="name",defaultValue="World") String name)
    • endpointTime

      @RequestMapping("/time") public Greeting endpointTime(@RequestParam(value="name",defaultValue="World") String name)
    • endpointError

      @RequestMapping("/errors") public Greeting endpointError(@RequestParam(value="name",defaultValue="World") String name)
    • endpointInside

      @RequestMapping("/inside") public Greeting endpointInside(@RequestParam(value="name",defaultValue="World") String name)
    • endpointSelect

      @RequestMapping("/select") public Greeting endpointSelect(@RequestParam(value="name",defaultValue="World") String name)
    • endpointDelete

      @RequestMapping("/delete") public Greeting endpointDelete(@RequestParam(value="name",defaultValue="World") String name)
    • endpointInsert

      @RequestMapping("/insert") public Greeting endpointInsert(@RequestParam(value="name",defaultValue="World") String name)
    • endpointUpdate

      @RequestMapping("/update") public Greeting endpointUpdate(@RequestParam(value="name",defaultValue="World") String name)
    • endpointOrderBy

      @RequestMapping("/order-by") public Greeting endpointOrderBy(@RequestParam(value="name",defaultValue="World") String name)
    • endpointIntegerInsertionChar

      @RequestMapping("/integer-insertion-char") public Greeting endpointIntegerInsertionChar(@RequestParam(value="name",defaultValue="World") String name)
    • endpointMultibit

      @RequestMapping("/multibit") public Greeting endpointMultibit(@RequestParam(value="name",defaultValue="World") String name)
    • endpointMultipleIndex

      @RequestMapping("/multiple-index") public Greeting endpointMultipleIndex(@RequestParam(value="name",defaultValue="World") String name)
    • endpointInsertionChar

      @RequestMapping("/insertion-char") public Greeting endpointInsertionChar(@RequestParam(value="name",defaultValue="World") String name)
    • endpointJson

      @RequestMapping(method={GET,POST}, path="/json", consumes={"application/x-www-form-urlencoded","text/plain"}) public Greeting endpointJson(jakarta.servlet.http.HttpServletRequest request)
    • endpointCsrf

      @RequestMapping(method={GET,POST}, path="/csrf", consumes={"application/x-www-form-urlencoded","text/plain"}) public Greeting endpointCsrf(@RequestParam(value="name",defaultValue="World") String name)
    • endpointPost

      @RequestMapping(method={GET,POST}, path="/post", consumes={"application/x-www-form-urlencoded","text/plain"}) public Greeting endpointPost(jakarta.servlet.http.HttpServletRequest request)
    • endpointPostMultipart

      @RequestMapping(method={GET,POST}, path="/multipart", consumes="multipart/form-data") public Greeting endpointPostMultipart(jakarta.servlet.http.HttpServletRequest request)
    • endpointCookie

      @GetMapping("/cookie") public Greeting endpointCookie(jakarta.servlet.http.HttpServletRequest request, @CookieValue(name="name",required=false,defaultValue="") String name)
    • endpointHeader

      @RequestMapping("/header") public Greeting endpointHeader(@RequestHeader Map<String,String> name)
    • endpointBasicAuth

      @RequestMapping("/basic") public Greeting endpointBasicAuth(@RequestParam(value="name",defaultValue="World") String name)
    • endpointDigestAuth

      @RequestMapping("/digest") public Greeting endpointDigestAuth(@RequestParam(value="name",defaultValue="World") String name)
    • endpointCustom

      @RequestMapping("/custom") public Greeting endpointCustom(jakarta.servlet.http.HttpServletRequest request, @RequestParam(value="name",defaultValue="World") String name)
    • endpointUserAgent

      @RequestMapping("/user-agent") public Greeting endpointUserAgent(jakarta.servlet.http.HttpServletRequest request, @RequestParam(value="name",defaultValue="World") String name)
    • endpointPathParamQuote

      @GetMapping("/path-quote/{name}/suffix") public Greeting endpointPathParamQuote(@PathVariable("name") String name)
    • endpointPathParamInteger

      @GetMapping("/path-integer/{name}/suffix") public Greeting endpointPathParamInteger(@PathVariable("name") String name)
    • endpointPathParamSelect

      @GetMapping("/path-select/{name}/suffix") public Greeting endpointPathParamSelect(@PathVariable("name") String name)