Class RequestCache
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.RequestCache
-
public class RequestCache extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequestCache.Key
-
Constructor Summary
Constructors Constructor Description RequestCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voiddisable()<T> Tget(RequestCache.Key key)<T> Tget(RequestCache.Key key, java.util.function.Supplier<T> supplier)static RequestCachegetCurrent()static voidonRequestEnd()voidput(RequestCache.Key key, java.lang.Object value)
-
-
-
Method Detail
-
getCurrent
public static RequestCache getCurrent()
-
onRequestEnd
public static void onRequestEnd()
-
disable
public static void disable()
-
put
public void put(RequestCache.Key key, java.lang.Object value)
-
get
public <T> T get(RequestCache.Key key)
-
get
public <T> T get(RequestCache.Key key, java.util.function.Supplier<T> supplier)
-
-