Package | Description |
---|---|
org.tio.http.common | |
org.tio.http.server.util |
Modifier and Type | Method and Description |
---|---|
static HttpResponseStatus |
HttpResponseStatus.getHttpStatus(int status) |
HttpResponseStatus |
HttpResponse.getStatus() |
static HttpResponseStatus |
HttpResponseStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpResponseStatus[] |
HttpResponseStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpResponse.setStatus(HttpResponseStatus status) |
Modifier and Type | Method and Description |
---|---|
static HttpResponse |
Resps.redirect(HttpRequest request,
String path,
HttpResponseStatus status) |
Copyright © 2021. All rights reserved.