Package io.micronaut.jaxrs.common
Class JaxRsWriterInterceptorContextState.ClassicState
java.lang.Object
io.micronaut.jaxrs.common.JaxRsWriterInterceptorContextState.ClassicState
- All Implemented Interfaces:
JaxRsWriterInterceptorContextState
- Enclosing interface:
- JaxRsWriterInterceptorContextState
public static final class JaxRsWriterInterceptorContextState.ClassicState
extends Object
implements JaxRsWriterInterceptorContextState
Implementation with simple fields.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.jaxrs.common.JaxRsWriterInterceptorContextState
JaxRsWriterInterceptorContextState.ClassicState -
Constructor Summary
ConstructorsConstructorDescriptionClassicState(MutableHeaders headers, Object entity, OutputStream outputStream) -
Method Summary
-
Constructor Details
-
ClassicState
-
-
Method Details
-
getEntity
- Specified by:
getEntityin interfaceJaxRsWriterInterceptorContextState- Returns:
- The response entity
- See Also:
-
setEntity
- Specified by:
setEntityin interfaceJaxRsWriterInterceptorContextState- Parameters:
entity- The response entity- See Also:
-
getOutputStream
- Specified by:
getOutputStreamin interfaceJaxRsWriterInterceptorContextState- Returns:
- The response stream
- See Also:
-
setOutputStream
- Specified by:
setOutputStreamin interfaceJaxRsWriterInterceptorContextState- Parameters:
outputStream- The response stream- See Also:
-
getHeaders
- Specified by:
getHeadersin interfaceJaxRsWriterInterceptorContextState- Returns:
- The response headers
- See Also:
-