Class PreMatchContainerRequestContext

    • Field Detail

      • response

        protected response
    • Constructor Detail

      • PreMatchContainerRequestContext

        public PreMatchContainerRequestContext​(HttpRequest request)
      • PreMatchContainerRequestContext

        public PreMatchContainerRequestContext​(HttpRequest request,
                                     [] requestFilters,
                                               Supplier<BuiltResponse> continuation)
    • Method Detail

      • getResponseAbortedWith

        public getResponseAbortedWith()
      • getProperty

        public Object getProperty​(String name)
        Specified by:
        getProperty in interface
      • getPropertyNames

        public Collection<String> getPropertyNames()
        Specified by:
        getPropertyNames in interface
      • setProperty

        public void setProperty​(String name,
                                Object object)
        Specified by:
        setProperty in interface
      • removeProperty

        public void removeProperty​(String name)
        Specified by:
        removeProperty in interface
      • getUriInfo

        public getUriInfo()
        Specified by:
        getUriInfo in interface
      • getMethod

        public String getMethod()
        Specified by:
        getMethod in interface
      • setMethod

        public void setMethod​(String method)
        Specified by:
        setMethod in interface
      • getHeaders

        public<String,​String> getHeaders()
        Specified by:
        getHeaders in interface
      • getDate

        public Date getDate()
        Specified by:
        getDate in interface
      • getLanguage

        public Locale getLanguage()
        Specified by:
        getLanguage in interface
      • getLength

        public int getLength()
        Specified by:
        getLength in interface
      • getMediaType

        public getMediaType()
        Specified by:
        getMediaType in interface
      • getAcceptableMediaTypes

        public List<> getAcceptableMediaTypes()
        Specified by:
        getAcceptableMediaTypes in interface
      • getAcceptableLanguages

        public List<Locale> getAcceptableLanguages()
        Specified by:
        getAcceptableLanguages in interface
      • getCookies

        public Map<String,​> getCookies()
        Specified by:
        getCookies in interface
      • hasEntity

        public boolean hasEntity()
        Specified by:
        hasEntity in interface
      • getEntityStream

        public InputStream getEntityStream()
        Specified by:
        getEntityStream in interface
      • setEntityStream

        public void setEntityStream​(InputStream entityStream)
        Specified by:
        setEntityStream in interface
      • getSecurityContext

        public getSecurityContext()
        Specified by:
        getSecurityContext in interface
      • setSecurityContext

        public void setSecurityContext​( context)
        Specified by:
        setSecurityContext in interface
      • getRequest

        public getRequest()
        Specified by:
        getRequest in interface
      • getHeaderString

        public String getHeaderString​(String name)
        Specified by:
        getHeaderString in interface
      • abortWith

        public void abortWith​( response)
        Specified by:
        abortWith in interface
      • resume

        public void resume​(Throwable t)
        Description copied from interface: SuspendableContainerRequestContext
        Aborts the current request with the given exception. This behaves as if the request filter threw this exception synchronously, which means exceptions may be mapped via exception mappers, response filters will run and async response callbacks will be called with this exception.
        Specified by:
        resume in interface SuspendableContainerRequestContext
        t - the exception to send back to the client, as mapped by the application.
      • startedContinuation

        public boolean startedContinuation()