Class LiteralContentLoader
- java.lang.Object
-
- org.elypia.webservertestbed.loaders.LiteralContentLoader
-
- All Implemented Interfaces:
ContentLoader
public class LiteralContentLoader extends Object implements ContentLoader
Returns the literal content of the input.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description LiteralContentLoader()
-
-
-
Method Detail
-
loadContent
public String loadContent(String value)
- Specified by:
loadContentin interfaceContentLoader- Parameters:
value- The literal string that represents a resource that should be loaded.- Returns:
- The content to load from a given string intended
to be added to
MockResponse.setBody(String).
-
-