Java org.springframework.web.servlet.mvc.method.annotation ResponseBodyEmitter fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.servlet.mvc.method.annotation ResponseBodyEmitter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.servlet.mvc.method.annotation ResponseBodyEmitter.

The text is from its open source code.

Field

booleancomplete
Store complete invocation before handler is initialized.

Constructor

ResponseBodyEmitter()
Create a new ResponseBodyEmitter instance.
ResponseBodyEmitter(Long timeout)
Create a ResponseBodyEmitter with a custom timeout value.

Method

voidcompleteWithError(Throwable ex)
Complete request processing with an error.
voidextendResponse(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.
LonggetTimeout()
Return the configured timeout value, if any.
voidinitialize(Handler handler)
voidsend(Object object)
Write the given object to the response.