public enum ERequestType extends Enum<ERequestType>
Enum Constant and Description |
---|
HTTP_MULTIPART |
HTTP_SIMPLE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ERequestType |
fromRequest(javax.servlet.http.HttpServletRequest req) |
static ERequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ERequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ERequestType HTTP_MULTIPART
public static final ERequestType HTTP_SIMPLE
public static final ERequestType UNKNOWN
public static ERequestType[] values()
for (ERequestType c : ERequestType.values()) System.out.println(c);
public static ERequestType 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 ERequestType fromRequest(javax.servlet.http.HttpServletRequest req)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.