Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class NullRequestCache
- Object
- NullRequestCache
ImplementsRequestCache
Remembers nothing.
Constructors
public NullRequestCache() |
Methods
public void saveRequest(HttpServer.Request request) | Remembers request’s address, when it is one worth returning to. |
public String getRequest(HttpServer.Request request) | The remembered address – a path, with its query – or null. |
public void removeRequest(HttpServer.Request request) | Forgets it. |
Inherited methods
Constructor details
NullRequestCache
public NullRequestCache()Method details
saveRequest
public void saveRequest(HttpServer.Request request)Remembers
request’s address, when it is one worth returning to.getRequest
public String getRequest(HttpServer.Request request)The remembered address – a path, with its query – or null.
removeRequest
public void removeRequest(HttpServer.Request request)Forgets it.