Class InvalidParametersFilter

java.lang.Object
org.fiware.mintaka.rest.InvalidParametersFilter
All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.http.filter.HttpFilter

@Filter("/**") public class InvalidParametersFilter extends Object implements io.micronaut.http.filter.HttpFilter
Filter out requests with unsupported parameters. Be aware: this requires the http-parameter names to exactly match the matched method's parameter name.
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<? extends io.micronaut.http.HttpResponse<?>>
    doFilter(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.filter.FilterChain chain)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder
  • Constructor Details

    • InvalidParametersFilter

      public InvalidParametersFilter()
  • Method Details

    • doFilter

      public org.reactivestreams.Publisher<? extends io.micronaut.http.HttpResponse<?>> doFilter(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.filter.FilterChain chain)
      Specified by:
      doFilter in interface io.micronaut.http.filter.HttpFilter