public static enum UpnpResponse.Status extends Enum<UpnpResponse.Status>
Enum Constant and Description |
---|
BAD_REQUEST |
INTERNAL_SERVER_ERROR |
METHOD_NOT_SUPPORTED |
NOT_FOUND |
NOT_IMPLEMENTED |
OK |
PRECONDITION_FAILED |
UNSUPPORTED_MEDIA_TYPE |
Modifier and Type | Method and Description |
---|---|
static UpnpResponse.Status |
getByStatusCode(int statusCode) |
int |
getStatusCode() |
String |
getStatusMsg() |
static UpnpResponse.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpnpResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpnpResponse.Status OK
public static final UpnpResponse.Status BAD_REQUEST
public static final UpnpResponse.Status NOT_FOUND
public static final UpnpResponse.Status METHOD_NOT_SUPPORTED
public static final UpnpResponse.Status PRECONDITION_FAILED
public static final UpnpResponse.Status UNSUPPORTED_MEDIA_TYPE
public static final UpnpResponse.Status INTERNAL_SERVER_ERROR
public static final UpnpResponse.Status NOT_IMPLEMENTED
public static UpnpResponse.Status[] values()
for (UpnpResponse.Status c : UpnpResponse.Status.values()) System.out.println(c);
public static UpnpResponse.Status 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 int getStatusCode()
public String getStatusMsg()
public static UpnpResponse.Status getByStatusCode(int statusCode)
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.