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
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.util.PropertyPlaceholderHelper.PlaceholderResolver
create
(RestDocumentationContext context) Creates a newPropertyPlaceholderHelper.PlaceholderResolver
using the givencontext
.
-
Constructor Details
-
RestDocumentationContextPlaceholderResolverFactory
public RestDocumentationContextPlaceholderResolverFactory()
-
-
Method Details
-
create
public org.springframework.util.PropertyPlaceholderHelper.PlaceholderResolver create(RestDocumentationContext context) Description copied from interface:PlaceholderResolverFactory
Creates a newPropertyPlaceholderHelper.PlaceholderResolver
using the givencontext
.- Specified by:
create
in interfacePlaceholderResolverFactory
- Parameters:
context
- the context- Returns:
- the placeholder resolver
-