Class DefaultRoute
java.lang.Object
org.smallmind.bayeux.oumuamua.server.spi.DefaultRoute
- All Implemented Interfaces:
Route
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DefaultRoutestatic final DefaultRoutestatic final DefaultRoutestatic final DefaultRoutestatic final DefaultRoute -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPath()getSegment(int index) inthashCode()booleanbooleanisMeta()booleanbooleanisWild()intprotected booleanmatches(int index, CharSequence name) booleanintsize()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.smallmind.bayeux.oumuamua.server.api.Route
isDeliverable
-
Field Details
-
HANDSHAKE_ROUTE
-
CONNECT_ROUTE
-
DISCONNECT_ROUTE
-
SUBSCRIBE_ROUTE
-
UNSUBSCRIBE_ROUTE
-
-
Constructor Details
-
DefaultRoute
- Throws:
InvalidPathException
-
-
Method Details
-
getPath
-
size
public int size() -
lastIndex
public int lastIndex() -
isWild
public boolean isWild() -
isDeepWild
public boolean isDeepWild()- Specified by:
isDeepWildin interfaceRoute
-
isMeta
public boolean isMeta() -
isService
public boolean isService() -
matches
-
matches
-
getSegment
- Specified by:
getSegmentin interfaceRoute
-
hashCode
public int hashCode() -
equals
-