Enum Class的使用
cn.taketoday.http.HttpStatus
使用HttpStatus的程序包
程序包
说明
Contains a basic abstraction over client/server-side HTTP.
Abstractions for reactive HTTP server support including a
ServerHttpRequest and
ServerHttpResponse along with an
HttpHandler for processing.Request context parameter resolvers
Core package of the client-side web support.
Support for asynchronous request processing.
Web Handler
Provides a reactive
WebClient
that builds on top of the
cn.taketoday.http.client.reactive reactive HTTP adapter layer.-
cn.taketoday.http中HttpStatus的使用
声明为HttpStatus的cn.taketoday.http中的字段返回HttpStatus的cn.taketoday.http中的方法修饰符和类型方法说明static HttpStatusHttpStatus.resolve(int statusCode) Resolve the given status code to anHttpStatus, if possible.static HttpStatusHttpStatus.valueOf(int statusCode) Return theHttpStatusenum constant with the specified numeric value.static HttpStatusReturns the enum constant of this class with the specified name.static HttpStatus[]HttpStatus.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为HttpStatus的cn.taketoday.http中的方法 -
cn.taketoday.http.server.reactive中HttpStatus的使用
修饰符和类型方法说明booleanAbstractServerHttpResponse.setStatusCode(HttpStatus status) booleanServerHttpResponse.setStatusCode(HttpStatus status) Set the HTTP status code of the response.booleanServerHttpResponseDecorator.setStatusCode(HttpStatus status) -
cn.taketoday.web中HttpStatus的使用
返回HttpStatus的cn.taketoday.web中的方法修饰符和类型方法说明HttpMediaTypeNotAcceptableException.getStatusCode()HttpMediaTypeNotSupportedException.getStatusCode()HttpRequestMethodNotSupportedException.getStatusCode() -
cn.taketoday.web.bind中HttpStatus的使用
-
cn.taketoday.web.bind.resolver中HttpStatus的使用
-
cn.taketoday.web.client中HttpStatus的使用
参数类型为HttpStatus的cn.taketoday.web.client中的方法修饰符和类型方法说明static HttpServerErrorExceptionHttpServerErrorException.create(HttpStatus statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Create anHttpServerErrorExceptionor an HTTP status specific sub-class. -
cn.taketoday.web.context.async中HttpStatus的使用
-
cn.taketoday.web.handler中HttpStatus的使用
修饰符和类型方法说明DefaultResponseStatus.code()HandlerNotFoundException.getStatusCode()DefaultResponseStatus.value()参数类型为HttpStatus的cn.taketoday.web.handler中的方法参数类型为HttpStatus的cn.taketoday.web.handler中的构造器限定符构造器说明DefaultResponseStatus(HttpStatus value) DefaultResponseStatus(HttpStatus value, String reason) -
cn.taketoday.web.reactive.function.client中HttpStatus的使用
修饰符和类型方法说明static ClientResponse.BuilderClientResponse.create(HttpStatus statusCode) Create a response builder with the given status code and using default strategies for reading the body.static ClientResponse.BuilderClientResponse.create(HttpStatus statusCode, ExchangeStrategies strategies) Create a response builder with the given status code and strategies for reading the body.static ClientResponse.BuilderClientResponse.create(HttpStatus statusCode, List<HttpMessageReader<?>> messageReaders) Create a response builder with the given status code and message body readers.