All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.kickstart.autoconfigure.web.servlet.GraphQLSubscriptionWebsocketProperties Maven / Gradle / Ivy

The newest version!
package graphql.kickstart.autoconfigure.web.servlet;

import static java.util.Collections.emptyList;

import java.util.List;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties("graphql.servlet.subscriptions.websocket")
class GraphQLSubscriptionWebsocketProperties {

  private String path = "/subscriptions";
  private List allowedOrigins = emptyList();
  private CsrfProperties csrf = new CsrfProperties();

  @Data
  static
  class CsrfProperties {

    private boolean enabled = false;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy