Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class RequestAuthorizationContext
- Object
- RequestAuthorizationContext
What a request rule is asked about: the request, and the variables its
pattern bound.
Constructors
public RequestAuthorizationContext(HttpServer.Request request) | |
public RequestAuthorizationContext(HttpServer.Request request, Map<String, String> variables) |
Methods
public HttpServer.Request getRequest() | |
public Map<String, String> getVariables() | {name} of the matched pattern, by name. |
Inherited methods
Constructor details
RequestAuthorizationContext
public RequestAuthorizationContext(HttpServer.Request request)RequestAuthorizationContext
public RequestAuthorizationContext(HttpServer.Request request, Map<String, String> variables)Method details
getRequest
public HttpServer.Request getRequest()getVariables
public Map<String, String> getVariables(){name} of the matched pattern, by name.