JavaScript is disabled on your browser.
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
allow()
- Method in
ControllerMethod
asType(java.lang.Class)
- Method in
Envelope
B
C
callController(java.lang.Object, javax.servlet.http.HttpServletRequest, java.lang.String)
- Method in
ConfigurationProvider
Read the JSON request (susceptible to Exceptions that are allowed to be thrown from here), and then call the appropriate Controller method.
ConfigurationProvider
- Class in
com.cedarsoftware.servlet
Implement controller provider.
ConfigurationProvider.CmdReader
- Class in
com.cedarsoftware.servlet
Extend JsonReader to gain access to the convertParsedMapsToJava() API.
ConfigurationProvider.CmdReader()
- Constructor in
ConfigurationProvider.CmdReader
ConfigurationProvider(javax.servlet.ServletConfig)
- Constructor in
ConfigurationProvider
ControllerMethod
- Annotation Type in
com.cedarsoftware.servlet
Authors:
John DeRegnaucourt (jdereg@gmail.com)
Copyright (c) Cedar Software LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
convertArgs(java.lang.reflect.Method, java.lang.Object)
- Method in
ConfigurationProvider
Convert the passed in arguments to match the arguments of the passed in method.
convertParsedMapsToJava(com.cedarsoftware.util.io.JsonObject)
- Method in
ConfigurationProvider.CmdReader
D
data
- Property in
Envelope
doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
- Method in
JsonCommandServlet
Handle JSON GET style request.
doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
- Method in
JsonCommandServlet
Process JSON POST style where the controller, method, and arguments are passed in as the POST data.
E
Envelope
- Class in
com.cedarsoftware.servlet
Authors:
John DeRegnaucourt (jdereg@gmail.com)
Copyright (c) Cedar Software LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Envelope(java.lang.Object, boolean, java.lang.Throwable)
- Constructor in
Envelope
exception
- Property in
Envelope
F
G
getArguments(java.lang.String, java.lang.String, java.lang.String)
- Method in
ConfigurationProvider
Build the argument list from the passed in json
getController(java.lang.String)
- Method in
ConfigurationProvider
Fetch the controller with the given name.
getDeepestException(java.lang.Throwable)
- Method in
JsonCommandServlet
Get the deepest (original cause) of the exception chain.
getMethod(java.lang.Class, java.lang.String, int)
- Method in
ConfigurationProvider
Reflectively find the requested method on the requested class.
getServletConfig()
- Method in
ConfigurationProvider
getUrlMatcher(javax.servlet.http.HttpServletRequest)
- Method in
ConfigurationProvider
Get a regex Matcher that matches the URL String for /context/cmd/controller/method
H
I
init()
- Method in
JsonCommandServlet
J
JsonCommandServlet
- Class in
com.cedarsoftware.servlet
JsonCommandServlet()
- Constructor in
JsonCommandServlet
K
L
M
N
O
objectToMap(java.lang.Object)
- Method in
ConfigurationProvider
Convert an Object to a Map.
P
Q
R
route(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
- Method in
JsonCommandServlet
If using UrlRewrite from tuckey.org, then route HTTP Json commands via this 'route' method and list it in the urlrewrite.xml.
S
servletRequest
- Field in
JsonCommandServlet
servletResponse
- Field in
JsonCommandServlet
status
- Property in
Envelope
T
U
V
W
X
Y
Z
_
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
Groovy Documentation