Class NullRequestCache
java.lang.Object
com.codename1.backend.security.NullRequestCache
- All Implemented Interfaces:
RequestCache
Remembers nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRequest(HttpServer.Request request) The remembered address -- a path, with its query -- or null.voidremoveRequest(HttpServer.Request request) Forgets it.voidsaveRequest(HttpServer.Request request) Remembersrequest's address, when it is one worth returning to.
-
Constructor Details
-
NullRequestCache
public NullRequestCache()
-
-
Method Details
-
saveRequest
Description copied from interface:RequestCacheRemembersrequest's address, when it is one worth returning to.- Specified by:
saveRequestin interfaceRequestCache
-
getRequest
Description copied from interface:RequestCacheThe remembered address -- a path, with its query -- or null.- Specified by:
getRequestin interfaceRequestCache
-
removeRequest
Description copied from interface:RequestCacheForgets it.- Specified by:
removeRequestin interfaceRequestCache
-