Class RestDocumentationContextPlaceholderResolverFactory
java.lang.Object
org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolverFactory
- All Implemented Interfaces:
PlaceholderResolverFactory
public final class RestDocumentationContextPlaceholderResolverFactory
extends Object
implements PlaceholderResolverFactory
A
PlaceholderResolverFactory that creates
RestDocumentationContextPlaceholderResolver instances.- Since:
- 1.1.0
- Author:
- Andy Wilkinson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(RestDocumentationContext context) Creates a newPropertyPlaceholderHelper.PlaceholderResolverusing the givencontext.
-
Constructor Details
-
RestDocumentationContextPlaceholderResolverFactory
public RestDocumentationContextPlaceholderResolverFactory()
-
-
Method Details
-
create
Description copied from interface:PlaceholderResolverFactoryCreates a newPropertyPlaceholderHelper.PlaceholderResolverusing the givencontext.- Specified by:
createin interfacePlaceholderResolverFactory- Parameters:
context- the context- Returns:
- the placeholder resolver
-