public static enum UpnpHeader.Type extends Enum<UpnpHeader.Type>
Enum Constant and Description |
---|
CALLBACK |
CONTENT_RANGE |
CONTENT_TYPE |
EXT |
EXT_AV_CLIENT_INFO |
EXT_IFACE_MAC |
HOST |
LOCATION |
MAN |
MAX_AGE |
MX |
NT |
NTS |
PRAGMA |
RANGE |
SEQ |
SERVER |
SID |
SOAPACTION |
ST |
TIMEOUT |
USER_AGENT |
USN |
Modifier and Type | Method and Description |
---|---|
static UpnpHeader.Type |
getByHttpName(String httpName) |
Class<? extends UpnpHeader>[] |
getHeaderTypes() |
String |
getHttpName() |
boolean |
isValidHeaderType(Class<? extends UpnpHeader> clazz) |
static UpnpHeader.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpnpHeader.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpnpHeader.Type USN
public static final UpnpHeader.Type NT
public static final UpnpHeader.Type NTS
public static final UpnpHeader.Type HOST
public static final UpnpHeader.Type SERVER
public static final UpnpHeader.Type LOCATION
public static final UpnpHeader.Type MAX_AGE
public static final UpnpHeader.Type USER_AGENT
public static final UpnpHeader.Type CONTENT_TYPE
public static final UpnpHeader.Type MAN
public static final UpnpHeader.Type MX
public static final UpnpHeader.Type ST
public static final UpnpHeader.Type EXT
public static final UpnpHeader.Type SOAPACTION
public static final UpnpHeader.Type TIMEOUT
public static final UpnpHeader.Type CALLBACK
public static final UpnpHeader.Type SID
public static final UpnpHeader.Type SEQ
public static final UpnpHeader.Type RANGE
public static final UpnpHeader.Type CONTENT_RANGE
public static final UpnpHeader.Type PRAGMA
public static final UpnpHeader.Type EXT_IFACE_MAC
public static final UpnpHeader.Type EXT_AV_CLIENT_INFO
public static UpnpHeader.Type[] values()
for (UpnpHeader.Type c : UpnpHeader.Type.values()) System.out.println(c);
public static UpnpHeader.Type 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 Class<? extends UpnpHeader>[] getHeaderTypes()
public boolean isValidHeaderType(Class<? extends UpnpHeader> clazz)
public static UpnpHeader.Type getByHttpName(String httpName)
httpName
- A case-insensitive HTTP header name.Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.