2 * © 2008 INA Service GmbH
4 package net.pterodactylus.util.fcp;
7 * The “URIGenerated” message signals the client that an URI was generated for a
8 * {@link ClientPut} (or {@link ClientPutDiskDir} or {@link ClientPutComplexDir})
11 * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
14 public class URIGenerated extends BaseMessage {
17 * Creates a new “URIGenerated” message that wraps the received message.
19 * @param receivedMessage
20 * The received message
22 public URIGenerated(FcpMessage receivedMessage) {
23 super(receivedMessage);
27 * Returns the identifier of the request that generated an URI.
29 * @return The identifier of the request
31 public String getIdentifier() {
32 return getField("Identifier");
36 * Returns the URI that was generated by the request.
38 * @return The URI that was generated by the request
40 public String getURI() {
41 return getField("URI");