Class WriterInterceptorContextImpl

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.InterceptorContext, jakarta.ws.rs.ext.WriterInterceptorContext

    public class WriterInterceptorContextImpl
    extends AbstractInterceptorContext
    implements jakarta.ws.rs.ext.WriterInterceptorContext
    • Constructor Detail

      • WriterInterceptorContextImpl

        public WriterInterceptorContextImpl​(ResteasyReactiveRequestContext context,
                                            jakarta.ws.rs.ext.WriterInterceptor[] interceptors,
                                            jakarta.ws.rs.ext.MessageBodyWriter<?> writer,
                                            Annotation[] annotations,
                                            Class<?> type,
                                            Type genericType,
                                            Object entity,
                                            jakarta.ws.rs.core.MediaType mediaType,
                                            jakarta.ws.rs.core.MultivaluedMap<String,​Object> headers,
                                            ServerSerialisers serialisers)
    • Method Detail

      • proceed

        public void proceed()
                     throws IOException,
                            jakarta.ws.rs.WebApplicationException
        Specified by:
        proceed in interface jakarta.ws.rs.ext.WriterInterceptorContext
        Throws:
        IOException
        jakarta.ws.rs.WebApplicationException
      • getEntity

        public Object getEntity()
        Specified by:
        getEntity in interface jakarta.ws.rs.ext.WriterInterceptorContext
      • setEntity

        public void setEntity​(Object entity)
        Specified by:
        setEntity in interface jakarta.ws.rs.ext.WriterInterceptorContext
      • getOutputStream

        public OutputStream getOutputStream()
        Specified by:
        getOutputStream in interface jakarta.ws.rs.ext.WriterInterceptorContext
      • setOutputStream

        public void setOutputStream​(OutputStream os)
        Specified by:
        setOutputStream in interface jakarta.ws.rs.ext.WriterInterceptorContext
      • getHeaders

        public jakarta.ws.rs.core.MultivaluedMap<String,​Object> getHeaders()
        Specified by:
        getHeaders in interface jakarta.ws.rs.ext.WriterInterceptorContext