Skip navigation links
A B C D E F G H I J L N O P R S T U V W 

A

Action - Interface in com.agapsys.rcf
Represents an action to be processed by application
ActionDispatcher - Class in com.agapsys.rcf
Action dispatcher.
ActionDispatcher() - Constructor for class com.agapsys.rcf.ActionDispatcher
 
ActionServlet<HE extends HttpExchange> - Class in com.agapsys.rcf
 
ActionServlet() - Constructor for class com.agapsys.rcf.ActionServlet
 
addCookie(String, String, int, String) - Method in class com.agapsys.rcf.HttpResponse
Adds a cookie.
addCookie(String, String, int) - Method in class com.agapsys.rcf.HttpResponse
Adds a cookie for request context path.
afterAction(HE) - Method in class com.agapsys.rcf.ActionServlet
Called after an action.

B

BadRequestException - Exception in com.agapsys.rcf.exceptions
Exception thrown when a request does does not contain expected data.
BadRequestException() - Constructor for exception com.agapsys.rcf.exceptions.BadRequestException
 
BadRequestException(Integer) - Constructor for exception com.agapsys.rcf.exceptions.BadRequestException
 
BadRequestException(String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.BadRequestException
 
BadRequestException(Integer, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.BadRequestException
 
beforeAction(HE) - Method in class com.agapsys.rcf.ActionServlet
Called before an action.

C

CheckedException - Exception in com.agapsys.rcf.exceptions
 
CheckedException() - Constructor for exception com.agapsys.rcf.exceptions.CheckedException
 
CheckedException(String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.CheckedException
 
CheckedException(Throwable) - Constructor for exception com.agapsys.rcf.exceptions.CheckedException
 
CheckedException(Throwable, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.CheckedException
 
clearActions() - Method in class com.agapsys.rcf.ActionDispatcher
Removes all registered actions.
ClientException - Exception in com.agapsys.rcf.exceptions
 
ClientException(int) - Constructor for exception com.agapsys.rcf.exceptions.ClientException
 
ClientException(int, Integer) - Constructor for exception com.agapsys.rcf.exceptions.ClientException
 
ClientException(int, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.ClientException
 
ClientException(int, Integer, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.ClientException
 
CODE - Static variable in exception com.agapsys.rcf.exceptions.BadRequestException
 
CODE - Static variable in exception com.agapsys.rcf.exceptions.ForbiddenException
 
CODE - Static variable in exception com.agapsys.rcf.exceptions.NotFoundException
 
CODE - Static variable in exception com.agapsys.rcf.exceptions.RateLimitingException
 
CODE - Static variable in exception com.agapsys.rcf.exceptions.UnauthorizedException
 
com.agapsys.rcf - package com.agapsys.rcf
 
com.agapsys.rcf.exceptions - package com.agapsys.rcf.exceptions
 
contextDestroyed(ServletContextEvent) - Method in class com.agapsys.rcf.ControllerRegistrationListener
 
contextInitialized(ServletContextEvent) - Method in class com.agapsys.rcf.ControllerRegistrationListener
 
Controller<HE extends HttpExchange> - Class in com.agapsys.rcf
Servlet responsible by mapping methods to actions
Controller() - Constructor for class com.agapsys.rcf.Controller
 
ControllerRegistrationListener - Class in com.agapsys.rcf
Controller registration listener.
ControllerRegistrationListener() - Constructor for class com.agapsys.rcf.ControllerRegistrationListener
 

D

DEFAULT_BUFFER_SIZE - Static variable in class com.agapsys.rcf.ProxyServlet
 
DEFAULT_SERIALIZER - Static variable in class com.agapsys.rcf.HttpExchange
 
Dto - Interface in com.agapsys.rcf
Defines a Data Transfer Object

E

EMBEDDED_INFO_FILE - Static variable in class com.agapsys.rcf.ControllerRegistrationListener
 

F

ForbiddenException - Exception in com.agapsys.rcf.exceptions
 
ForbiddenException() - Constructor for exception com.agapsys.rcf.exceptions.ForbiddenException
 
ForbiddenException(Integer) - Constructor for exception com.agapsys.rcf.exceptions.ForbiddenException
 
ForbiddenException(String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.ForbiddenException
 
ForbiddenException(Integer, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.ForbiddenException
 

G

getAction(HttpServletRequest) - Method in class com.agapsys.rcf.ActionDispatcher
Return the action associated with given request
getAppStatus() - Method in exception com.agapsys.rcf.exceptions.ClientException
 
getBufferSize() - Method in class com.agapsys.rcf.ProxyServlet
Returns the size of internal buffer (in bytes) used to fetch data
getCharset() - Method in class com.agapsys.rcf.HttpObjectSerializer
Returns the charset used by this serializer.
getCharset() - Method in class com.agapsys.rcf.JsonHttpSerializer
 
getContentType() - Method in class com.agapsys.rcf.HttpObjectSerializer
Returns the content-type used by this serializer.
getContentType() - Method in class com.agapsys.rcf.JsonHttpSerializer
 
getCookieValue(String) - Method in class com.agapsys.rcf.HttpRequest
Return cookie value.
getCoreRequest() - Method in class com.agapsys.rcf.HttpExchange
 
getCoreRequest() - Method in class com.agapsys.rcf.HttpRequest
 
getCoreResponse() - Method in class com.agapsys.rcf.HttpExchange
 
getCoreResponse() - Method in class com.agapsys.rcf.HttpResponse
 
getCurrentUser() - Method in class com.agapsys.rcf.HttpExchange
Returns the user associated with this HTTP exchange.
getCustomHttpObjectSerializer() - Method in class com.agapsys.rcf.HttpExchange
Returns a customized serializer used by this exchange.
getCustomRequest(HttpServletRequest) - Method in class com.agapsys.rcf.HttpExchange
Returns a customized instance of request.
getCustomResponse(HttpServletResponse) - Method in class com.agapsys.rcf.HttpExchange
Returns a customized instance of response.
getDefaultMapping(Class<? extends Controller>) - Static method in class com.agapsys.rcf.ControllerRegistrationListener
 
getDto() - Method in interface com.agapsys.rcf.Dto
Returns a transfer object associated with this instance.
getExchange() - Method in class com.agapsys.rcf.HttpRequest
 
getExchange() - Method in class com.agapsys.rcf.HttpResponse
 
getForwardUri(String) - Method in class com.agapsys.rcf.ProxyServlet
Returns the forwarding URI related to given path
getGson() - Method in class com.agapsys.rcf.GsonHttpSerializer
 
getHttpExchange(HttpServletRequest, HttpServletResponse) - Method in class com.agapsys.rcf.ActionServlet
Returns the HTTP exchange used by this servlet.
getHttpObjectSerializer() - Method in class com.agapsys.rcf.HttpExchange
Returns the default serializer used by this exchange.
getHttpStatus() - Method in exception com.agapsys.rcf.exceptions.ClientException
 
getInstance() - Method in class com.agapsys.rcf.LazyInitializer
Return an instance associated with this initializer.
getJsonList(InputStream, String, Class<T>) - Method in class com.agapsys.rcf.GsonHttpSerializer
 
getJsonList(InputStream, String, Class<T>) - Method in class com.agapsys.rcf.JsonHttpSerializer
 
getJsonList(HttpServletRequest, Class<T>) - Method in class com.agapsys.rcf.JsonHttpSerializer
Returns a list of objects from given request.
getLazyInstance() - Method in class com.agapsys.rcf.LazyInitializer
Returns the object associated with this initializer.
getMandatoryParameter(String) - Method in class com.agapsys.rcf.HttpRequest
Returns a mandatory parameter contained in the request.
getMandatoryParameter(String, String, Object...) - Method in class com.agapsys.rcf.HttpRequest
Returns a mandatory parameter contained in the request.
getOptionalParameter(String, String) - Method in class com.agapsys.rcf.HttpRequest
Returns an optional parameter contained in the request.
getOriginIp() - Method in class com.agapsys.rcf.HttpRequest
Return origin IP.
getRequest() - Method in class com.agapsys.rcf.HttpExchange
Returns the request associated with this exchange.
getResponse() - Method in class com.agapsys.rcf.HttpExchange
Returns the response associated with this exchange.
getRoles() - Method in interface com.agapsys.rcf.User
 
getUri() - Method in class com.agapsys.rcf.HttpRequest
Return request URI.
getUserAgent() - Method in class com.agapsys.rcf.HttpRequest
Return origin user-agent.
GsonHttpSerializer - Class in com.agapsys.rcf
 
GsonHttpSerializer() - Constructor for class com.agapsys.rcf.GsonHttpSerializer
 

H

HttpExchange - Class in com.agapsys.rcf
Default HttpExchange implementation.
HttpExchange(HttpServletRequest, HttpServletResponse) - Constructor for class com.agapsys.rcf.HttpExchange
 
HttpMethod - Enum in com.agapsys.rcf
Represents a HTTP method.
HttpObjectSerializer - Class in com.agapsys.rcf
Serializer/Deserializer of objects in HTTP communication
HttpObjectSerializer() - Constructor for class com.agapsys.rcf.HttpObjectSerializer
 
HttpObjectSerializer.SerializerException - Exception in com.agapsys.rcf
 
HttpRequest - Class in com.agapsys.rcf
 
HttpRequest(HttpExchange, HttpServletRequest) - Constructor for class com.agapsys.rcf.HttpRequest
 
HttpResponse - Class in com.agapsys.rcf
 
HttpResponse(HttpExchange, HttpServletResponse) - Constructor for class com.agapsys.rcf.HttpResponse
 

I

initialize() - Method in class com.agapsys.rcf.LazyInitializer
Starts the initializer.
InvalidDataException - Exception in com.agapsys.rcf.exceptions
 
InvalidDataException() - Constructor for exception com.agapsys.rcf.exceptions.InvalidDataException
 
InvalidDataException(Integer) - Constructor for exception com.agapsys.rcf.exceptions.InvalidDataException
 
InvalidDataException(String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.InvalidDataException
 
InvalidDataException(Integer, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.InvalidDataException
 
isInitialized() - Method in class com.agapsys.rcf.LazyInitializer
Returns a boolean indicating if instance was initialized.

J

JsonHttpSerializer - Class in com.agapsys.rcf
 
JsonHttpSerializer() - Constructor for class com.agapsys.rcf.JsonHttpSerializer
 

L

LazyInitializer<T> - Class in com.agapsys.rcf
Utility class to lazy-initialize objects in a multi-thread environment
LazyInitializer() - Constructor for class com.agapsys.rcf.LazyInitializer
 

N

NotFoundException - Exception in com.agapsys.rcf.exceptions
 
NotFoundException() - Constructor for exception com.agapsys.rcf.exceptions.NotFoundException
 
NotFoundException(Integer) - Constructor for exception com.agapsys.rcf.exceptions.NotFoundException
 
NotFoundException(String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.NotFoundException
 
NotFoundException(Integer, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.NotFoundException
 

O

onClientError(HE, ClientException) - Method in class com.agapsys.rcf.ActionServlet
Called upon a error thrown due to client request.
onControllerError(HE, Throwable) - Method in class com.agapsys.rcf.Controller
Called upon controller uncaught error.
onControllerInit() - Method in class com.agapsys.rcf.Controller
Called during controller initialization.
onInit() - Method in class com.agapsys.rcf.ActionServlet
Called during servlet initialization.
onInit() - Method in class com.agapsys.rcf.Controller
Registers action methods.
onInitialize() - Method in class com.agapsys.rcf.LazyInitializer
Called during initialization.
onNotFound(HE) - Method in class com.agapsys.rcf.ActionServlet
Called upon endpoint not found.
onUncaughtError(HE, Throwable) - Method in class com.agapsys.rcf.ActionServlet
Called when an uncaught error happens while processing an action.
onUncaughtError(HE, Throwable) - Method in class com.agapsys.rcf.Controller
 

P

processRequest(HttpExchange) - Method in interface com.agapsys.rcf.Action
Processes the action.
ProxyServlet - Class in com.agapsys.rcf
 
ProxyServlet() - Constructor for class com.agapsys.rcf.ProxyServlet
 

R

RateLimitingException - Exception in com.agapsys.rcf.exceptions
 
RateLimitingException() - Constructor for exception com.agapsys.rcf.exceptions.RateLimitingException
 
RateLimitingException(Integer) - Constructor for exception com.agapsys.rcf.exceptions.RateLimitingException
 
RateLimitingException(String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.RateLimitingException
 
RateLimitingException(Integer, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.RateLimitingException
 
readObject(InputStream, String, Class<T>) - Method in class com.agapsys.rcf.GsonHttpSerializer
 
readObject(HttpServletRequest, Class<T>) - Method in class com.agapsys.rcf.HttpObjectSerializer
Return an object sent from client (contained in the request).
readObject(InputStream, String, Class<T>) - Method in class com.agapsys.rcf.HttpObjectSerializer
 
readObject(HttpObjectSerializer, Class<T>) - Method in class com.agapsys.rcf.HttpRequest
Reads an objected contained in the request.
readObject(Class<T>) - Method in class com.agapsys.rcf.HttpRequest
Reads an objected send with the request using exchange default serializer.
registerAction(Action, HttpMethod, String) - Method in class com.agapsys.rcf.ActionDispatcher
Registers an action with given URL
registerAction(HttpMethod, String, Action) - Method in class com.agapsys.rcf.ActionServlet
Register an action
removeCookie(String, String) - Method in class com.agapsys.rcf.HttpResponse
Removes a cookie.
removeCookie(String) - Method in class com.agapsys.rcf.HttpResponse
Removes a cookie for request context path.
ROOT_PATH - Static variable in class com.agapsys.rcf.ActionDispatcher
 

S

SerializerException() - Constructor for exception com.agapsys.rcf.HttpObjectSerializer.SerializerException
 
SerializerException(String, Object...) - Constructor for exception com.agapsys.rcf.HttpObjectSerializer.SerializerException
 
SerializerException(Throwable) - Constructor for exception com.agapsys.rcf.HttpObjectSerializer.SerializerException
 
SerializerException(Throwable, String, Object...) - Constructor for exception com.agapsys.rcf.HttpObjectSerializer.SerializerException
 
service(HttpServletRequest, HttpServletResponse) - Method in class com.agapsys.rcf.ActionServlet
 
service(HttpServletRequest, HttpServletResponse) - Method in class com.agapsys.rcf.ProxyServlet
 
SESSION_ATTR_USER - Static variable in class com.agapsys.rcf.HttpExchange
 
setCurrentUser(User) - Method in class com.agapsys.rcf.HttpExchange
Sets the user associated with this HTTP exchange.

T

toJson(Object) - Method in class com.agapsys.rcf.JsonHttpSerializer
 
toString(Object) - Method in class com.agapsys.rcf.GsonHttpSerializer
 
toString() - Method in class com.agapsys.rcf.HttpExchange
 
toString(Object) - Method in class com.agapsys.rcf.HttpObjectSerializer
Returns the string representation of an object.

U

UnauthorizedException - Exception in com.agapsys.rcf.exceptions
 
UnauthorizedException() - Constructor for exception com.agapsys.rcf.exceptions.UnauthorizedException
 
UnauthorizedException(Integer) - Constructor for exception com.agapsys.rcf.exceptions.UnauthorizedException
 
UnauthorizedException(String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.UnauthorizedException
 
UnauthorizedException(Integer, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.UnauthorizedException
 
UncheckedException - Exception in com.agapsys.rcf.exceptions
 
UncheckedException() - Constructor for exception com.agapsys.rcf.exceptions.UncheckedException
 
UncheckedException(String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.UncheckedException
 
UncheckedException(Throwable) - Constructor for exception com.agapsys.rcf.exceptions.UncheckedException
 
UncheckedException(Throwable, String, Object...) - Constructor for exception com.agapsys.rcf.exceptions.UncheckedException
 
User - Interface in com.agapsys.rcf
Represents an user accessing the application.

V

valueOf(String) - Static method in enum com.agapsys.rcf.HttpMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.agapsys.rcf.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebAction - Annotation Type in com.agapsys.rcf
Web action annotation.
WebActions - Annotation Type in com.agapsys.rcf
Web action annotation group.
WebController - Annotation Type in com.agapsys.rcf
 
writeObject(HttpServletResponse, Object) - Method in class com.agapsys.rcf.HttpObjectSerializer
Sends given object to the client (contained in the response).
writeObject(HttpObjectSerializer, Object) - Method in class com.agapsys.rcf.HttpResponse
Writes an object into response
writeObject(Object) - Method in class com.agapsys.rcf.HttpResponse
Writes an object into response using exchange default serializer.
A B C D E F G H I J L N O P R S T U V W 
Skip navigation links

Copyright © 2016 Agapsys Tecnologia Ltda-ME. All rights reserved.