Class FilenameMaker
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.filemaker.FilenameMaker
-
public class FilenameMaker extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_FILENAME_TEMPLATE
-
Constructor Summary
Constructors Constructor Description FilenameMaker()
FilenameMaker(java.lang.String filenameTemplate)
FilenameMaker(java.lang.String filenameTemplate, java.lang.String extension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
filenameFor(StubMapping stubMapping)
java.lang.String
sanitizeUrl(java.lang.String url)
-
-
-
Field Detail
-
DEFAULT_FILENAME_TEMPLATE
public static final java.lang.String DEFAULT_FILENAME_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
filenameFor
public java.lang.String filenameFor(StubMapping stubMapping)
-
sanitizeUrl
public java.lang.String sanitizeUrl(java.lang.String url)
-
-