Modifier and Type | Method and Description |
---|---|
void |
SynchronousDispatcher.asynchronousDelivery(HttpRequest request,
HttpResponse response,
Exception exception) |
void |
SynchronousDispatcher.asynchronousDelivery(HttpRequest request,
HttpResponse response,
Response jaxrsResponse) |
Object |
ConstructorInjectorImpl.construct(HttpRequest request,
HttpResponse httpResponse) |
protected Object |
ResourceLocator.createResource(HttpRequest request,
HttpResponse response) |
protected Object |
ResourceLocator.createResource(HttpRequest request,
HttpResponse response,
Object locator) |
protected Object |
PrefixedFormInjector.doInject(String prefix,
HttpRequest request,
HttpResponse response)
Calls the super
PrefixedFormInjector.inject(HttpRequest, HttpResponse) method. |
boolean |
SynchronousDispatcher.executeExactExceptionMapper(HttpRequest request,
HttpResponse response,
Throwable exception)
If there exists an Exception mapper for exception, execute it, otherwise, do NOT recurse up class hierarchy
of exception.
|
boolean |
SynchronousDispatcher.executeExceptionMapper(HttpRequest request,
HttpResponse response,
Throwable exception)
Execute an ExceptionMapper if one exists for the given exception.
|
boolean |
SynchronousDispatcher.executeExceptionMapperForClass(HttpRequest request,
HttpResponse response,
Throwable exception,
Class clazz) |
ResourceInvoker |
SynchronousDispatcher.getInvoker(HttpRequest request) |
ResourceInvoker |
ResourceMethodRegistry.getResourceInvoker(HttpRequest request)
Find a resource to invoke on
|
protected Response |
SynchronousDispatcher.getResponse(HttpRequest request,
HttpResponse response,
ResourceInvoker invoker) |
protected void |
SynchronousDispatcher.handleApplicationException(HttpRequest request,
HttpResponse response,
ApplicationException e) |
void |
SynchronousDispatcher.handleException(HttpRequest request,
HttpResponse response,
Exception e) |
protected void |
SynchronousDispatcher.handleFailure(HttpRequest request,
HttpResponse response,
Failure failure) |
void |
SynchronousDispatcher.handleInvokerException(HttpRequest request,
HttpResponse response,
Exception e)
Called if method invoke was unsuccessful
|
protected void |
SynchronousDispatcher.handleReaderException(HttpRequest request,
HttpResponse response,
ReaderException e) |
protected void |
SynchronousDispatcher.handleWebApplicationException(HttpRequest request,
HttpResponse response,
WebApplicationException wae) |
void |
SynchronousDispatcher.handleWriteResponseException(HttpRequest request,
HttpResponse response,
Exception e)
Called if method invoke was successful, but writing the Response after was not.
|
protected void |
SynchronousDispatcher.handleWriterException(HttpRequest request,
HttpResponse response,
WriterException e) |
Object |
ValueInjector.inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
Object |
SuspendInjector.inject(HttpRequest request,
HttpResponse response) |
Object |
QueryParamInjector.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 |
AbstractCollectionFormInjector.inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
void |
PropertyInjectorImpl.inject(HttpRequest request,
HttpResponse response,
Object target) |
Object[] |
ConstructorInjectorImpl.injectableArguments(HttpRequest input,
HttpResponse response) |
Object[] |
MethodInjectorImpl.injectArguments(HttpRequest input,
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) |
ServerResponse |
ResourceMethod.invoke(HttpRequest request,
HttpResponse response) |
ServerResponse |
ResourceLocator.invoke(HttpRequest request,
HttpResponse response) |
ServerResponse |
ResourceInvoker.invoke(HttpRequest request,
HttpResponse response) |
void |
Dispatcher.invoke(HttpRequest in,
HttpResponse response) |
ServerResponse |
ResourceMethod.invoke(HttpRequest request,
HttpResponse response,
Object target) |
ServerResponse |
ResourceLocator.invoke(HttpRequest request,
HttpResponse response,
Object locator) |
ServerResponse |
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) |
void |
AsynchronousDispatcher.invoke(HttpRequest in,
HttpResponse response,
ResourceInvoker invoker) |
protected ServerResponse |
ResourceMethod.invokeOnTarget(HttpRequest request,
HttpResponse response,
Object target) |
protected ServerResponse |
ResourceLocator.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) |
protected void |
SynchronousDispatcher.preprocess(HttpRequest in) |
void |
ExtensionHttpPreprocessor.preProcess(HttpRequest in) |
void |
AcceptParameterHttpPreprocessor.preProcess(HttpRequest request) |
protected void |
SynchronousDispatcher.preprocessExtensions(HttpRequest in) |
void |
SynchronousDispatcher.pushContextObjects(HttpRequest request,
HttpResponse response) |
MediaType |
ResourceMethod.resolveContentType(HttpRequest in,
Object entity) |
protected Throwable |
SynchronousDispatcher.unwrapException(HttpRequest request,
HttpResponse response,
Throwable e) |
protected void |
SynchronousDispatcher.writeDefaultOptionsMethod(HttpRequest request,
HttpResponse response,
Response jaxrsResponse) |
protected void |
SynchronousDispatcher.writeFailure(HttpRequest request,
HttpResponse response,
Response jaxrsResponse) |
protected void |
SynchronousDispatcher.writeJaxrsResponse(HttpRequest request,
HttpResponse response,
Response jaxrsResponse) |
void |
ServerResponse.writeTo(HttpRequest request,
HttpResponse response,
ResteasyProviderFactory providerFactory)
If there is an entity, headers are not converted to a string and set on the HttpResponse until the output stream is written to.
|
Constructor and Description |
---|
ServerMessageBodyReaderContext(MessageBodyReaderInterceptor[] interceptors,
MessageBodyReader reader,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream inputStream,
HttpRequest request) |
ServerMessageBodyWriterContext(MessageBodyWriterInterceptor[] interceptors,
MessageBodyWriter writer,
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 |
---|---|
protected ResourceInvoker |
Segment.match(String httpMethod,
HttpRequest request) |
protected ResourceInvoker |
RootSegment.matchChildren(HttpRequest request,
String path,
int start) |
ResourceInvoker |
PathParamSegment.matchPattern(HttpRequest request,
String path,
int start) |
ResourceInvoker |
RootSegment.matchRoot(HttpRequest request) |
ResourceInvoker |
RootSegment.matchRoot(HttpRequest request,
int start) |
ResourceInvoker |
SimpleSegment.matchSimple(HttpRequest request,
String path,
int start) |
protected void |
PathParamSegment.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 | Method and Description |
---|---|
ServerResponse |
SecurityInterceptor.preProcess(HttpRequest request,
ResourceMethod method) |
Modifier and Type | Field and Description |
---|---|
protected HttpRequest |
ServerContentEncodingHeaderInterceptor.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,
InjectorFactory factory) |
Object |
POJOResourceFactory.createResource(HttpRequest request,
HttpResponse response,
InjectorFactory factory) |
Object |
JndiResourceFactory.createResource(HttpRequest request,
HttpResponse response,
InjectorFactory factory) |
Object |
JndiComponentResourceFactory.createResource(HttpRequest request,
HttpResponse response,
InjectorFactory 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 |
Constructor and Description |
---|
RequestImpl(HttpRequest request) |
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,
InjectorFactory 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.
|
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,
ResourceMethod method)
Preprocess resource method invocation
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingHttpRequest |
class |
PrefixedFormFieldsHttpRequest |
Constructor and Description |
---|
DelegatingHttpRequest(HttpRequest delegate) |
PrefixedFormFieldsHttpRequest(String prefix,
HttpRequest request) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.