public enum ContinueResponseTiming extends 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(String value) |
String |
toString() |
static ContinueResponseTiming |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ContinueResponseTiming fromString(String value)
public String toString()
toString
in class Enum<ContinueResponseTiming>
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.