| 
 | Oracle | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||
java.lang.Objectjava.lang.Enum<Channel.ChannelPattern>
com.bea.httppubsub.Channel.ChannelPattern
public static enum Channel.ChannelPattern
This enum provides constants of the three channel patterns that are described in section 2.2.1 Channel Globbing of Bayeux Protocol -- Bayeux 1.0draft1 .
| Enum Constant Summary | |
|---|---|
| ALL_SUBCHANNELS | |
| IMMEDIATE_SUBCHANNELS | |
| ITSELF | |
| Method Summary | |
|---|---|
| static Channel.ChannelPattern | getPattern(String url)Get the ChannelPattern from the given url | 
| static Channel.ChannelPattern | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Channel.ChannelPattern[] | values()Returns an array containing the constants of this enum type, in the order they're declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final Channel.ChannelPattern ITSELF
public static final Channel.ChannelPattern IMMEDIATE_SUBCHANNELS
public static final Channel.ChannelPattern ALL_SUBCHANNELS
| Method Detail | 
|---|
public static Channel.ChannelPattern[] values()
for(Channel.ChannelPattern c : Channel.ChannelPattern.values())
        System.out.println(c);
public static Channel.ChannelPattern valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic static Channel.ChannelPattern getPattern(String url)
url - the url of channel, such as "/foo/bar/**" or "/foo" and so on
NullPointerException - if url is null| 
 | Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 2008 Oracle | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||