From 8cc98c6a21ffdd97f9546a9f4fafdb1baceeebba Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 23 May 2009 17:35:20 +0200 Subject: [PATCH 1/1] Add client token. --- src/net/pterodactylus/jsite/core/Request.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/net/pterodactylus/jsite/core/Request.java b/src/net/pterodactylus/jsite/core/Request.java index 6aa9018..395bce1 100644 --- a/src/net/pterodactylus/jsite/core/Request.java +++ b/src/net/pterodactylus/jsite/core/Request.java @@ -29,6 +29,9 @@ public class Request { /** The ID of the request. */ private final String id; + /** The client token of the request. */ + private String clientToken; + /** * Creates a new request. * @@ -48,4 +51,23 @@ public class Request { return id; } + /** + * Returns the client token of the request. + * + * @return The request’s client token + */ + public String getClientToken() { + return clientToken; + } + + /** + * Sets the client token of the request + * + * @param clientToken + * The request’s new client token + */ + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + } + } -- 2.7.4