public enum ContinueResponseTiming extends java.lang.Enum<ContinueResponseTiming>
| Enum Constant and Description |
|---|
ALWAYS
Internal use only.
|
IMMEDIATELY
Tomcat will automatically send the 100 intermediate response before sending the request to the servlet.
|
ON_REQUEST_BODY_READ
Send the 100 intermediate response only when the servlet attempts to read the request's body by either:
calling read on the InputStream returned by HttpServletRequest.getInputStream
calling read on the BufferedReader returned by HttpServletRequest.getReader
This allows the servlet to process the request headers and possibly respond before reading the request body.
|
| Modifier and Type | Method and Description |
|---|---|
static ContinueResponseTiming |
fromString(java.lang.String value) |
java.lang.String |
toString() |
static ContinueResponseTiming |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContinueResponseTiming[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContinueResponseTiming IMMEDIATELY
public static final ContinueResponseTiming ON_REQUEST_BODY_READ
public static final ContinueResponseTiming ALWAYS
public static ContinueResponseTiming[] values()
for (ContinueResponseTiming c : ContinueResponseTiming.values()) System.out.println(c);
public static ContinueResponseTiming valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ContinueResponseTiming fromString(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<ContinueResponseTiming>Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.