Enum IDouiRestInterfaceRequest.ResponseType
- java.lang.Object
-
- java.lang.Enum<IDouiRestInterfaceRequest.ResponseType>
-
- lumis.doui.service.api.rest.internal.IDouiRestInterfaceRequest.ResponseType
-
- All Implemented Interfaces:
Serializable
,Comparable<IDouiRestInterfaceRequest.ResponseType>
- Enclosing interface:
- IDouiRestInterfaceRequest
public static enum IDouiRestInterfaceRequest.ResponseType extends Enum<IDouiRestInterfaceRequest.ResponseType>
The response type.- Since:
- 10.4.0
- Version:
- $Revision: 21230 $ $Date: 2018-04-24 19:07:57 -0300 (Tue, 24 Apr 2018) $
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toMediaType()
Returns the media type for this.static IDouiRestInterfaceRequest.ResponseType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IDouiRestInterfaceRequest.ResponseType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XML
public static final IDouiRestInterfaceRequest.ResponseType XML
-
JSON
public static final IDouiRestInterfaceRequest.ResponseType JSON
-
-
Method Detail
-
values
public static IDouiRestInterfaceRequest.ResponseType[] 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 (IDouiRestInterfaceRequest.ResponseType c : IDouiRestInterfaceRequest.ResponseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IDouiRestInterfaceRequest.ResponseType 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
-
toMediaType
public String toMediaType()
Returns the media type for this.- Returns:
- the media type for this.
- Since:
- 10.4.0
-
-