类 RequestMappingInfoHandlerMapping.PartialMatchHelper

java.lang.Object
cn.taketoday.web.handler.method.RequestMappingInfoHandlerMapping.PartialMatchHelper
封闭类:
RequestMappingInfoHandlerMapping

private static class RequestMappingInfoHandlerMapping.PartialMatchHelper extends Object
Aggregate all partial matches and expose methods checking across them.
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • isEmpty

      public boolean isEmpty()
      Whether there any partial matches.
    • hasMethodsMismatch

      public boolean hasMethodsMismatch()
      Any partial matches for "methods"?
    • hasConsumesMismatch

      public boolean hasConsumesMismatch()
      Any partial matches for "methods" and "consumes"?
    • hasProducesMismatch

      public boolean hasProducesMismatch()
      Any partial matches for "methods", "consumes", and "produces"?
    • hasParamsMismatch

      public boolean hasParamsMismatch()
      Any partial matches for "methods", "consumes", "produces", and "params"?
    • getAllowedMethods

      public Set<String> getAllowedMethods()
      Return declared HTTP methods.
    • getConsumableMediaTypes

      public Set<MediaType> getConsumableMediaTypes()
      Return declared "consumable" types but only among those that also match the "methods" condition.
    • getProducibleMediaTypes

      public Set<MediaType> getProducibleMediaTypes()
      Return declared "producible" types but only among those that also match the "methods" and "consumes" conditions.
    • getParamConditions

      public List<String[]> getParamConditions()
      Return declared "params" conditions but only among those that also match the "methods", "consumes", and "params" conditions.
    • getConsumablePatchMediaTypes

      public Set<MediaType> getConsumablePatchMediaTypes()
      Return declared "consumable" types but only among those that have PATCH specified, or that have no methods at all.