Example usage for Java org.springframework.web.servlet.mvc.method.annotation ResponseBodyEmitter fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | complete Store complete invocation before handler is initialized. |
ResponseBodyEmitter() Create a new ResponseBodyEmitter instance. | |
ResponseBodyEmitter(Long timeout) Create a ResponseBodyEmitter with a custom timeout value. |
void | completeWithError(Throwable ex) Complete request processing with an error. |
void | extendResponse(ServerHttpResponse outputMessage) Invoked after the response is updated with the status code and headers, if the ResponseBodyEmitter is wrapped in a ResponseEntity, but before the response is committed, i.e. |
Long | getTimeout() Return the configured timeout value, if any. |
void | initialize(Handler handler) |
void | send(Object object) Write the given object to the response. |