public class ControllerUtils
extends java.lang.Object
| Constructor and Description |
|---|
ControllerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
cleanupFuzzyContentTypes(java.util.List<java.lang.String> contentTypes)
Removes trailing wildcards from a content type as long as the content type is not a
universal wildcard content type like '*' or '*\*'.
|
static java.util.List<java.lang.Class<? extends RouteHandler>> |
collectRouteInterceptors(java.lang.reflect.Method method) |
static java.util.List<java.lang.String> |
getConsumes(java.lang.reflect.Method method) |
static java.lang.String |
getParameterName(java.lang.reflect.Parameter parameter)
Returns the name of a parameter.
|
static java.util.List<java.lang.String> |
getProduces(java.lang.reflect.Method method) |
static java.util.Collection<java.lang.String> |
getSuffixes(java.lang.reflect.Method method) |
public static java.util.List<java.lang.Class<? extends RouteHandler>> collectRouteInterceptors(java.lang.reflect.Method method)
public static java.util.List<java.lang.String> getConsumes(java.lang.reflect.Method method)
public static java.util.List<java.lang.String> getProduces(java.lang.reflect.Method method)
public static java.util.Collection<java.lang.String> getSuffixes(java.lang.reflect.Method method)
public static java.lang.String getParameterName(java.lang.reflect.Parameter parameter)
parameter - public static java.util.List<java.lang.String> cleanupFuzzyContentTypes(java.util.List<java.lang.String> contentTypes)
contentTypes - Copyright © 2023. All rights reserved.