JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
J
M
N
O
P
R
S
T
V
X
_
A
addParametersToActionMethods(MutableClassDeclaration, TransformationContext)
- Method in class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
APPLICATION_JSON
- Static variable in class org.uqbar.xtrest.http.
ContentType
B
badRequest()
- Static method in class org.uqbar.xtrest.result.
ResultFactory
badRequest(String)
- Static method in class org.uqbar.xtrest.result.
ResultFactory
Body
- Annotation Type in
org.uqbar.xtrest.api.annotation
body(String)
- Static method in class org.uqbar.xtrest.result.
ResultFactory
C
CONTENT_TYPE
- Static variable in class org.uqbar.xtrest.http.
Header
ContentType
- Class in
org.uqbar.xtrest.http
Holds all the known mime types (content type header)
ContentType()
- Constructor for class org.uqbar.xtrest.http.
ContentType
Controller
- Annotation Type in
org.uqbar.xtrest.api.annotation
Marks a given class as being an HTTP controller.
ControllerAnnotationProcessor
- Class in
org.uqbar.xtrest.api
The annotation processor for @link Controller.
ControllerAnnotationProcessor()
- Constructor for class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
createHandlerMethod(MutableClassDeclaration, TransformationContext)
- Method in class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
createRegexp(String)
- Method in class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
D
Delete
- Annotation Type in
org.uqbar.xtrest.api.annotation
doTransform(List<? extends MutableClassDeclaration>, TransformationContext)
- Method in class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
E
equals(Object)
- Method in class org.uqbar.xtrest.controller.
HttpAnnotation
F
forbidden()
- Static method in class org.uqbar.xtrest.result.
ResultFactory
forbidden(String)
- Static method in class org.uqbar.xtrest.result.
ResultFactory
fromJson(String, Class<T>)
- Method in class org.uqbar.xtrest.json.
JSONUtils
G
Get
- Annotation Type in
org.uqbar.xtrest.api.annotation
getHttpParameters(MutableMethodDeclaration)
- Method in class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
getMessage(String)
- Static method in class org.uqbar.xtrest.i18n.
Messages
getProperties(String)
- Method in class org.uqbar.xtrest.json.
JSONUtils
getPropertyAsDate(String, String)
- Method in class org.uqbar.xtrest.json.
JSONUtils
getPropertyAsDate(String, String, String)
- Method in class org.uqbar.xtrest.json.
JSONUtils
getPropertyAsDecimal(String, String)
- Method in class org.uqbar.xtrest.json.
JSONUtils
getPropertyAsInteger(String, String)
- Method in class org.uqbar.xtrest.json.
JSONUtils
getPropertyValue(String, String)
- Method in class org.uqbar.xtrest.json.
JSONUtils
getResourcePath()
- Static method in class org.uqbar.xtrest.api.
XTRest
getValue()
- Method in class org.uqbar.xtrest.controller.
HttpAnnotation
getValue(Annotation)
- Static method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
getVerb()
- Method in class org.uqbar.xtrest.controller.
HttpAnnotation
H
handle(String, Request, HttpServletRequest, HttpServletResponse)
- Method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
hashCode()
- Method in class org.uqbar.xtrest.controller.
HttpAnnotation
Header
- Class in
org.uqbar.xtrest.http
Contains all known Http headers.
Header()
- Constructor for class org.uqbar.xtrest.http.
Header
header(String, String)
- Static method in class org.uqbar.xtrest.result.
ResultFactory
httpAnnotation(MutableMethodDeclaration, TransformationContext)
- Method in class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
HttpAnnotation
- Class in
org.uqbar.xtrest.controller
HttpAnnotation(String, String)
- Constructor for class org.uqbar.xtrest.controller.
HttpAnnotation
httpMethods(MutableClassDeclaration, TransformationContext)
- Method in class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
httpMethods()
- Method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
httpRest(Method)
- Method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
httpRestAnnotation(Method)
- Method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
I
internalServerError()
- Static method in class org.uqbar.xtrest.result.
ResultFactory
internalServerError(String)
- Static method in class org.uqbar.xtrest.result.
ResultFactory
isBodyParameter(MutableParameterDeclaration, TransformationContext)
- Method in class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
J
JSONUtils
- Class in
org.uqbar.xtrest.json
Provides JSON utility methods as facade to json libraries.
JSONUtils()
- Constructor for class org.uqbar.xtrest.json.
JSONUtils
M
Messages
- Class in
org.uqbar.xtrest.i18n
N
notFound()
- Static method in class org.uqbar.xtrest.result.
ResultFactory
notFound(String)
- Static method in class org.uqbar.xtrest.result.
ResultFactory
O
ok()
- Static method in class org.uqbar.xtrest.result.
ResultFactory
ok(String)
- Static method in class org.uqbar.xtrest.result.
ResultFactory
operator_doubleGreaterThan(Result, Result)
- Static method in class org.uqbar.xtrest.result.
ResultCombinators
org.uqbar.xtrest.api
- package org.uqbar.xtrest.api
org.uqbar.xtrest.api.annotation
- package org.uqbar.xtrest.api.annotation
org.uqbar.xtrest.controller
- package org.uqbar.xtrest.controller
org.uqbar.xtrest.exceptions
- package org.uqbar.xtrest.exceptions
org.uqbar.xtrest.http
- package org.uqbar.xtrest.http
org.uqbar.xtrest.i18n
- package org.uqbar.xtrest.i18n
org.uqbar.xtrest.json
- package org.uqbar.xtrest.json
org.uqbar.xtrest.result
- package org.uqbar.xtrest.result
P
Post
- Annotation Type in
org.uqbar.xtrest.api.annotation
process(HttpServletResponse)
- Method in interface org.uqbar.xtrest.api.
Result
Put
- Annotation Type in
org.uqbar.xtrest.api.annotation
R
readBodyAsString(HttpServletRequest)
- Method in class org.uqbar.xtrest.result.
ResultFactory
render(String, Object)
- Static method in class org.uqbar.xtrest.result.
ResultFactory
Result
- Interface in
org.uqbar.xtrest.api
The result for an http request.
result(Procedures.Procedure1<? super HttpServletResponse>)
- Static method in class org.uqbar.xtrest.result.
ResultCombinators
Adapts a closure into the Result interface.
ResultCombinators
- Class in
org.uqbar.xtrest.result
Utilities to combine different Result objects.
ResultCombinators()
- Constructor for class org.uqbar.xtrest.result.
ResultCombinators
ResultFactory
- Class in
org.uqbar.xtrest.result
Utility methods for creating HTTP Result objects.
ResultFactory()
- Constructor for class org.uqbar.xtrest.result.
ResultFactory
S
SERVER_CONTROLLER_HAS_NO_DEFAULT_CONSTRUCTOR
- Static variable in class org.uqbar.xtrest.i18n.
Messages
SERVER_NO_CONTROLLER_DEFINED
- Static variable in class org.uqbar.xtrest.i18n.
Messages
SERVICE_NOT_FOUND_MAIN_TITLE
- Static variable in class org.uqbar.xtrest.i18n.
Messages
SERVICE_NOT_FOUND_SUPPORTED_RESOURCES
- Static variable in class org.uqbar.xtrest.i18n.
Messages
SERVICE_NOT_FOUND_TH_URL
- Static variable in class org.uqbar.xtrest.i18n.
Messages
SERVICE_NOT_FOUND_TH_VERB
- Static variable in class org.uqbar.xtrest.i18n.
Messages
ServiceNotFoundHandler
- Class in
org.uqbar.xtrest.controller
ServiceNotFoundHandler(List<Class>)
- Constructor for class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
setResourcePath(String)
- Static method in class org.uqbar.xtrest.api.
XTRest
start(int, Class<? extends Handler>...)
- Static method in class org.uqbar.xtrest.api.
XTRest
startInstance(int, Handler...)
- Static method in class org.uqbar.xtrest.api.
XTRest
T
TEXT_HTML
- Static variable in class org.uqbar.xtrest.http.
ContentType
TEXT_PLAIN
- Static variable in class org.uqbar.xtrest.http.
ContentType
toJson(Object)
- Method in class org.uqbar.xtrest.json.
JSONUtils
toString()
- Method in class org.uqbar.xtrest.controller.
HttpAnnotation
V
validateController(Class<? extends Handler>)
- Static method in class org.uqbar.xtrest.api.
XTRest
verbs
- Static variable in class org.uqbar.xtrest.api.
ControllerAnnotationProcessor
X
XTRest
- Class in
org.uqbar.xtrest.api
Main program class This starts an embedded jetty webserver that will be listening for requests and calling you controllers.
XTRest()
- Constructor for class org.uqbar.xtrest.api.
XTRest
XTRestException
- Exception in
org.uqbar.xtrest.exceptions
XTRestException(String)
- Constructor for exception org.uqbar.xtrest.exceptions.
XTRestException
XTRestException(String, Throwable)
- Constructor for exception org.uqbar.xtrest.exceptions.
XTRestException
_
_getValue(Annotation)
- Static method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
_getValue(Get)
- Static method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
_getValue(Put)
- Static method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
_getValue(Post)
- Static method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
_getValue(Delete)
- Static method in class org.uqbar.xtrest.controller.
ServiceNotFoundHandler
A
B
C
D
E
F
G
H
I
J
M
N
O
P
R
S
T
V
X
_
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2017
Uqbar Project
. All rights reserved.