Enum HttpResponse.SupportedResponses
- java.lang.Object
-
- java.lang.Enum<HttpResponse.SupportedResponses>
-
- io.fabric8.kubernetes.client.http.HttpResponse.SupportedResponses
-
- All Implemented Interfaces:
Serializable,Comparable<HttpResponse.SupportedResponses>
- Enclosing interface:
- HttpResponse<T>
public static enum HttpResponse.SupportedResponses extends Enum<HttpResponse.SupportedResponses>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BYTE_ARRAYINPUT_STREAMREADERTEXT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpResponse.SupportedResponsesfrom(Class<?> type)static HttpResponse.SupportedResponsesfrom(Object object)static HttpResponse.SupportedResponsesvalueOf(String name)Returns the enum constant of this type with the specified name.static HttpResponse.SupportedResponses[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final HttpResponse.SupportedResponses TEXT
-
INPUT_STREAM
public static final HttpResponse.SupportedResponses INPUT_STREAM
-
READER
public static final HttpResponse.SupportedResponses READER
-
BYTE_ARRAY
public static final HttpResponse.SupportedResponses BYTE_ARRAY
-
-
Method Detail
-
values
public static HttpResponse.SupportedResponses[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpResponse.SupportedResponses c : HttpResponse.SupportedResponses.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpResponse.SupportedResponses valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
from
public static HttpResponse.SupportedResponses from(Object object)
-
from
public static HttpResponse.SupportedResponses from(Class<?> type)
-
-