public SubscribeForm getSubscriptionOptions ( String jid , String subscriptionId ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { PubSub packet = sendPubsubPacket ( createPubsubPacket ( Type . get , new OptionsExtension ( jid , getId ( ) , subscriptionId ) ) ) ; FormNode ext = packet . getExtension ( PubSubElementType . OPTIONS ) ; return new SubscribeForm ( ext . getForm ( ) ) ; }
Get the options for configuring the specified subscription .