Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class RequestCacheConfigurer
- Object
- SecurityConfigurer
- RequestCacheConfigurer
Whether a chain remembers where an anonymous request was going; see
RequestCache. A chain that sends such a request to a login page remembers
it in the session; one that only challenges – HTTP Basic – has nothing to
come back from and remembers nothing, unless a cache is set here.Methods
public RequestCacheConfigurer requestCache(RequestCache requestCache) | |
public RequestCache resolve(SessionCreationPolicy policy, boolean redirects) |
Inherited methods
Method details
requestCache
public RequestCacheConfigurer requestCache(RequestCache requestCache)resolve
public RequestCache resolve(SessionCreationPolicy policy, boolean redirects)Parameters
policySessionCreationPolicy- Not documented.
redirectsboolean- whether the chain answers a request that must sign in by sending it to a login page, which is when there is somewhere to come back from