Index

A E G H I R S T V 
All Classes and Interfaces|All Packages|Serialized Form

A

addHeader(String, String) - Method in class i5.las2peer.restMapper.RESTResponse
 

E

ExceptionEntity - Class in i5.las2peer.restMapper
 
ExceptionEntity(int, Throwable) - Constructor for class i5.las2peer.restMapper.ExceptionEntity
 

G

GenericExceptionMapper - Class in i5.las2peer.restMapper
 
GenericExceptionMapper() - Constructor for class i5.las2peer.restMapper.GenericExceptionMapper
 
getAlias() - Method in class i5.las2peer.restMapper.RESTService
Gets the alias from the service class' ServicePath annotation.
getApplication() - Method in class i5.las2peer.restMapper.RESTService
Returns the JAX-RS application.
getBody() - Method in class i5.las2peer.restMapper.RESTResponse
 
getCode() - Method in class i5.las2peer.restMapper.ResponseEntity
 
getHeaders() - Method in class i5.las2peer.restMapper.RESTResponse
 
getHttpCode() - Method in class i5.las2peer.restMapper.RESTResponse
 
getMsg() - Method in class i5.las2peer.restMapper.ResponseEntity
 
getResourceConfig() - Method in class i5.las2peer.restMapper.RESTService
Sets a Jersey's ResourceConfig as JAX-RS Application if no application is set and returns it.
getSwagger() - Method in class i5.las2peer.restMapper.RESTService
Gets the Swagger documentation for this service.

H

handle(URI, URI, String, byte[], Map<String, List<String>>) - Method in class i5.las2peer.restMapper.RESTService
Handles a REST call and passes it to Jersey.

I

i5.las2peer.restMapper - package i5.las2peer.restMapper
 
i5.las2peer.restMapper.annotations - package i5.las2peer.restMapper.annotations
 
initResources() - Method in class i5.las2peer.restMapper.RESTService
Register resources here using RESTService.getResourceConfig() or set a custom JAX-RS Application using RESTService.setApplication(Application).

R

ResponseEntity - Class in i5.las2peer.restMapper
 
ResponseEntity(int) - Constructor for class i5.las2peer.restMapper.ResponseEntity
 
ResponseEntity(int, String) - Constructor for class i5.las2peer.restMapper.ResponseEntity
 
RESTResponse - Class in i5.las2peer.restMapper
Class for communication between WebConnector and RESTMapper.
RESTResponse(int) - Constructor for class i5.las2peer.restMapper.RESTResponse
 
RESTService - Class in i5.las2peer.restMapper
Base class for RESTful services.
RESTService() - Constructor for class i5.las2peer.restMapper.RESTService
Creates a new REST service using a Jersey ResourceConfig as application.

S

ServicePath - Annotation Interface in i5.las2peer.restMapper.annotations
The base path where the service is deployed.
setApplication(Application) - Method in class i5.las2peer.restMapper.RESTService
Set a custom JAX-RS Application.
setBody(byte[]) - Method in class i5.las2peer.restMapper.RESTResponse
 
setCode(int) - Method in class i5.las2peer.restMapper.ResponseEntity
 
setMsg(String) - Method in class i5.las2peer.restMapper.ResponseEntity
 
stacktrace - Variable in class i5.las2peer.restMapper.ExceptionEntity
 

T

toResponse(Throwable) - Method in class i5.las2peer.restMapper.GenericExceptionMapper
 

V

value() - Element in annotation interface i5.las2peer.restMapper.annotations.ServicePath
 
A E G H I R S T V 
All Classes and Interfaces|All Packages|Serialized Form