public boolean isSubscribe ( ) { if ( message == null ) { return false ; } return ( ( ( Request ) message ) . getMethod ( ) . equals ( Request . SUBSCRIBE ) ) ; }
Indicates if the request method is SUBSCRIBE or not .