Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Enable or disable async mode #540

Closed
@oliemansm

Description

@oliemansm

After the refactor of async mode support the possibility to configure async support has been removed entirely. This should be reinstated, while still keeping the new way of checking it using the HttpServletRequest itself, e.g.

public ServletRegistrationBean dispatcherServlet() {
    ServletRegistrationBean registration = new ServletRegistrationBean(new DispatcherServlet(), "/");
    registration.setAsyncSupported(true);
    return registration;
}

The old property should be made available again too, but now it will be true by default. So to disable it you'd have to add the following property:

graphql.servlet.async-mode-enabled: false

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions