public enum SipRouteModifier extends Enum<SipRouteModifier>
SipApplicationRouterInfo.getRouteModifier()
,
SipApplicationRouterInfo.getRoutes()
Enum Constant and Description |
---|
NO_ROUTE
Indicates that the value returned by
SipApplicationRouterInfo.getRoutes()
does not contain any valid routes and should be ignored. |
ROUTE
Indicates that the routes returned by
SipApplicationRouterInfo.getRoutes()
are valid. |
ROUTE_BACK
Tells the container to push a route back to itself
before pusing the routes specified by
SipApplicationRouterInfo.getRoutes() . |
ROUTE_FINAL
Indicates that the routes returned by
SipApplicationRouterInfo.getRoutes() are
valid. |
Modifier and Type | Method and Description |
---|---|
static SipRouteModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SipRouteModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SipRouteModifier ROUTE
SipApplicationRouterInfo.getRoutes()
are valid.public static final SipRouteModifier ROUTE_FINAL
SipApplicationRouterInfo.getRoutes()
are
valid. Unlike ROUTE
with ROUTE_FINAL, returned routes can be of any type.public static final SipRouteModifier ROUTE_BACK
SipApplicationRouterInfo.getRoutes()
.public static final SipRouteModifier NO_ROUTE
SipApplicationRouterInfo.getRoutes()
does not contain any valid routes and should be ignored.public static SipRouteModifier[] values()
for (SipRouteModifier c : SipRouteModifier.values()) System.out.println(c);
public static SipRouteModifier 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 nullCopyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.