public static enum UpnpRequest.Method extends Enum<UpnpRequest.Method>
Enum Constant and Description |
---|
GET |
MSEARCH |
NOTIFY |
POST |
SUBSCRIBE |
UNKNOWN |
UNSUBSCRIBE |
Modifier and Type | Method and Description |
---|---|
static UpnpRequest.Method |
getByHttpName(String httpName) |
String |
getHttpName() |
static UpnpRequest.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpnpRequest.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpnpRequest.Method GET
public static final UpnpRequest.Method POST
public static final UpnpRequest.Method NOTIFY
public static final UpnpRequest.Method MSEARCH
public static final UpnpRequest.Method SUBSCRIBE
public static final UpnpRequest.Method UNSUBSCRIBE
public static final UpnpRequest.Method UNKNOWN
public static UpnpRequest.Method[] values()
for (UpnpRequest.Method c : UpnpRequest.Method.values()) System.out.println(c);
public static UpnpRequest.Method 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 String getHttpName()
public static UpnpRequest.Method getByHttpName(String httpName)
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.