X-Git-Url: https://git.pterodactylus.net/?p=jSite2.git;a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fcore%2FRequest.java;h=a61bb94ef0a11f571890dcaac97e67c7e1d31d99;hp=2c79856d7436118a9ba4fbe42791f04319038271;hb=c63257e8cc0ba1a5aca9364b22171abe7279d479;hpb=55be4a9e8373d72a9e1c25a3c8150651bb19679d diff --git a/src/net/pterodactylus/jsite/core/Request.java b/src/net/pterodactylus/jsite/core/Request.java index 2c79856..a61bb94 100644 --- a/src/net/pterodactylus/jsite/core/Request.java +++ b/src/net/pterodactylus/jsite/core/Request.java @@ -23,14 +23,14 @@ import net.pterodactylus.util.beans.AbstractBean; /** * A request is an ongoing download or upload reported by the freenet node. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public class Request extends AbstractBean { /** * The type of a request. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public enum Type { @@ -129,7 +129,7 @@ public class Request extends AbstractBean { /** * Creates a new request with the given identifier. - * + * * @param node * The node the request belongs to * @param identifier @@ -146,7 +146,7 @@ public class Request extends AbstractBean { /** * Returns the node the request belongs to. - * + * * @return The node the request belongs to */ public Node getNode() { @@ -155,7 +155,7 @@ public class Request extends AbstractBean { /** * Returns the identifier of the request. It is unique per node. - * + * * @return The identifier of the request */ public String getIdentifier() { @@ -164,7 +164,7 @@ public class Request extends AbstractBean { /** * Returns the type of the request. - * + * * @return The type of the request */ @@ -174,7 +174,7 @@ public class Request extends AbstractBean { /** * Sets the type of the request. - * + * * @param type * The type of the request */ @@ -186,7 +186,7 @@ public class Request extends AbstractBean { /** * Returns the client token of the request. - * + * * @return The client token of the request */ public String getClientToken() { @@ -195,7 +195,7 @@ public class Request extends AbstractBean { /** * Sets the client token of the request. - * + * * @param clientToken * The client token of the request */ @@ -207,7 +207,7 @@ public class Request extends AbstractBean { /** * Returns whether the request has finished. - * + * * @see #isSuccessful() * @return true if the request is finished, * false otherwise @@ -218,7 +218,7 @@ public class Request extends AbstractBean { /** * Sets whether the request has finished. - * + * * @param finished * true if the request has finished, * false otherwise @@ -232,7 +232,7 @@ public class Request extends AbstractBean { /** * Returns whether the request finished successfully. This value will only * have meaning if {@link #isFinished()} returns true. - * + * * @return true if the request finished successfully, * false otherwise */ @@ -242,7 +242,7 @@ public class Request extends AbstractBean { /** * Sets whether this request finished successfully. - * + * * @param successful * true if the request finished successfully, * false otherwise @@ -256,7 +256,7 @@ public class Request extends AbstractBean { /** * Returns whether the data inserted by this {@link Type#put} or * {@link Type#putDir} request is already fetchable by other clients. - * + * * @return true if the data is already fetchable, * false otherwise */ @@ -267,7 +267,7 @@ public class Request extends AbstractBean { /** * Sets whether the data inserted by this {@link Type#put} or * {@link Type#putDir} request is already fetchable by other clients. - * + * * @param fetchable * true if the data is already fetchable, * false otherwise @@ -280,7 +280,7 @@ public class Request extends AbstractBean { /** * Returns the URI generated by this request. - * + * * @return The generated URI */ public String getURI() { @@ -289,7 +289,7 @@ public class Request extends AbstractBean { /** * Sets the URI generated by this request. - * + * * @param uri * The generated URI */ @@ -301,7 +301,7 @@ public class Request extends AbstractBean { * Returns the total number of blocks of a request. Until * {@link #isTotalFinalized()} returns true this value may * change! - * + * * @return The total number of blocks of a request */ public int getTotalBlocks() { @@ -310,7 +310,7 @@ public class Request extends AbstractBean { /** * Sets the total number of blocks of a request. - * + * * @param totalBlocks * The total number of blocks */