Class SpringHeaderBuilder
- java.lang.Object
-
- org.jsondoc.springmvc.scanner.builder.SpringHeaderBuilder
-
public class SpringHeaderBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SpringHeaderBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<org.jsondoc.core.pojo.ApiHeaderDoc>buildHeaders(java.lang.reflect.Method method)From Spring's documentation: Supported at the type level as well as at the method level! When used at the type level, all method-level mappings inherit this header restriction.
-
-
-
Method Detail
-
buildHeaders
public static java.util.Set<org.jsondoc.core.pojo.ApiHeaderDoc> buildHeaders(java.lang.reflect.Method method)
From Spring's documentation: Supported at the type level as well as at the method level! When used at the type level, all method-level mappings inherit this header restriction. Finally it looks for @ApiHeader annotations on parameters and adds the result to the final Set- Parameters:
method-- Returns:
-
-