1 package org.jahia.clipbuilder.html.web.Url; 2 3 8 public class URLWrapper { 9 private String sourceUrl; 10 private String from; 11 private String method; 12 private String hash; 13 private String enctype; 14 15 16 19 public URLWrapper() { 20 } 21 22 23 32 public URLWrapper(String src, String from, String method, String mimeType, String hash) { 33 setSourceUrl(src); 34 setFrom(from); 35 setMethod(method); 36 setEnctype(mimeType); 37 setHash(hash); 38 } 39 40 41 46 public void setSourceUrl(String sourceUrl) { 47 this.sourceUrl = sourceUrl; 48 } 49 50 51 56 public void setFrom(String from) { 57 this.from = from; 58 } 59 60 61 66 public void setMethod(String method) { 67 this.method = method; 68 } 69 70 71 76 public void setEnctype(String enctype) { 77 this.enctype = enctype; 78 } 79 80 81 86 public void setHash(String hash) { 87 this.hash = hash; 88 } 89 90 91 96 public String getSourceUrl() { 97 return sourceUrl; 98 } 99 100 101 106 public String getFrom() { 107 return from; 108 } 109 110 111 116 public String getMethod() { 117 return method; 118 } 119 120 121 126 public String getEnctype() { 127 return enctype; 128 } 129 130 131 136 public String getHash() { 137 return hash; 138 } 139 140 } 141 | Popular Tags |