类 HttpStatusHandler

java.lang.Object
org.springframework.boot.devtools.remote.server.HttpStatusHandler
所有已实现的接口:
Handler

public class HttpStatusHandler extends Object implements Handler
Handler that responds with a specific HttpStatus.
从以下版本开始:
1.3.0
作者:
Phillip Webb
  • 构造器详细资料

    • 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.
      参数:
      status - the status
  • 方法详细资料