public final class ConfirmationRequest
extends java.lang.Object
The implementation of the <confirm/>
element in the http://jabber.org/protocol/http-auth
namespace.
This class is immutable.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE
|
Constructor and Description |
---|
ConfirmationRequest(java.lang.String id,
java.lang.String method,
java.net.URL url)
Creates a confirmation request element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Gets the transaction identifier provided in the HTTP Authorization Request.
|
java.lang.String |
getMethod()
Gets the HTTP method.
|
java.net.URL |
getUrl()
Gets the URL to confirm.
|
public static final java.lang.String NAMESPACE
public ConfirmationRequest(java.lang.String id, java.lang.String method, java.net.URL url)
Creates a confirmation request element.
id
- The transaction identifier provided in the HTTP Authorization Requestmethod
- The method of HTTP request.url
- The URL that was requested.public final java.lang.String getId()
Gets the transaction identifier provided in the HTTP Authorization Request.
public final java.lang.String getMethod()
Gets the HTTP method.
public final java.net.URL getUrl()
Gets the URL to confirm.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.