A B C D E F G H I M O P R S T U V W

A

addExceptionMapping(Mapping) - Method in class org.jboss.seam.rest.exceptions.SeamExceptionMapper
 
addMessage(String) - Method in class org.jboss.seam.rest.validation.ValidationErrorMessageWrapper
 
afterBeanDiscovery(AfterBeanDiscovery, BeanManager) - Method in class org.jboss.seam.rest.client.RestClientExtension
Registers the RestClientProducer if there is an injection point that requires it
Annotations - Class in org.jboss.seam.rest.util
 
Annotations() - Constructor for class org.jboss.seam.rest.util.Annotations
 

B

buildCatchResponse() - Method in class org.jboss.seam.rest.exceptions.ResponseBuilderProducer
 

C

CatchExceptionMapper - Class in org.jboss.seam.rest.exceptions.integration
A JAX-RS ExceptionMapper implementation that maps all exceptions (i.e., Throwable) raised during a JAX-RS request to the Seam Catch exception handling bus.
CatchExceptionMapper() - Constructor for class org.jboss.seam.rest.exceptions.integration.CatchExceptionMapper
 
CatchValidationExceptionHandler - Class in org.jboss.seam.rest.exceptions.integration
The default handler that obtains ValidationException from Seam Catch and converts it to an HTTP response.
CatchValidationExceptionHandler() - Constructor for class org.jboss.seam.rest.exceptions.integration.CatchValidationExceptionHandler
 
containsMethodMetadata(Method) - Method in class org.jboss.seam.rest.validation.ValidationMetadata
 
contextDestroyed(ServletContextEvent) - Method in class org.jboss.seam.rest.SeamRestStartupListener
 
contextInitialized(ServletContextEvent) - Method in class org.jboss.seam.rest.SeamRestStartupListener
 
create(CreationalContext<Object>) - Method in class org.jboss.seam.rest.client.RestClientProducerBean
 
createEntityBody(Mapping, String) - Method in class org.jboss.seam.rest.exceptions.SeamExceptionMapper
 
createExecutor() - Method in class org.jboss.seam.rest.client.DefaultClientExecutorProducer
 
createMessage(String, boolean, boolean, Throwable, Expressions) - Method in class org.jboss.seam.rest.exceptions.SeamExceptionMapper
 

D

DefaultClientExecutorProducer - Class in org.jboss.seam.rest.client
Produces the default ClientExecutor.
DefaultClientExecutorProducer() - Constructor for class org.jboss.seam.rest.client.DefaultClientExecutorProducer
 
destroy(Object, CreationalContext<Object>) - Method in class org.jboss.seam.rest.client.RestClientProducerBean
 

E

ErrorMessageWrapper - Class in org.jboss.seam.rest.exceptions
JAXB wrapper class for the error message.
ErrorMessageWrapper() - Constructor for class org.jboss.seam.rest.exceptions.ErrorMessageWrapper
 
ErrorMessageWrapper(String) - Constructor for class org.jboss.seam.rest.exceptions.ErrorMessageWrapper
 
ExceptionMappingExtension - Class in org.jboss.seam.rest.exceptions
 
ExceptionMappingExtension() - Constructor for class org.jboss.seam.rest.exceptions.ExceptionMappingExtension
 

F

findExceptionMappingDeclaration(ProcessAnnotatedType<T>) - Method in class org.jboss.seam.rest.exceptions.ExceptionMappingExtension
 
FreeMarkerProvider - Class in org.jboss.seam.rest.templating.freemarker
Converts the response object to a rendered FreeMarker template.
FreeMarkerProvider() - Constructor for class org.jboss.seam.rest.templating.freemarker.FreeMarkerProvider
 

G

get(Object) - Method in class org.jboss.seam.rest.templating.ModelWrapper
 
getAnnotation(Collection<? extends Annotation>, Class<T>) - Static method in class org.jboss.seam.rest.util.Annotations
Find an instance of the annotationClass in an annotation arrays including the first level of meta-annotation.
getAnnotation(Annotation[], Class<T>) - Static method in class org.jboss.seam.rest.util.Annotations
Find an instance of the annotationClass in an annotation arrays including the first level of meta-annotation.
getExceptionMappings() - Method in class org.jboss.seam.rest.exceptions.ExceptionMappingExtension
 
getInjectionPoints() - Method in class org.jboss.seam.rest.client.RestClientProducerBean
 
getInterceptorBinding() - Method in class org.jboss.seam.rest.validation.MethodMetadata
 
getMappings() - Method in class org.jboss.seam.rest.exceptions.SeamExceptionMapper
 
getMessage() - Method in class org.jboss.seam.rest.exceptions.ErrorMessageWrapper
 
getMessageBody() - Method in class org.jboss.seam.rest.validation.MethodMetadata
Returns the index of the message body parameter or null if the method does not contain a message body parameter.
getMessages() - Method in class org.jboss.seam.rest.validation.ValidationErrorMessageWrapper
 
getMethod() - Method in class org.jboss.seam.rest.validation.MethodMetadata
 
getMethodMetadata(Method) - Method in class org.jboss.seam.rest.validation.ValidationMetadata
 
getProvider() - Method in class org.jboss.seam.rest.templating.TemplatingMessageBodyWriter
 
getResponseBuilder() - Method in class org.jboss.seam.rest.exceptions.ResponseBuilderProducer
 
getRestClientProducerDelegate(ProcessManagedBean<RestClientProducer>) - Method in class org.jboss.seam.rest.client.RestClientExtension
Obtains the Bean instance for the RestClientProducer component.
getSize(Object, Class<?>, Type, Annotation[], MediaType) - Method in class org.jboss.seam.rest.templating.TemplatingMessageBodyWriter
 
getValidatedParameters() - Method in class org.jboss.seam.rest.validation.MethodMetadata
Returns a set of indexes of the validated parameters.

H

handleException(CaughtException<Throwable>, Response.ResponseBuilder) - Method in class org.jboss.seam.rest.exceptions.integration.CatchExceptionMapper
 
handleValidationException(CaughtException<ValidationException>, Response.ResponseBuilder) - Method in class org.jboss.seam.rest.exceptions.integration.CatchValidationExceptionHandler
 
handleValidationException(ValidationException, Response.ResponseBuilder) - Method in class org.jboss.seam.rest.validation.ValidationExceptionHandler
 

I

init(Instance<SeamRestConfiguration>, ExceptionMappingExtension) - Method in class org.jboss.seam.rest.exceptions.SeamExceptionMapper
Mappings are stored in a Map so that we can find them by the exception type.
init(ServletContext) - Method in class org.jboss.seam.rest.exceptions.SeamExceptionMapper
This observer method triggers #init(ExceptionMappingConfiguration) on bootstrap.
init(ServletContext) - Method in class org.jboss.seam.rest.SeamRestStartup
 
init(ServletConfig) - Method in class org.jboss.seam.rest.SeamRestStartupListener
 
init(ServletContext) - Method in class org.jboss.seam.rest.templating.freemarker.FreeMarkerProvider
 
init(Instance<TemplatingProvider>, Instance<SeamRestConfiguration>) - Method in class org.jboss.seam.rest.templating.TemplatingMessageBodyWriter
Initializes TemplatingMessageBodyWriter.
init(ServletContext) - Method in class org.jboss.seam.rest.templating.TemplatingMessageBodyWriter
Initializes the TemplatingProvider if available.
init(ServletContext) - Method in class org.jboss.seam.rest.templating.velocity.VelocityProvider
 
initClientSupport(Instance<ClientErrorInterceptor>) - Method in class org.jboss.seam.rest.client.RestClientProducer
 
initialize() - Method in class org.jboss.seam.rest.exceptions.ResponseBuilderProducer
 
intercept(InvocationContext) - Method in class org.jboss.seam.rest.validation.ValidationInterceptor
Intercepts method invocations to @ValidateRequest annotated methods.
isCatchIntegrationEnabled() - Method in class org.jboss.seam.rest.exceptions.ExceptionMappingExtension
 
isClassAvailable(String) - Static method in class org.jboss.seam.rest.util.Utils
Find out whether a given class is available on the classpath
isClientIntegrationEnabled() - Method in class org.jboss.seam.rest.client.RestClientExtension
 
isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class org.jboss.seam.rest.templating.TemplatingMessageBodyWriter
Returns true if and only if the templating extension is enabled and the method contains the @ResponseTemplate annotation.

M

MethodMetadata - Class in org.jboss.seam.rest.validation
Caches method metadata needed to perform validation of JAX-RS requests.
MethodMetadata(Method, Integer, Set<Integer>, ValidateRequest) - Constructor for class org.jboss.seam.rest.validation.MethodMetadata
 
ModelWrapper - Class in org.jboss.seam.rest.templating
Wraps TemplatingModel to allow objects to be referenced via EL in templates.
ModelWrapper(Map<String, Object>, BeanManager) - Constructor for class org.jboss.seam.rest.templating.ModelWrapper
 

O

org.jboss.seam.rest - package org.jboss.seam.rest
 
org.jboss.seam.rest.client - package org.jboss.seam.rest.client
 
org.jboss.seam.rest.exceptions - package org.jboss.seam.rest.exceptions
 
org.jboss.seam.rest.exceptions.integration - package org.jboss.seam.rest.exceptions.integration
 
org.jboss.seam.rest.templating - package org.jboss.seam.rest.templating
 
org.jboss.seam.rest.templating.freemarker - package org.jboss.seam.rest.templating.freemarker
 
org.jboss.seam.rest.templating.velocity - package org.jboss.seam.rest.templating.velocity
 
org.jboss.seam.rest.util - package org.jboss.seam.rest.util
 
org.jboss.seam.rest.validation - package org.jboss.seam.rest.validation
 

P

produceClientRequest(InjectionPoint, ClientExecutor) - Method in class org.jboss.seam.rest.client.RestClientProducer
Produces ClientRequest instances.
produceResponse(Throwable, Response.ResponseBuilder) - Method in class org.jboss.seam.rest.exceptions.SeamExceptionMapper
 
produceRestClient(InjectionPoint, ClientExecutor) - Method in class org.jboss.seam.rest.client.RestClientProducer
Producer method for proxied JAX-RS interfaces - REST Clients This method is not registered as a producer method by default.

R

registerExtension(BeforeBeanDiscovery, BeanManager) - Method in class org.jboss.seam.rest.client.RestClientExtension
 
ResponseBuilderProducer - Class in org.jboss.seam.rest.exceptions
A request-scoped resource for customizing an REST error response from within a Seam Catch exception handler.
ResponseBuilderProducer() - Constructor for class org.jboss.seam.rest.exceptions.ResponseBuilderProducer
 
RestClientExtension - Class in org.jboss.seam.rest.client
The Seam REST Client extension provides injection of org.jboss.resteasy.client.ClientRequest instances REST clients - proxied JAX-RS interfaces capable of invoking client requests
RestClientExtension() - Constructor for class org.jboss.seam.rest.client.RestClientExtension
 
RestClientProducer - Class in org.jboss.seam.rest.client
Produces REST Clients proxied JAX-RS interface ClientRequest

RestClientProducer() - Constructor for class org.jboss.seam.rest.client.RestClientProducer
 
RestClientProducerBean - Class in org.jboss.seam.rest.client
We need to create a producer method with the type closure discovered at boot time.
RestClientProducerBean(Bean<RestClientProducer>, Set<Type>, BeanManager) - Constructor for class org.jboss.seam.rest.client.RestClientProducerBean
 

S

scanForCatch(BeforeBeanDiscovery, BeanManager) - Method in class org.jboss.seam.rest.exceptions.ExceptionMappingExtension
 
scanInjectionPointsForJaxrsInterfaces(ProcessBean<T>, BeanManager) - Method in class org.jboss.seam.rest.client.RestClientExtension
Scans a Bean for the following injection points

SeamExceptionMapper - Class in org.jboss.seam.rest.exceptions
This ExceptionMapper implementation converts caught exceptions to HTTP responses based on exception mapping rules.
SeamExceptionMapper() - Constructor for class org.jboss.seam.rest.exceptions.SeamExceptionMapper
 
SeamRestExtension - Class in org.jboss.seam.rest
Currently just vetoes SeamRestConfiguration.
SeamRestExtension() - Constructor for class org.jboss.seam.rest.SeamRestExtension
 
SeamRestStartup - Class in org.jboss.seam.rest
TODO: This listener will be replaced with Seam Servlet.
SeamRestStartup() - Constructor for class org.jboss.seam.rest.SeamRestStartup
 
SeamRestStartupListener - Class in org.jboss.seam.rest
We also extend HttpServlet so that Seam REST can be bootstrapped by eagerly-loaded Servlet on Tomcat 7, where weld-servlet does not support CDI injection into Servlet Listeners.
SeamRestStartupListener() - Constructor for class org.jboss.seam.rest.SeamRestStartupListener
 
setMessage(String) - Method in class org.jboss.seam.rest.exceptions.ErrorMessageWrapper
 

T

TemplatingMessageBodyWriter - Class in org.jboss.seam.rest.templating
TemplatingMessageBodyWriter is enabled for every JAX-RS method annotated with @ResponseTemplate annotation and delegates response production to the TemplatingProvider.
TemplatingMessageBodyWriter() - Constructor for class org.jboss.seam.rest.templating.TemplatingMessageBodyWriter
 
toResponse(Throwable) - Method in class org.jboss.seam.rest.exceptions.integration.CatchExceptionMapper
 
toResponse(Throwable) - Method in class org.jboss.seam.rest.exceptions.SeamExceptionMapper
 
toString() - Method in class org.jboss.seam.rest.exceptions.ErrorMessageWrapper
 
toString() - Method in class org.jboss.seam.rest.templating.freemarker.FreeMarkerProvider
 
toString() - Method in class org.jboss.seam.rest.templating.velocity.VelocityProvider
 
toString() - Method in class org.jboss.seam.rest.validation.ValidationErrorMessageWrapper
 

U

Utils - Class in org.jboss.seam.rest.util
 
Utils() - Constructor for class org.jboss.seam.rest.util.Utils
 

V

ValidationErrorMessageWrapper - Class in org.jboss.seam.rest.validation
 
ValidationErrorMessageWrapper() - Constructor for class org.jboss.seam.rest.validation.ValidationErrorMessageWrapper
 
ValidationExceptionHandler - Class in org.jboss.seam.rest.validation
The default handler that converts ValidationException to an HTTP response.
ValidationExceptionHandler() - Constructor for class org.jboss.seam.rest.validation.ValidationExceptionHandler
 
ValidationInterceptor - Class in org.jboss.seam.rest.validation
 
ValidationInterceptor() - Constructor for class org.jboss.seam.rest.validation.ValidationInterceptor
 
ValidationMetadata - Class in org.jboss.seam.rest.validation
Container for MethodMetadata.
ValidationMetadata() - Constructor for class org.jboss.seam.rest.validation.ValidationMetadata
 
VelocityProvider - Class in org.jboss.seam.rest.templating.velocity
Renders response using Apache Velocity.
VelocityProvider() - Constructor for class org.jboss.seam.rest.templating.velocity.VelocityProvider
 
vetoSeamRestConfiguration(ProcessAnnotatedType<SeamRestConfiguration>) - Method in class org.jboss.seam.rest.SeamRestExtension
Veto SeamRestConfiguration class from bean discovery since we want it's subclasses to be beans, not the class itself.

W

writeTo(Object, ResponseTemplate, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class org.jboss.seam.rest.templating.freemarker.FreeMarkerProvider
 
writeTo(Object, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class org.jboss.seam.rest.templating.TemplatingMessageBodyWriter
 
writeTo(Object, ResponseTemplate, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class org.jboss.seam.rest.templating.velocity.VelocityProvider
 

A B C D E F G H I M O P R S T U V W

Copyright © 2011 Seam Framework. All Rights Reserved.