Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
F
G
H
I
J
O
P
Q
R
S
T
U
V
C
clearRegistry()
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Removes all JSON-RPC objects from the registry.
D
delete(Integer)
- Method in interface org.stefaniuk.json.service.store.
Store
F
fromJson(String, Class<T>)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
Creates Java POJO object from JSON string.
fromJson(FileReader, Class<T>)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
Creates Java POJO object from JSON string.
G
getAttribute()
- Method in class org.stefaniuk.json.service.store.
QueryStore.SortColumn
getCode()
- Method in enum org.stefaniuk.json.service.
JsonServiceError
Returns error code.
getCode()
- Method in exception org.stefaniuk.json.service.
JsonServiceException
Returns error code.
getContentType()
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Gets content type.
getCount()
- Method in class org.stefaniuk.json.service.store.
QueryStore
getDescending()
- Method in class org.stefaniuk.json.service.store.
QueryStore.SortColumn
getEnvelope()
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Gets envelope.
getError()
- Method in exception org.stefaniuk.json.service.
JsonServiceException
Returns error object.
getInstance()
- Static method in class org.stefaniuk.json.service.
JsonServiceRegistry
Singleton pattern provided out of the box.
getIsRender()
- Method in class org.stefaniuk.json.service.store.
QueryStore
getMessage()
- Method in enum org.stefaniuk.json.service.
JsonServiceError
Returns error message.
getName(Class<?>)
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.DataType
getQuery()
- Method in class org.stefaniuk.json.service.store.
QueryStore
getQueryOptions()
- Method in class org.stefaniuk.json.service.store.
QueryStore
getResponseEntityForMethodCall(BufferedOutputStream)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
This method sets HTTP response headers adequate for JSON-RPC method call and returns ResponseEntity to be used by Spring Framework.
getResponseEntityForMethodCall(BufferedOutputStream, HttpStatus)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
This method sets HTTP response headers adequate for JSON-RPC method call and returns ResponseEntity to be used by Spring Framework.
getResponseEntityForServiceMap(BufferedOutputStream)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
This method sets HTTP response headers adequate for Service Mapping Description and returns ResponseEntity to be used by Spring Framework.
getServiceMap()
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Returns Service Mapping Description as JSON object.
getServiceMap(Class<?>, OutputStream)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Produces Service Mapping Description for a given JSON-RPC class.
getServiceMap(Class<?>, HttpServletResponse)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Produces Service Mapping Description for a given JSON-RPC class.
getSort()
- Method in class org.stefaniuk.json.service.store.
QueryStore
getStart()
- Method in class org.stefaniuk.json.service.store.
QueryStore
getTransport()
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Gets transport.
getVersion()
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Gets version.
H
handle(InputStream, OutputStream, Class<?>)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Handles request as an input stream.
handle(InputStream, OutputStream, Class<?>, String, Object...)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Handles request as an input stream.
handle(HttpServletRequest, HttpServletResponse, Class<?>)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Handles HTTP request.
handle(HttpServletRequest, HttpServletResponse, Object)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Handles HTTP request.
handle(HttpServletRequest, OutputStream, Class<?>)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Handles HTTP request.
handle(HttpServletRequest, OutputStream, Class<?>, String, Object...)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Handles HTTP request.
handle(JsonServiceRegistry, HttpServletRequest, HttpServletResponse, Class<?>)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
Handles HTTP request.
handle(JsonServiceRegistry, HttpServletRequest, HttpServletResponse, Object)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
Handles HTTP request.
I
insert(M)
- Method in interface org.stefaniuk.json.service.store.
Store
isSingleton()
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Is this object a singleton?
J
JsonService
- Annotation Type in
org.stefaniuk.json.service
JSON service annotation.
JsonServiceError
- Enum in
org.stefaniuk.json.service
JSON service error.
JsonServiceException
- Exception in
org.stefaniuk.json.service
JSON service exception.
JsonServiceException(JsonServiceError)
- Constructor for exception org.stefaniuk.json.service.
JsonServiceException
Constructor
JsonServiceInvoker
- Class in
org.stefaniuk.json.service
JSON service invoker.
JsonServiceInvoker(Class<?>)
- Constructor for class org.stefaniuk.json.service.
JsonServiceInvoker
Constructor
JsonServiceInvoker(Object)
- Constructor for class org.stefaniuk.json.service.
JsonServiceInvoker
Constructor
JsonServiceInvoker.ContentType
- Enum in
org.stefaniuk.json.service
JSON-RPC response content type.
JsonServiceInvoker.DataType
- Enum in
org.stefaniuk.json.service
JSON-RPC supported data types.
JsonServiceInvoker.Envelope
- Enum in
org.stefaniuk.json.service
JSON-RPC envelope type.
JsonServiceInvoker.Transport
- Enum in
org.stefaniuk.json.service
JSON-RPC transport type.
JsonServiceInvoker.Version
- Enum in
org.stefaniuk.json.service
SMD version.
JsonServiceRegistry
- Class in
org.stefaniuk.json.service
JSON service registry.
JsonServiceRegistry()
- Constructor for class org.stefaniuk.json.service.
JsonServiceRegistry
Constructor
JsonServiceUtil
- Class in
org.stefaniuk.json.service
JSON service utility methods.
JsonServiceUtil()
- Constructor for class org.stefaniuk.json.service.
JsonServiceUtil
O
org.stefaniuk.json.service
- package org.stefaniuk.json.service
Provides implementation of JSON-RPC protocol as described in
JSON-RPC 2.0 Specification
.
org.stefaniuk.json.service.store
- package org.stefaniuk.json.service.store
P
process(HttpServletRequest, ObjectNode)
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Processes JSON-RPC request.
process(HttpServletRequest, String, Object...)
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Processes request.
Q
QueryStore
- Class in
org.stefaniuk.json.service.store
Dojo Toolkit query class.
QueryStore()
- Constructor for class org.stefaniuk.json.service.store.
QueryStore
QueryStore(LinkedHashMap<String, Object>, LinkedHashMap<String, Object>, Integer, Integer, List<QueryStore.SortColumn>, boolean)
- Constructor for class org.stefaniuk.json.service.store.
QueryStore
QueryStore.SortColumn
- Class in
org.stefaniuk.json.service.store
QueryStore.SortColumn()
- Constructor for class org.stefaniuk.json.service.store.
QueryStore.SortColumn
QueryStore.SortColumn(String, boolean)
- Constructor for class org.stefaniuk.json.service.store.
QueryStore.SortColumn
R
register(Class<?>)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Registers a class to make it available to a JSON-RPC client.
register(Object)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Registers class by passing its instance to make it available to a JSON-RPC client.
S
select(QueryStore)
- Method in interface org.stefaniuk.json.service.store.
Store
setAttribute(String)
- Method in class org.stefaniuk.json.service.store.
QueryStore.SortColumn
setContentType(JsonServiceInvoker.ContentType)
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Sets content type.
setCount(Integer)
- Method in class org.stefaniuk.json.service.store.
QueryStore
setDescending(boolean)
- Method in class org.stefaniuk.json.service.store.
QueryStore.SortColumn
setEnvelope(JsonServiceInvoker.Envelope)
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Sets envelope.
setHeadersForMethodCall(BufferedOutputStream, HttpServletResponse)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
This method sets HTTP response headers adequate for JSON-RPC method call.
setHeadersForMethodCall(BufferedOutputStream, HttpServletResponse, int)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
This method sets HTTP response headers adequate for JSON-RPC method call.
setHeadersForServiceMap(BufferedOutputStream, HttpServletResponse)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
This method sets HTTP response headers adequate for Service Mapping Description.
setIsRender(boolean)
- Method in class org.stefaniuk.json.service.store.
QueryStore
setMessage(String)
- Method in enum org.stefaniuk.json.service.
JsonServiceError
Sets error message.
setQuery(LinkedHashMap<String, Object>)
- Method in class org.stefaniuk.json.service.store.
QueryStore
setQueryOptions(LinkedHashMap<String, Object>)
- Method in class org.stefaniuk.json.service.store.
QueryStore
setRegistry(Class<?>[])
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Registers an array of classes to make them available to a JSON-RPC client.
setSort(List<QueryStore.SortColumn>)
- Method in class org.stefaniuk.json.service.store.
QueryStore
setStart(Integer)
- Method in class org.stefaniuk.json.service.store.
QueryStore
setTransport(JsonServiceInvoker.Transport)
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Sets transport.
setVersion(JsonServiceInvoker.Version)
- Method in class org.stefaniuk.json.service.
JsonServiceInvoker
Sets version.
Store
<
M
> - Interface in
org.stefaniuk.json.service.store
Dojo Toolkit store service.
T
toJson(Object, boolean)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
Serialises Java POJO object to JSON string.
toJson(Object, FileWriter, boolean)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
Serialises Java POJO object to JSON string.
toJson(List<?>)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
Converts a list to JSON array.
toJson(Map<?, ?>)
- Static method in class org.stefaniuk.json.service.
JsonServiceUtil
Converts a map to JSON object.
toString()
- Method in enum org.stefaniuk.json.service.
JsonServiceInvoker.ContentType
toString()
- Method in enum org.stefaniuk.json.service.
JsonServiceInvoker.DataType
toString()
- Method in enum org.stefaniuk.json.service.
JsonServiceInvoker.Envelope
toString()
- Method in enum org.stefaniuk.json.service.
JsonServiceInvoker.Transport
toString()
- Method in enum org.stefaniuk.json.service.
JsonServiceInvoker.Version
U
unregister(Class<?>)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Unregisters class.
unregister(Object)
- Method in class org.stefaniuk.json.service.
JsonServiceRegistry
Unregisters class by passing its instance.
update(Integer, M)
- Method in interface org.stefaniuk.json.service.store.
Store
V
valueOf(String)
- Static method in enum org.stefaniuk.json.service.
JsonServiceError
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.ContentType
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.DataType
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.Envelope
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.Transport
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.Version
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.stefaniuk.json.service.
JsonServiceError
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.ContentType
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.DataType
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.Envelope
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.Transport
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.stefaniuk.json.service.
JsonServiceInvoker.Version
Returns an array containing the constants of this enum type, in the order they are declared.
C
D
F
G
H
I
J
O
P
Q
R
S
T
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2013. All Rights Reserved.