Example usage for org.springframework.web.reactive.result.method InvocableHandlerMethod InvocableHandlerMethod

List of usage examples for org.springframework.web.reactive.result.method InvocableHandlerMethod InvocableHandlerMethod

Introduction

In this page you can find the example usage for org.springframework.web.reactive.result.method InvocableHandlerMethod InvocableHandlerMethod.

Prototype

public InvocableHandlerMethod(HandlerMethod handlerMethod) 

Source Link

Document

Create an instance from a HandlerMethod .

Usage

From source file:org.springframework.web.reactive.result.method.annotation.ControllerMethodResolver.java

/**
 * Return an {@link InvocableHandlerMethod} for the given
 * {@code @RequestMapping} method initialized with argument resolvers.
 *///w w  w  . j  ava  2s. c om
public InvocableHandlerMethod getRequestMappingMethod(HandlerMethod handlerMethod) {
    InvocableHandlerMethod invocable = new InvocableHandlerMethod(handlerMethod);
    invocable.setArgumentResolvers(this.requestMappingResolvers);
    invocable.setReactiveAdapterRegistry(this.reactiveAdapterRegistry);
    return invocable;
}