private static class RequestMappingInfoHandlerMapping.PartialMatchHelper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
RequestMappingInfoHandlerMapping.PartialMatchHelper.PartialMatch
Container for a RequestMappingInfo that matches the URL path at least.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<RequestMappingInfoHandlerMapping.PartialMatchHelper.PartialMatch> |
partialMatches |
Constructor and Description |
---|
PartialMatchHelper(java.util.Set<RequestMappingInfo> infos,
HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getAllowedMethods()
Return declared HTTP methods.
|
java.util.Set<MediaType> |
getConsumableMediaTypes()
Return declared "consumable" types but only among those that also
match the "methods" condition.
|
java.util.List<java.lang.String[]> |
getParamConditions()
Return declared "params" conditions but only among those that also
match the "methods", "consumes", and "params" conditions.
|
java.util.Set<MediaType> |
getProducibleMediaTypes()
Return declared "producible" types but only among those that also
match the "methods" and "consumes" conditions.
|
boolean |
hasConsumesMismatch()
Any partial matches for "methods" and "consumes"?
|
boolean |
hasMethodsMismatch()
Any partial matches for "methods"?
|
boolean |
hasParamsMismatch()
Any partial matches for "methods", "consumes", "produces", and "params"?
|
boolean |
hasProducesMismatch()
Any partial matches for "methods", "consumes", and "produces"?
|
boolean |
isEmpty()
Whether there any partial matches.
|
private final java.util.List<RequestMappingInfoHandlerMapping.PartialMatchHelper.PartialMatch> partialMatches
public PartialMatchHelper(java.util.Set<RequestMappingInfo> infos, HttpServletRequest request)
public boolean isEmpty()
public boolean hasMethodsMismatch()
public boolean hasConsumesMismatch()
public boolean hasProducesMismatch()
public boolean hasParamsMismatch()
public java.util.Set<java.lang.String> getAllowedMethods()
public java.util.Set<MediaType> getConsumableMediaTypes()
public java.util.Set<MediaType> getProducibleMediaTypes()
public java.util.List<java.lang.String[]> getParamConditions()