/** * Returns a SubscribeForm for subscriptions, from which you can create an answer form to be submitted * via the {@link #sendConfigurationForm(Form)}. * * @param jid * * @return A subscription options form * @throws XMPPErrorException * @throws NoResponseException * @throws NotConnectedException * @throws InterruptedException */ public SubscribeForm getSubscriptionOptions(String jid) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException { return getSubscriptionOptions(jid, null); }
/** * Returns a SubscribeForm for subscriptions, from which you can create an answer form to be submitted * via the {@link #sendConfigurationForm(Form)}. * * @return A subscription options form * * @throws XMPPException */ public SubscribeForm getSubscriptionOptions(String jid) throws XMPPException { return getSubscriptionOptions(jid, null); }
/** * Returns a SubscribeForm for subscriptions, from which you can create an answer form to be submitted * via the {@link #sendConfigurationForm(Form)}. * * @return A subscription options form * * @throws XMPPException */ public SubscribeForm getSubscriptionOptions(String jid) throws XMPPException { return getSubscriptionOptions(jid, null); }
/** * Returns a SubscribeForm for subscriptions, from which you can create an answer form to be submitted * via the {@link #sendConfigurationForm(Form)}. * * @return A subscription options form * * @throws XMPPException */ public SubscribeForm getSubscriptionOptions(String jid) throws XMPPException { return getSubscriptionOptions(jid, null); }