Annotation Type ShenyuRequestMapping


  • @Target({TYPE,METHOD})
    @Retention(RUNTIME)
    @RequestMapping
    public @interface ShenyuRequestMapping
    This is a convenience annotation that is equivalent to declaring @RequestMapping and @ShenyuSpringMvcClient.
    • Element Detail

      • value

        @AliasFor(attribute="path")
        java.lang.String value
        Alias for RequestMapping.value(), ShenyuSpringMvcClient.value().
        Returns:
        the string
        Default:
        ""
      • path

        @AliasFor(attribute="value")
        java.lang.String path
        Alias for RequestMapping.path(), ShenyuSpringMvcClient.path().
        Returns:
        the string
        Default:
        ""
      • params

        @AliasFor(annotation=org.springframework.web.bind.annotation.RequestMapping.class)
        java.lang.String[] params
        Alias for RequestMapping.params().
        Returns:
        the string[]
        Default:
        {}
      • headers

        @AliasFor(annotation=org.springframework.web.bind.annotation.RequestMapping.class)
        java.lang.String[] headers
        Alias for RequestMapping.headers().
        Returns:
        the string[]
        Default:
        {}
      • consumes

        @AliasFor(annotation=org.springframework.web.bind.annotation.RequestMapping.class)
        java.lang.String[] consumes
        Alias for RequestMapping.consumes().
        Returns:
        the string[]
        Default:
        {}
      • produces

        @AliasFor(annotation=org.springframework.web.bind.annotation.RequestMapping.class)
        java.lang.String[] produces
        Alias for RequestMapping.produces().
        Returns:
        the string[]
        Default:
        {}
      • method

        @AliasFor(annotation=org.springframework.web.bind.annotation.RequestMapping.class)
        org.springframework.web.bind.annotation.RequestMethod[] method
        Alias for RequestMapping.method().
        Returns:
        the RequestMethod[]
        Default:
        {}