public class SpringProducesBuilder extends Object
| Constructor and Description |
|---|
SpringProducesBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
buildProduces(Method method)
From Spring's documentation: [produces 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 produces restriction.
|
public static Set<String> buildProduces(Method method)
method - controller - Copyright © 2016. All rights reserved.