Class ConfirmationRequest
- java.lang.Object
-
- rocks.xmpp.extensions.httpauth.model.ConfirmationRequest
-
public final class ConfirmationRequest extends Object
The implementation of the<confirm/>element in thehttp://jabber.org/protocol/http-authnamespace.This class is immutable.
-
-
Constructor Summary
Constructors Constructor Description ConfirmationRequest(String id, String method, URL url)Creates a confirmation request element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the transaction identifier provided in the HTTP Authorization Request.StringgetMethod()Gets the HTTP method.URLgetUrl()Gets the URL to confirm.
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
http://jabber.org/protocol/http-auth- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public final String getId()
Gets the transaction identifier provided in the HTTP Authorization Request.- Returns:
- The id.
-
getMethod
public final String getMethod()
Gets the HTTP method.- Returns:
- The HTTP method.
-
getUrl
public final URL getUrl()
Gets the URL to confirm.- Returns:
- The URL.
-
-