X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fcore%2FRequest.java;fp=src%2Fnet%2Fpterodactylus%2Fjsite%2Fcore%2FRequest.java;h=395bce11ea350e88d9c73b23b94b9420d9a8c12e;hb=8cc98c6a21ffdd97f9546a9f4fafdb1baceeebba;hp=6aa90186b368d508f8081dd0205cbab703029d3e;hpb=c4ecc65b0832a2edce1a043db39a7c678e218af9;p=jSite2.git 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; + } + }