类 HiddenHttpMethodFilter

    • 方法详细资料

      • setMethodParamName

        public void setMethodParamName​(String methodParamName)
        Set the name of the form parameter with the HTTP method to use.

        By default this is set to "_method".

      • filter

        public reactor.core.publisher.Mono<Voidfilter​(ServerWebExchange exchange,
                                                        WebFilterChain chain)
        Transform an HTTP POST into another method based on methodParamName.
        指定者:
        filter 在接口中 WebFilter
        参数:
        exchange - the current server exchange
        chain - provides a way to delegate to the next filter
        返回:
        Mono<Void> to indicate when request processing is complete