public class SpringConsumesBuilder extends Object
| Constructor and Description |
|---|
SpringConsumesBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
buildConsumes(Method method)
From Spring's documentation: [consumes is] supported at the type level as well as at the method level!
When used at the type level, all method-level mappings override this consumes restriction.
|
public static Set<String> buildConsumes(Method method)
method - controller - Copyright © 2016. All rights reserved.