public class HttpContinue extends Object
Note that if a client is pipelining some requests and sending continue for others this could cause problems if the pipelining buffer is enabled.
| Constructor and Description |
|---|
HttpContinue() |
| Modifier and Type | Method and Description |
|---|---|
static void |
rejectExchange(HttpServerExchange exchange)
Sets a 417 response code and ends the exchange.
|
static boolean |
requiresContinueResponse(HttpServerExchange exchange)
Returns true if this exchange requires the server to send a 100 (Continue) response.
|
static boolean |
requiresContinueResponse(List<String> expect) |
public static final String CONTINUE
public static boolean requiresContinueResponse(HttpServerExchange exchange)
exchange - The exchangetrue if the server needs to send a continue responsepublic static void rejectExchange(HttpServerExchange exchange)
exchange - The exchange to rejectCopyright © 2020 JBoss by Red Hat. All rights reserved.