code: 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());
      }
docs: Get the options for configuring the specified subscription.
  
  @param jid JID the subscription is registered under
  @param subscriptionId The subscription id
  
  @return The subscription option form
  @throws XMPPErrorException
  @throws NoResponseException
  @throws NotConnectedException
  @throws InterruptedException