Class HttpStatusHandler
java.lang.Object
org.springframework.boot.devtools.remote.server.HttpStatusHandler
- All Implemented Interfaces:
 Handler
Handler that responds with a specific HttpStatus.- Since:
 - 1.3.0
 - Author:
 - Phillip Webb
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCreate a newHttpStatusHandlerinstance that will respond with an HTTP OK 200 status.HttpStatusHandler(HttpStatus status) Create a newHttpStatusHandlerinstance that will respond with the specified status. - 
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ServerHttpRequest request, ServerHttpResponse response) Handle the request. 
- 
Constructor Details
- 
HttpStatusHandler
public HttpStatusHandler()Create a newHttpStatusHandlerinstance that will respond with an HTTP OK 200 status. - 
HttpStatusHandler
Create a newHttpStatusHandlerinstance that will respond with the specified status.- Parameters:
 status- the status
 
 - 
 - 
Method Details
- 
handle
Description copied from interface:HandlerHandle the request.- Specified by:
 handlein interfaceHandler- Parameters:
 request- the requestresponse- the response- Throws:
 IOException- in case of I/O errors
 
 -