Annotation Type StringBody


  • @Target({METHOD,PARAMETER})
    @Retention(RUNTIME)
    public @interface StringBody
    Annotation that indicates a method return value or a method parameter should be bound to the HTTP body as type "text/plain".

    Supported for HttpRoute annotated handler methods

    Since:
    2.0
    See Also:
    HttpRoute