Example usage for org.springframework.web.server.adapter WebHttpHandlerBuilder WEB_HANDLER_BEAN_NAME

List of usage examples for org.springframework.web.server.adapter WebHttpHandlerBuilder WEB_HANDLER_BEAN_NAME

Introduction

In this page you can find the example usage for org.springframework.web.server.adapter WebHttpHandlerBuilder WEB_HANDLER_BEAN_NAME.

Prototype

String WEB_HANDLER_BEAN_NAME

To view the source code for org.springframework.web.server.adapter WebHttpHandlerBuilder WEB_HANDLER_BEAN_NAME.

Click Source Link

Document

Well-known name for the target WebHandler in the bean factory.

Usage

From source file:org.springframework.cloud.function.web.function.FunctionEndpointInitializer.java

private void registerWebFluxAutoConfiguration(GenericApplicationContext context) {
    context.registerBean(DefaultErrorWebExceptionHandler.class, () -> errorHandler(context));
    context.registerBean(WebHttpHandlerBuilder.WEB_HANDLER_BEAN_NAME, HttpWebHandlerAdapter.class,
            () -> httpHandler(context));
    context.addApplicationListener(new ServerListener(context));
}