Interface CsrfFilterConfiguration

All Superinterfaces:
io.micronaut.core.util.Toggleable

public interface CsrfFilterConfiguration extends io.micronaut.core.util.Toggleable
Since:
4.11.0
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Set<io.micronaut.http.MediaType>
     
    @NonNull Set<io.micronaut.http.HttpMethod>
     
    @NonNull String
     

    Methods inherited from interface io.micronaut.core.util.Toggleable

    isEnabled
  • Method Details

    • getRegexPattern

      @NonNull @NonNull String getRegexPattern()
      Returns:
      Regular expression pattern. Filter will only process requests whose path matches this pattern.
    • getMethods

      @NonNull @NonNull Set<io.micronaut.http.HttpMethod> getMethods()
      Returns:
      HTTP methods. Filter will only process requests whose method matches any of these methods.
    • getContentTypes

      @NonNull @NonNull Set<io.micronaut.http.MediaType> getContentTypes()
      Returns:
      HTTP methods. Filter will only process requests whose content type matches any of these content types.