Package | Description |
---|---|
org.jboss.resteasy.core | |
org.jboss.resteasy.core.interception | |
org.jboss.resteasy.core.messagebody | |
org.jboss.resteasy.core.registry | |
org.jboss.resteasy.mock | |
org.jboss.resteasy.plugins.interceptors.encoding | |
org.jboss.resteasy.plugins.server | |
org.jboss.resteasy.plugins.server.resourcefactory | |
org.jboss.resteasy.plugins.server.servlet | |
org.jboss.resteasy.plugins.validation | |
org.jboss.resteasy.specimpl | |
org.jboss.resteasy.spi | |
org.jboss.resteasy.spi.interception |
JAX-RS specification 1.1 (https://jcp.org/en/jsr/detail?id=311)
had no interceptor framework, so Resteasy release 2.x provided one.
|
org.jboss.resteasy.spi.validation | |
org.jboss.resteasy.util |
Modifier and Type | Field and Description |
---|---|
protected HttpRequest |
AbstractExecutionContext.request |
protected HttpRequest |
AbstractAsynchronousResponse.request |
Modifier and Type | Method and Description |
---|---|
void |
SynchronousDispatcher.asynchronousDelivery(HttpRequest request,
HttpResponse response,
Response jaxrsResponse) |
void |
SynchronousDispatcher.asynchronousExceptionDelivery(HttpRequest request,
HttpResponse response,
Throwable exception) |
Object |
ConstructorInjectorImpl.construct(HttpRequest request,
HttpResponse httpResponse) |
protected Object |
ResourceLocatorInvoker.createResource(HttpRequest request,
HttpResponse response) |
protected Object |
ResourceLocatorInvoker.createResource(HttpRequest request,
HttpResponse response,
Object locator) |
protected Object |
PrefixedFormInjector.doInject(String prefix,
HttpRequest request,
HttpResponse response)
|
Response |
SynchronousDispatcher.execute(HttpRequest request,
HttpResponse response,
ResourceInvoker invoker)
Return a response wither from an invoke or exception handling
|
ResourceInvoker |
SynchronousDispatcher.getInvoker(HttpRequest request) |
ResourceInvoker |
ResourceMethodRegistry.getResourceInvoker(HttpRequest request)
Find a resource to invoke on
|
ResourceInvoker |
LocatorRegistry.getResourceInvoker(HttpRequest request) |
protected Response |
ExceptionHandler.handleApplicationException(HttpRequest request,
ApplicationException e) |
Response |
ExceptionHandler.handleException(HttpRequest request,
Throwable e) |
protected Response |
ExceptionHandler.handleFailure(HttpRequest request,
Failure failure) |
protected Response |
ExceptionHandler.handleReaderException(HttpRequest request,
ReaderException e) |
protected Response |
ExceptionHandler.handleWriterException(HttpRequest request,
WriterException e) |
Object |
ValueInjector.inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
Object |
SuspendInjector.inject(HttpRequest request,
HttpResponse response)
Deprecated.
|
Object |
QueryParamInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
QueryInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
PrefixedFormInjector.inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
Object |
PathParamInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
MessageBodyParameterInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
MatrixParamInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
HeaderParamInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
FormParamInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
FormInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
CookieParamInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
ContextParameterInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
AsynchronousResponseInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
AbstractCollectionFormInjector.inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
void |
ResourcePropertyInjector.inject(HttpRequest request,
HttpResponse response,
Object target) |
void |
PropertyInjectorImpl.inject(HttpRequest request,
HttpResponse response,
Object target) |
Object[] |
ConstructorInjectorImpl.injectableArguments(HttpRequest input,
HttpResponse response) |
Object[] |
MethodInjectorImpl.injectArguments(HttpRequest input,
HttpResponse response) |
<T> T |
ThreadLocalResteasyProviderFactory.injectedInstance(Class<? extends T> clazz,
HttpRequest request,
HttpResponse response) |
void |
ThreadLocalResteasyProviderFactory.injectProperties(Object obj,
HttpRequest request,
HttpResponse response) |
Response |
SynchronousDispatcher.internalInvocation(HttpRequest request,
HttpResponse response,
Object entity) |
Response |
Dispatcher.internalInvocation(HttpRequest request,
HttpResponse response,
Object entity) |
void |
SynchronousDispatcher.invoke(HttpRequest request,
HttpResponse response) |
BuiltResponse |
ResourceMethodInvoker.invoke(HttpRequest request,
HttpResponse response) |
BuiltResponse |
ResourceLocatorInvoker.invoke(HttpRequest request,
HttpResponse response) |
BuiltResponse |
ResourceInvoker.invoke(HttpRequest request,
HttpResponse response) |
void |
Dispatcher.invoke(HttpRequest in,
HttpResponse response) |
BuiltResponse |
ResourceMethodInvoker.invoke(HttpRequest request,
HttpResponse response,
Object target) |
BuiltResponse |
ResourceLocatorInvoker.invoke(HttpRequest request,
HttpResponse response,
Object locator) |
BuiltResponse |
ResourceInvoker.invoke(HttpRequest request,
HttpResponse response,
Object target) |
Object |
MethodInjectorImpl.invoke(HttpRequest request,
HttpResponse httpResponse,
Object resource) |
void |
SynchronousDispatcher.invoke(HttpRequest request,
HttpResponse response,
ResourceInvoker invoker)
Invoke and write response
|
void |
AsynchronousDispatcher.invoke(HttpRequest in,
HttpResponse response,
ResourceInvoker invoker) |
protected BuiltResponse |
ResourceMethodInvoker.invokeOnTarget(HttpRequest request,
HttpResponse response,
Object target) |
protected BuiltResponse |
ResourceLocatorInvoker.invokeOnTargetObject(HttpRequest request,
HttpResponse response,
Object target) |
void |
SynchronousDispatcher.invokePropagateNotFound(HttpRequest request,
HttpResponse response)
Propagate NotFoundException.
|
void |
AsynchronousDispatcher.invokeSuper(HttpRequest in,
HttpResponse response,
ResourceInvoker invoker) |
boolean |
AsynchronousDispatcher.isAsynchrnousRequest(HttpRequest in) |
void |
AsynchronousDispatcher.oneway(HttpRequest request,
HttpResponse response,
ResourceInvoker invoker) |
void |
AsynchronousDispatcher.postJob(HttpRequest request,
HttpResponse response,
ResourceInvoker invoker) |
Response |
SynchronousDispatcher.preprocess(HttpRequest request) |
protected boolean |
SynchronousDispatcher.preprocess(HttpRequest request,
HttpResponse response)
Call pre-process ContainerRequestFilters
|
void |
SynchronousDispatcher.pushContextObjects(HttpRequest request,
HttpResponse response) |
MediaType |
ResourceMethodInvoker.resolveContentType(HttpRequest in,
Object entity) |
protected static void |
ServerResponseWriter.setDefaultContentType(HttpRequest request,
BuiltResponse jaxrsResponse,
ResteasyProviderFactory providerFactory,
ResourceMethodInvoker method) |
protected Response |
ExceptionHandler.unwrapException(HttpRequest request,
Throwable e) |
void |
SynchronousDispatcher.writeException(HttpRequest request,
HttpResponse response,
Throwable e) |
static void |
ServerResponseWriter.writeNomapResponse(BuiltResponse jaxrsResponse,
HttpRequest request,
HttpResponse response,
ResteasyProviderFactory providerFactory) |
protected void |
SynchronousDispatcher.writeResponse(HttpRequest request,
HttpResponse response,
Response jaxrsResponse) |
Constructor and Description |
---|
AbstractAsynchronousResponse(SynchronousDispatcher dispatcher,
HttpRequest request,
HttpResponse response) |
AbstractExecutionContext(SynchronousDispatcher dispatcher,
HttpRequest request,
HttpResponse response) |
SynchronousAsynchronousResponse(SynchronousDispatcher dispatcher,
HttpRequest request,
HttpResponse response) |
SynchronousExecutionContext(SynchronousDispatcher dispatcher,
HttpRequest request,
HttpResponse response) |
Modifier and Type | Field and Description |
---|---|
protected HttpRequest |
PreMatchContainerRequestContext.httpRequest |
protected HttpRequest |
ContainerResponseContextImpl.request |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
PreMatchContainerRequestContext.getHttpRequest() |
Constructor and Description |
---|
ContainerResponseContextImpl(HttpRequest request,
HttpResponse httpResponse,
BuiltResponse serverResponse) |
PostMatchContainerRequestContext(HttpRequest request,
ResourceMethodInvoker resourceMethod) |
PreMatchContainerRequestContext(HttpRequest request) |
ResponseContainerRequestContext(HttpRequest request) |
ServerReaderInterceptorContext(ReaderInterceptor[] interceptors,
ResteasyProviderFactory providerFactory,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream inputStream,
HttpRequest request) |
ServerWriterInterceptorContext(WriterInterceptor[] interceptors,
ResteasyProviderFactory providerFactory,
Object entity,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> headers,
OutputStream outputStream,
HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
Object |
ReaderUtility.doRead(HttpRequest request,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
ResourceInvoker |
SegmentNode.match(HttpRequest request,
int start) |
ResourceInvoker |
RootNode.match(HttpRequest request,
int start) |
ResourceInvoker |
RootClassNode.match(HttpRequest request,
int start) |
RootNode |
ClassNode.match(HttpRequest request,
int start) |
SegmentNode.Match |
SegmentNode.match(List<SegmentNode.Match> matches,
String httpMethod,
HttpRequest request) |
void |
MethodExpression.populatePathParams(HttpRequest request,
Matcher matcher,
String path) |
Modifier and Type | Class and Description |
---|---|
class |
MockHttpRequest |
Modifier and Type | Method and Description |
---|---|
static MockHttpRequest |
MockHttpRequest.deepCopy(HttpRequest request) |
Modifier and Type | Field and Description |
---|---|
protected HttpRequest |
ServerContentEncodingAnnotationFilter.request |
Modifier and Type | Class and Description |
---|---|
class |
BaseHttpRequest
Helper for creating HttpRequest implementations.
|
Modifier and Type | Method and Description |
---|---|
Object |
SingletonResource.createResource(HttpRequest request,
HttpResponse response,
ResteasyProviderFactory factory) |
Object |
POJOResourceFactory.createResource(HttpRequest request,
HttpResponse response,
ResteasyProviderFactory factory) |
Object |
JndiResourceFactory.createResource(HttpRequest request,
HttpResponse response,
ResteasyProviderFactory factory) |
Object |
JndiComponentResourceFactory.createResource(HttpRequest request,
HttpResponse response,
ResteasyProviderFactory factory) |
void |
SingletonResource.requestFinished(HttpRequest request,
HttpResponse response,
Object resource) |
void |
POJOResourceFactory.requestFinished(HttpRequest request,
HttpResponse response,
Object resource) |
void |
JndiResourceFactory.requestFinished(HttpRequest request,
HttpResponse response,
Object resource) |
void |
JndiComponentResourceFactory.requestFinished(HttpRequest request,
HttpResponse response,
Object resource) |
Modifier and Type | Class and Description |
---|---|
class |
HttpServletInputMessage
Abstraction for an inbound http request on the server, or a response from a server to a client
We have this abstraction so that we can reuse marshalling objects in a client framework and serverside framework
|
class |
Servlet3AsyncHttpRequest |
Modifier and Type | Method and Description |
---|---|
void |
GeneralValidatorImpl.checkForConstraintViolations(HttpRequest request,
Exception e) |
void |
GeneralValidatorImpl.checkViolations(HttpRequest request) |
void |
GeneralValidatorImpl.checkViolationsfromCDI(HttpRequest request) |
protected Validator |
GeneralValidatorImpl.getValidator(HttpRequest request) |
protected SimpleViolationsContainer |
GeneralValidatorImpl.getViolationsContainer(HttpRequest request,
Object target) |
void |
GeneralValidatorImpl.validate(HttpRequest request,
Object object,
Class<?>... groups) |
void |
GeneralValidatorImpl.validateAllParameters(HttpRequest request,
Object object,
Method method,
Object[] parameterValues,
Class<?>... groups) |
void |
GeneralValidatorImpl.validateReturnValue(HttpRequest request,
Object object,
Method method,
Object returnValue,
Class<?>... groups) |
Constructor and Description |
---|
RequestImpl(HttpRequest request,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
Object |
ConstructorInjector.construct(HttpRequest request,
HttpResponse response)
construct inside the scope of an HTTP request.
|
Object |
ResourceFactory.createResource(HttpRequest request,
HttpResponse response,
ResteasyProviderFactory factory)
Called per request to obtain a resource instance to invoke http request on.
|
ResourceInvoker |
Registry.getResourceInvoker(HttpRequest request) |
void |
PropertyInjector.inject(HttpRequest request,
HttpResponse response,
Object target)
Inject values into annotated properties (fields/setter methods) of the target object.
|
Object[] |
ConstructorInjector.injectableArguments(HttpRequest request,
HttpResponse response)
Create an argument list inside the scope of an HTTP request.
|
Object[] |
MethodInjector.injectArguments(HttpRequest request,
HttpResponse response)
Create the arguments that would be used to invoke the method in the context of an HTTP request.
|
<T> T |
ResteasyProviderFactory.injectedInstance(Class<? extends T> clazz,
HttpRequest request,
HttpResponse response)
Property and constructor injection using the InjectorFactory
|
void |
ResteasyProviderFactory.injectProperties(Object obj,
HttpRequest request,
HttpResponse response) |
Object |
MethodInjector.invoke(HttpRequest request,
HttpResponse response,
Object target)
Invoke on a method in the context of an HTTP request.
|
void |
HttpRequestPreprocessor.preProcess(HttpRequest request) |
void |
ResourceFactory.requestFinished(HttpRequest request,
HttpResponse response,
Object resource)
Callback when request is finished.
|
Modifier and Type | Method and Description |
---|---|
ServerResponse |
PreProcessInterceptor.preProcess(HttpRequest request,
ResourceMethodInvoker method)
Deprecated.
Preprocess resource method invocation
|
Modifier and Type | Method and Description |
---|---|
void |
GeneralValidatorCDI.checkForConstraintViolations(HttpRequest request,
Exception e)
Throws a ResteasyViolationException if either a ConstraintViolationException or a
ResteasyConstraintViolationException is embedded in the cause hierarchy of e.
|
void |
GeneralValidator.checkViolations(HttpRequest request)
Throws a ResteasyViolationException if any validation violations have been detected.
|
void |
GeneralValidatorCDI.checkViolationsfromCDI(HttpRequest request)
Throws a ResteasyViolationException if any validation violations have been detected.
|
void |
GeneralValidator.validate(HttpRequest request,
Object object,
Class<?>... groups)
Validates all constraints on
object . |
void |
GeneralValidator.validateAllParameters(HttpRequest request,
Object object,
Method method,
Object[] parameterValues,
Class<?>... groups)
Validates all constraints placed on the parameters of the given method.
|
void |
GeneralValidator.validateReturnValue(HttpRequest request,
Object object,
Method method,
Object returnValue,
Class<?>... groups)
Validates all return value constraints of the given method.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingHttpRequest |
class |
PrefixedFormFieldsHttpRequest |
Constructor and Description |
---|
DelegatingHttpRequest(HttpRequest delegate) |
PrefixedFormFieldsHttpRequest(String prefix,
HttpRequest request) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.