public static enum SSDPRequest.Method extends Enum<SSDPRequest.Method>
SSDPRequest
enumerated SSDPRequest.Method
s.Modifier and Type | Method and Description |
---|---|
boolean |
is(String method)
Test if the argument method matches
this . |
String |
toString() |
static SSDPRequest.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SSDPRequest.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSDPRequest.Method NOTIFY
public static final SSDPRequest.Method MSEARCH
public static SSDPRequest.Method[] values()
for (SSDPRequest.Method c : SSDPRequest.Method.values()) System.out.println(c);
public static SSDPRequest.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 toString()
toString
in class Enum<SSDPRequest.Method>
Copyright © 2015–2021. All rights reserved.