Enum Class ApacheHttpClientEngine.MemoryUnit
java.lang.Object
java.lang.Enum<ApacheHttpClientEngine.MemoryUnit>
org.jboss.resteasy.client.jaxrs.engines.ApacheHttpClientEngine.MemoryUnit
- All Implemented Interfaces:
Serializable
,Comparable<ApacheHttpClientEngine.MemoryUnit>
,Constable
- Enclosing interface:
- ApacheHttpClientEngine
@Deprecated
public static enum ApacheHttpClientEngine.MemoryUnit
extends Enum<ApacheHttpClientEngine.MemoryUnit>
Deprecated.
Enumeration to represent memory units.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the enum constant of this class with the specified name.static ApacheHttpClientEngine.MemoryUnit[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BY
Deprecated.Bytes -
KB
Deprecated.Killo Bytes -
MB
Deprecated.Mega Bytes -
GB
Deprecated.Giga Bytes
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
SizeUnit
orThreshold