Class HttpStatusHandler

java.lang.Object
org.springframework.boot.devtools.remote.server.HttpStatusHandler
All Implemented Interfaces:
Handler

public class HttpStatusHandler extends Object implements Handler
Handler that responds with a specific HttpStatus.
Since:
1.3.0
Author:
Phillip Webb
  • Constructor Details

    • HttpStatusHandler

      public HttpStatusHandler()
      Create a new HttpStatusHandler instance that will respond with an HTTP OK 200 status.
    • HttpStatusHandler

      public HttpStatusHandler(HttpStatus status)
      Create a new HttpStatusHandler instance that will respond with the specified status.
      Parameters:
      status - the status
  • Method Details