Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractParam<V> - Class in fr.paris.lutece.plugins.rest.service.param
-
Provides simple param parsing.
- AbstractParam(String) - Constructor for class fr.paris.lutece.plugins.rest.service.param.AbstractParam
-
Builds this param and calls
AbstractParam.parse(String) - AbstractResourceInfo<E> - Class in fr.paris.lutece.plugins.rest.business.resourceinfo
-
AbstractResourceInfo
- AbstractResourceInfo() - Constructor for class fr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo
- AbstractResourceInfoProvider - Class in fr.paris.lutece.plugins.rest.service.resourceinfo
-
AbstractResourceInfoProvider
- AbstractResourceInfoProvider() - Constructor for class fr.paris.lutece.plugins.rest.service.resourceinfo.AbstractResourceInfoProvider
- AbstractWriter<E> - Class in fr.paris.lutece.plugins.rest.service.writers
-
This class handle the action of formatting an object E to String with the appropriate MediaType.
- AbstractWriter() - Constructor for class fr.paris.lutece.plugins.rest.service.writers.AbstractWriter
- APP_PATH - Static variable in class fr.paris.lutece.plugins.rest.service.RestConstants
- APPLICATION_KML - Static variable in class fr.paris.lutece.plugins.rest.service.mediatype.RestMediaTypes
-
application/vnd.google-earth.kml+xml
- APPLICATION_KML_TYPE - Static variable in class fr.paris.lutece.plugins.rest.service.mediatype.RestMediaTypes
-
application/vnd.google-earth.kml+xml
B
- BASE_PATH - Static variable in class fr.paris.lutece.plugins.rest.service.RestConstants
-
Base path : prefix for services url.
E
- ERROR_DURING_TREATMENT - Static variable in class fr.paris.lutece.plugins.rest.service.mapper.GenericUncaughtExceptionMapper
F
- filter(ContainerRequestContext) - Method in class fr.paris.lutece.plugins.rest.filter.LuteceJerseyLoggingFilter
- filter(ContainerRequestContext) - Method in class fr.paris.lutece.plugins.rest.filter.RestAuthenticatorRequestFilter
- filter(ContainerRequestContext, ContainerResponseContext) - Method in class fr.paris.lutece.plugins.rest.filter.LuteceJerseyLoggingFilter
- format(List<T>) - Method in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter
-
Format the list of resources
- format(T) - Method in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter
-
Format the given resource
- formatError(String, int) - Static method in class fr.paris.lutece.plugins.rest.util.json.JSONUtil
-
Format error as JSON
- formatError(String, int) - Static method in class fr.paris.lutece.plugins.rest.util.xml.XMLUtil
-
Format an error response
- formatError(String, String) - Method in interface fr.paris.lutece.plugins.rest.service.formatters.IFormatter
-
Format the error message
- fr.paris.lutece.plugins.rest.business.resourceinfo - package fr.paris.lutece.plugins.rest.business.resourceinfo
- fr.paris.lutece.plugins.rest.filter - package fr.paris.lutece.plugins.rest.filter
- fr.paris.lutece.plugins.rest.service - package fr.paris.lutece.plugins.rest.service
- fr.paris.lutece.plugins.rest.service.formatters - package fr.paris.lutece.plugins.rest.service.formatters
- fr.paris.lutece.plugins.rest.service.mapper - package fr.paris.lutece.plugins.rest.service.mapper
- fr.paris.lutece.plugins.rest.service.mediatype - package fr.paris.lutece.plugins.rest.service.mediatype
- fr.paris.lutece.plugins.rest.service.param - package fr.paris.lutece.plugins.rest.service.param
- fr.paris.lutece.plugins.rest.service.resourceinfo - package fr.paris.lutece.plugins.rest.service.resourceinfo
- fr.paris.lutece.plugins.rest.service.writers - package fr.paris.lutece.plugins.rest.service.writers
- fr.paris.lutece.plugins.rest.util.json - package fr.paris.lutece.plugins.rest.util.json
- fr.paris.lutece.plugins.rest.util.xml - package fr.paris.lutece.plugins.rest.util.xml
G
- GenericUncaughtExceptionMapper<T extends Throwable,
E> - Class in fr.paris.lutece.plugins.rest.service.mapper -
Generic exception mapper, implementing
ExceptionMapper, used to convert uncaught exceptions to a properResponseto return.
To implement your own in a Lutece plugin or module using lutece-rest-plugin-rest, extend this class, annotate it withProvider, and add it as a bean in the context.xml file. - GenericUncaughtExceptionMapper() - Constructor for class fr.paris.lutece.plugins.rest.service.mapper.GenericUncaughtExceptionMapper
- GenericUncaughtJerseyExceptionMapper<T extends jakarta.ws.rs.WebApplicationException,
E> - Class in fr.paris.lutece.plugins.rest.service.mapper -
Generic REST exception mapper, implementing
ExceptionMapper, used to convert uncaught REST exceptions to a properResponseto return.
To implement your own in a Lutece plugin or module using lutece-rest-plugin-rest, extend this class, annotate it withProvider. - GenericUncaughtJerseyExceptionMapper() - Constructor for class fr.paris.lutece.plugins.rest.service.mapper.GenericUncaughtJerseyExceptionMapper
- getExtension() - Method in class fr.paris.lutece.plugins.rest.service.mediatype.MediaTypeMapping
-
Gets the extension
- getKey() - Method in class fr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo
-
Get the key
- getKey() - Method in interface fr.paris.lutece.plugins.rest.business.resourceinfo.IResourceInfo
-
Get the key
- getListChildren() - Method in class fr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo
-
Get the list of children
- getListChildren() - Method in interface fr.paris.lutece.plugins.rest.business.resourceinfo.IResourceInfo
-
Get the list of children
- getMediaType() - Method in class fr.paris.lutece.plugins.rest.service.mediatype.MediaTypeMapping
-
Gets the media type
- getOriginalParam() - Method in class fr.paris.lutece.plugins.rest.service.param.AbstractParam
-
Gets the original string param
- getProperties() - Method in class fr.paris.lutece.plugins.rest.service.LuteceRestApplication
- getProviders() - Static method in class fr.paris.lutece.plugins.rest.service.resourceinfo.ResourceInfoManager
-
Get the list of resource info
- getResourceInfo(Map<String, String>) - Method in interface fr.paris.lutece.plugins.rest.service.resourceinfo.IResourceInfoProvider
-
Get the resource info
- getResourceInfo(Map<String, String>) - Static method in class fr.paris.lutece.plugins.rest.service.resourceinfo.ResourceInfoManager
-
Get the resource info
- getSize(List<E>, Class<?>, Type, Annotation[], MediaType) - Method in class fr.paris.lutece.plugins.rest.service.writers.AbstractWriter
- getValue() - Method in class fr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo
-
Get the value
- getValue() - Method in interface fr.paris.lutece.plugins.rest.business.resourceinfo.IResourceInfo
-
Get the value
- getValue() - Method in class fr.paris.lutece.plugins.rest.service.param.AbstractParam
-
The value of the string
AbstractParam.getOriginalParam()
H
- hasChildren() - Method in class fr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo
-
Check if the resource info has children
- hasChildren() - Method in interface fr.paris.lutece.plugins.rest.business.resourceinfo.IResourceInfo
-
Check if the resource info has children
I
- IFormatter<T> - Interface in fr.paris.lutece.plugins.rest.service.formatters
-
IFormatter
- IResourceInfo - Interface in fr.paris.lutece.plugins.rest.business.resourceinfo
-
IResourceInfo
- IResourceInfoProvider - Interface in fr.paris.lutece.plugins.rest.service.resourceinfo
-
IResourceInfoProvider
- isInvoked(Map<String, String>) - Method in interface fr.paris.lutece.plugins.rest.service.resourceinfo.IResourceInfoProvider
-
Chec if the resource info provider is invoked or not
J
- json(Map) - Static method in class fr.paris.lutece.plugins.rest.util.json.JSONUtil
-
Convert a model into a JSON object
- JSONUtil - Class in fr.paris.lutece.plugins.rest.util.json
-
JSON Utils
L
- LuteceJerseyLoggingFilter - Class in fr.paris.lutece.plugins.rest.filter
- LuteceJerseyLoggingFilter() - Constructor for class fr.paris.lutece.plugins.rest.filter.LuteceJerseyLoggingFilter
- LuteceRestApplication - Class in fr.paris.lutece.plugins.rest.service
- LuteceRestApplication() - Constructor for class fr.paris.lutece.plugins.rest.service.LuteceRestApplication
M
- MediaTypeMapping - Class in fr.paris.lutece.plugins.rest.service.mediatype
-
MediaTypeMapping use to map extensions (ex: xml) to media type (application/xml).
- MediaTypeMapping() - Constructor for class fr.paris.lutece.plugins.rest.service.mediatype.MediaTypeMapping
- model2Json(Map) - Static method in class fr.paris.lutece.plugins.rest.util.json.JSONUtil
-
Convert a model into a JSON formatted string
P
- prettyPrint(Object) - Method in class fr.paris.lutece.plugins.rest.filter.LuteceJerseyLoggingFilter
- prettyPrint(String) - Method in class fr.paris.lutece.plugins.rest.filter.LuteceJerseyLoggingFilter
- produceRequestAuthenticator() - Method in class fr.paris.lutece.plugins.rest.service.RestRequestAuthenticatorProducer
R
- ResourceInfo - Class in fr.paris.lutece.plugins.rest.business.resourceinfo
-
ResourceInfo
- ResourceInfo(String, String) - Constructor for class fr.paris.lutece.plugins.rest.business.resourceinfo.ResourceInfo
-
Constructor
- ResourceInfoManager - Class in fr.paris.lutece.plugins.rest.service.resourceinfo
-
ResourceInfoManager
- REST_LOGGER - Static variable in class fr.paris.lutece.plugins.rest.service.RestConstants
-
REST Logger name
- RestAuthenticatorRequestFilter - Class in fr.paris.lutece.plugins.rest.filter
- RestAuthenticatorRequestFilter() - Constructor for class fr.paris.lutece.plugins.rest.filter.RestAuthenticatorRequestFilter
- RestConstants - Class in fr.paris.lutece.plugins.rest.service
-
Rest constants
- RestMediaTypes - Class in fr.paris.lutece.plugins.rest.service.mediatype
-
Media Types : media types extensions.
- RestRequestAuthenticator - Annotation Interface in fr.paris.lutece.plugins.rest.service
- RestRequestAuthenticatorProducer - Class in fr.paris.lutece.plugins.rest.service
- RestRequestAuthenticatorProducer() - Constructor for class fr.paris.lutece.plugins.rest.service.RestRequestAuthenticatorProducer
S
- setExtension(String) - Method in class fr.paris.lutece.plugins.rest.service.mediatype.MediaTypeMapping
-
Sets the extension
- setFormatters(Map<String, IFormatter<E>>) - Method in class fr.paris.lutece.plugins.rest.service.writers.AbstractWriter
-
Set the formatters
- setKey(String) - Method in class fr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo
-
Set the key
- setKey(String) - Method in interface fr.paris.lutece.plugins.rest.business.resourceinfo.IResourceInfo
-
Set the key
- setListChildren(List<IResourceInfo>) - Method in class fr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo
-
Set the list of children
- setListChildren(List<IResourceInfo>) - Method in interface fr.paris.lutece.plugins.rest.business.resourceinfo.IResourceInfo
-
Set the list of children
- setMediaType(MediaType) - Method in class fr.paris.lutece.plugins.rest.service.mediatype.MediaTypeMapping
-
Sets the media type
- setResourceInfo(E) - Method in class fr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo
-
Set the resource info
- setResourceInfo(ResourceInfo) - Method in class fr.paris.lutece.plugins.rest.business.resourceinfo.ResourceInfo
-
Set the resource info
- setValue(String) - Method in class fr.paris.lutece.plugins.rest.business.resourceinfo.AbstractResourceInfo
-
Set the value
- setValue(String) - Method in interface fr.paris.lutece.plugins.rest.business.resourceinfo.IResourceInfo
-
Set the value
T
- toResponse(T) - Method in class fr.paris.lutece.plugins.rest.service.mapper.GenericUncaughtExceptionMapper
- toResponse(T) - Method in class fr.paris.lutece.plugins.rest.service.mapper.GenericUncaughtJerseyExceptionMapper
- toString() - Method in class fr.paris.lutece.plugins.rest.service.param.AbstractParam
U
- UncaughtJerseyExceptionMapper - Class in fr.paris.lutece.plugins.rest.service.mapper
-
Exception mapper designed to intercept uncaught
WebApplicationException.
This is the default mapper for Jersey exceptions, it will only be triggered if no better suitable mappers are available for the fired exception. - UncaughtJerseyExceptionMapper() - Constructor for class fr.paris.lutece.plugins.rest.service.mapper.UncaughtJerseyExceptionMapper
- UncaughtThrowableMapper - Class in fr.paris.lutece.plugins.rest.service.mapper
-
Exception mapper designed to intercept uncaught
Throwable.
This is the default mapper, it will only be triggered if no better suitable mappers are available for the fired exception. - UncaughtThrowableMapper() - Constructor for class fr.paris.lutece.plugins.rest.service.mapper.UncaughtThrowableMapper
W
- writeTo(List<E>, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class fr.paris.lutece.plugins.rest.service.writers.AbstractWriter
X
- XMLUtil - Class in fr.paris.lutece.plugins.rest.util.xml
-
Xml Response Util
All Classes and Interfaces|All Packages|Constant Field Values