Interface AsyncWriterInterceptorContext

All Superinterfaces:
jakarta.ws.rs.ext.InterceptorContext
All Known Implementing Classes:
AbstractWriterInterceptorContext, ClientWriterInterceptorContext, ServerWriterInterceptorContext

public interface AsyncWriterInterceptorContext extends jakarta.ws.rs.ext.InterceptorContext
Context for AsyncWriterInterceptor which supports async IO.
  • Method Summary

    Modifier and Type
    Method
    Description
    Proceed to the next interceptor in the chain.
    Get the async output stream for the object to be written.
    Get object to be written as HTTP entity.
    jakarta.ws.rs.core.MultivaluedMap<String,Object>
    Get mutable map of HTTP headers.
    void
    Set a new async output stream for the object to be written.
    void
    setEntity(Object entity)
    Update object to be written as HTTP entity.

    Methods inherited from interface jakarta.ws.rs.ext.InterceptorContext

    getAnnotations, getGenericType, getMediaType, getProperty, getPropertyNames, getType, hasProperty, removeProperty, setAnnotations, setGenericType, setMediaType, setProperty, setType