Package org.bndly.common.varnish
Class Cache
- java.lang.Object
-
- org.bndly.common.varnish.Cache
-
public class Cache extends Object
- Author:
- cybercon <bndly@cybercon.de>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCache.Configuration
-
Constructor Summary
Constructors Constructor Description Cache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate(org.osgi.service.component.ComponentContext componentContext)static StringescapeSpecialCharactersToProperURL(String path)This method will parse the path as a resource path and then escapes all special characters in order to get a clean URL.voidflushPaths(Iterable<String> pathsWithExtension)
-
-
-
Method Detail
-
activate
public void activate(org.osgi.service.component.ComponentContext componentContext)
-
escapeSpecialCharactersToProperURL
public static String escapeSpecialCharactersToProperURL(String path)
This method will parse the path as a resource path and then escapes all special characters in order to get a clean URL. For instance spaces will be escaped to %20.- Parameters:
path- The path to escape- Returns:
- an escaped path
-
-