A C E F G H I J L O R S V 
All Classes All Packages

A

AbstractRpcHandler - Class in com.networknt.rpc.router
Created by steve on 19/02/17.
AbstractRpcHandler() - Constructor for class com.networknt.rpc.router.AbstractRpcHandler
 

C

com.networknt.rpc - package com.networknt.rpc
 
com.networknt.rpc.router - package com.networknt.rpc.router
 

E

ERROR_NOT_DEFINED - Static variable in interface com.networknt.rpc.Handler
 

F

FormHandler - Class in com.networknt.rpc.router
 
FormHandler() - Constructor for class com.networknt.rpc.router.FormHandler
 

G

getDescription() - Method in class com.networknt.rpc.router.RpcRouterConfig
 
getFormPath() - Method in class com.networknt.rpc.router.RpcRouterConfig
 
getHandler() - Method in class com.networknt.rpc.router.RpcRouter
 
getHandlerPackage() - Method in class com.networknt.rpc.router.RpcRouterConfig
 
getJsonPath() - Method in class com.networknt.rpc.router.RpcRouterConfig
 
getResourcesBasePath() - Method in class com.networknt.rpc.router.RpcRouterConfig
 
getServiceId(Map<String, Object>) - Method in class com.networknt.rpc.router.AbstractRpcHandler
 
getStatus(HttpServerExchange, Status) - Method in interface com.networknt.rpc.Handler
There are situations that the downstream service returns an error status response and we just want to bubble up to the caller and eventually to the original caller.
getStatus(HttpServerExchange, String, Object...) - Method in interface com.networknt.rpc.Handler
Return a Status object so that the handler can get the HTTP response code to set exchange response.

H

handle(HttpServerExchange, Object) - Method in interface com.networknt.rpc.Handler
 
Handler - Interface in com.networknt.rpc
This is the interface that every business handler should extend from.
handleRequest(HttpServerExchange) - Method in class com.networknt.rpc.router.FormHandler
 
handleRequest(HttpServerExchange) - Method in class com.networknt.rpc.router.JsonHandler
 

I

id() - Method in annotation type com.networknt.rpc.router.ServiceHandler
 
isRegisterService() - Method in class com.networknt.rpc.router.RpcRouterConfig
 
isVerifyJwt(Object) - Method in class com.networknt.rpc.router.AbstractRpcHandler
 

J

JsonHandler - Class in com.networknt.rpc.router
This is the entry handler for json api, it will parse the JSON request body and construct service id and then calls the service handler to get the final response.
JsonHandler() - Constructor for class com.networknt.rpc.router.JsonHandler
 

L

logger - Static variable in interface com.networknt.rpc.Handler
 

O

onStartup() - Method in class com.networknt.rpc.router.RpcStartupHookProvider
 

R

REQUEST_SUCCESS - Static variable in interface com.networknt.rpc.Handler
 
RpcRouter - Class in com.networknt.rpc.router
Created by steve on 19/02/17.
RpcRouter() - Constructor for class com.networknt.rpc.router.RpcRouter
 
RpcRouterConfig - Class in com.networknt.rpc.router
Created by steve on 19/02/17.
RpcRouterConfig() - Constructor for class com.networknt.rpc.router.RpcRouterConfig
 
RpcStartupHookProvider - Class in com.networknt.rpc.router
Register all the service handlers by the annotation from jars in classpath.
RpcStartupHookProvider() - Constructor for class com.networknt.rpc.router.RpcStartupHookProvider
 

S

schema - Static variable in class com.networknt.rpc.router.AbstractRpcHandler
 
ServiceHandler - Annotation Type in com.networknt.rpc.router
Created by steve on 19/02/17.
setDescription(String) - Method in class com.networknt.rpc.router.RpcRouterConfig
 
setFormPath(String) - Method in class com.networknt.rpc.router.RpcRouterConfig
 
setHandlerPackage(String) - Method in class com.networknt.rpc.router.RpcRouterConfig
 
setJsonPath(String) - Method in class com.networknt.rpc.router.RpcRouterConfig
 
setRegisterService(boolean) - Method in class com.networknt.rpc.router.RpcRouterConfig
 
setResourcesBasePath(String) - Method in class com.networknt.rpc.router.RpcRouterConfig
 
STATUS_VALIDATION_ERROR - Static variable in interface com.networknt.rpc.Handler
 

V

validate(String, Object) - Method in interface com.networknt.rpc.Handler
 
A C E F G H I J L O R S V 
All Classes All Packages