Class QuarkusResteasyReactiveRequestContext

  • All Implemented Interfaces:
    io.vertx.core.Handler<Void>, Closeable, AutoCloseable, Runnable, org.jboss.resteasy.reactive.common.core.ResteasyReactiveCallbackContext, org.jboss.resteasy.reactive.server.injection.ResteasyReactiveInjectionContext, org.jboss.resteasy.reactive.server.spi.ServerHttpRequest, org.jboss.resteasy.reactive.server.spi.ServerHttpResponse, org.jboss.resteasy.reactive.server.spi.ServerRequestContext

    public class QuarkusResteasyReactiveRequestContext
    extends org.jboss.resteasy.reactive.server.vertx.VertxResteasyReactiveRequestContext
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerHttpRequest

        org.jboss.resteasy.reactive.server.spi.ServerHttpRequest.ReadCallback
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) io.quarkus.security.identity.CurrentIdentityAssociation association  
      (package private) boolean userSetup  
      • Fields inherited from class org.jboss.resteasy.reactive.server.vertx.VertxResteasyReactiveRequestContext

        context, CONTINUE, preCommitTask, request, response
      • Fields inherited from class org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext

        deployment, EMPTY_ARRAY, providers
      • Fields inherited from class org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext

        abortHandlerChain, handlers, log, position, throwable
    • Constructor Summary

      Constructors 
      Constructor Description
      QuarkusResteasyReactiveRequestContext​(org.jboss.resteasy.reactive.server.core.Deployment deployment, org.jboss.resteasy.reactive.server.jaxrs.ProvidersImpl providers, io.vertx.ext.web.RoutingContext context, org.jboss.resteasy.reactive.spi.ThreadSetupAction requestContext, org.jboss.resteasy.reactive.server.spi.ServerRestHandler[] handlerChain, org.jboss.resteasy.reactive.server.spi.ServerRestHandler[] abortHandlerChain, ClassLoader devModeTccl, io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.ws.rs.core.SecurityContext createSecurityContext()  
      protected void handleRequestScopeActivation()  
      boolean handlesUnmappedException()  
      void handleUnmappedException​(Throwable throwable)  
      protected void handleUnrecoverableError​(Throwable throwable)  
      • Methods inherited from class org.jboss.resteasy.reactive.server.vertx.VertxResteasyReactiveRequestContext

        addCloseHandler, addDrainHandler, addResponseHeader, closeConnection, closed, containsRequestHeader, createInputStream, createInputStream, createResponseOutputStream, end, end, end, getAllQueryParams, getAllRequestHeaders, getAllRequestHeaders, getAllResponseHeaders, getContext, getContextExecutor, getEventLoop, getExistingParsedForm, getQueryParam, getRequestAbsoluteUri, getRequestHeader, getRequestHost, getRequestMethod, getRequestNormalisedPath, getRequestPath, getRequestScheme, handle, headWritten, isOnIoThread, isRequestEnded, isWriteQueueFull, pauseRequestInput, query, queryParamNames, registerTimer, resumeRequestInput, sendFile, serverRequest, serverResponse, setChunked, setPreCommitListener, setReadListener, setResponseHeader, setResponseHeader, setStatusCode, unwrap, vertxServerRequest, vertxServerResponse, write, write
      • Methods inherited from class org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext

        abortWith, close, getAbsoluteURI, getAdditionalAnnotations, getAllAnnotations, getAsyncResponse, getAuthority, getConsumesMediaType, getContainerRequestContext, getContainerResponseContext, getCookieParameter, getDeployment, getEndpointInstance, getEntityWriter, getFormData, getFormParameter, getGenericReturnType, getHeader, getHttpHeaders, getInputStream, getMatchedURIs, getMatrixParameter, getMethod, getMethodAnnotations, getOrCreateOutputStream, getOutputStream, getParameters, getPath, getPathParam, getPathParameter, getPathSegments, getPathWithoutPrefix, getProviders, getQueryParameter, getReaderInterceptors, getRemaining, getRequest, getRequestEntity, getResourceLocatorPathParam, getResponse, getResponseContentType, getResponseEntity, getResponseMediaType, getResteasyReactiveResourceInfo, getResult, getScheme, getSecurityContext, getSseEventSink, getTarget, getThrowable, getUriInfo, getWriterInterceptors, hasGenericReturnType, hasInputStream, initPathSegments, isSecurityContextSet, mapExceptionIfPresent, requestScopeDeactivated, resetBuildTimeSerialization, restart, restart, restarted, saveUriMatchState, securityContextUpdated, setAdditionalAnnotations, setAllAnnotations, setAsyncResponse, setConsumesMediaType, setEndpointInstance, setEntityWriter, setFormData, setGenericReturnType, setInputStream, setMaxPathParams, setMethod, setMethodAnnotations, setOutputStream, setPathParamValue, setReaderInterceptors, setRemaining, setRequestEntity, setRequestUri, setResponse, setResponseContentType, setResponseContentType, setResult, setSecurityContext, setSseEventSink, setUriInfo, setWriterInterceptors
      • Methods inherited from class org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext

        beginAsyncProcessing, captureCDIRequestScope, getAbortHandlerChain, getHandlers, getPosition, getProperty, getPropertyNames, handleException, handleException, isRequestScopeManagementRequired, isRunning, isSuspended, registerCompletionCallback, registerConnectionCallback, removeProperty, requireCDIRequestScope, restart, restart, resume, resume, resume, resume, run, setAbortHandlerChain, setAbortHandlerChainStarted, setPosition, setProperty, setRunning, setSuspended, suspend, unwrapException
      • Methods inherited from interface org.jboss.resteasy.reactive.common.core.ResteasyReactiveCallbackContext

        registerCompletionCallback, registerConnectionCallback
    • Field Detail

      • association

        final io.quarkus.security.identity.CurrentIdentityAssociation association
      • userSetup

        boolean userSetup
    • Constructor Detail

      • QuarkusResteasyReactiveRequestContext

        public QuarkusResteasyReactiveRequestContext​(org.jboss.resteasy.reactive.server.core.Deployment deployment,
                                                     org.jboss.resteasy.reactive.server.jaxrs.ProvidersImpl providers,
                                                     io.vertx.ext.web.RoutingContext context,
                                                     org.jboss.resteasy.reactive.spi.ThreadSetupAction requestContext,
                                                     org.jboss.resteasy.reactive.server.spi.ServerRestHandler[] handlerChain,
                                                     org.jboss.resteasy.reactive.server.spi.ServerRestHandler[] abortHandlerChain,
                                                     ClassLoader devModeTccl,
                                                     io.quarkus.security.identity.CurrentIdentityAssociation currentIdentityAssociation)
    • Method Detail

      • handleRequestScopeActivation

        protected void handleRequestScopeActivation()
        Overrides:
        handleRequestScopeActivation in class org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext
      • createSecurityContext

        protected javax.ws.rs.core.SecurityContext createSecurityContext()
        Overrides:
        createSecurityContext in class org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext
      • handleUnrecoverableError

        protected void handleUnrecoverableError​(Throwable throwable)
        Overrides:
        handleUnrecoverableError in class org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext
      • handlesUnmappedException

        public boolean handlesUnmappedException()
        Overrides:
        handlesUnmappedException in class org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext
      • handleUnmappedException

        public void handleUnmappedException​(Throwable throwable)
        Overrides:
        handleUnmappedException in class org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext