public String getConfigValue(String name, String value) { return this.attributeManager.getAttribute(name); }
public String getHeader(String headerName) { return this.attributeManager.getAttribute(headerName); }
/** * Gets an arbitrary attribute value from the service request * * @param name * @return */ public String getAttribute(String name) { return this.attributeManager.getAttribute(name); }
/** * Gets an arbitrary attribute value from the context * * @param name * @return */ public String getAttribute(String name) { return this.attributeManager.getAttribute(name); }
/** * Gets an arbitrary attribute value from the context * * @param name * @return */ public String getAttribute(String name) { return this.attributeManager.getAttribute(name); }
public String getFullName() { return this.attributeManager.getAttribute("fullname"); }
public String getMimeType() { return this.attributeManager.getAttribute("mime"); }
public List<String> getListAttribute(String name) { List<String> attribute = new ArrayList<String>(); String listMetaData = this.getAttribute(name); if(listMetaData != null && listMetaData.trim().length()>0) { int listSize = Integer.parseInt(listMetaData); for(int i=0; i<listSize; i++) { attribute.add(this.getAttribute(name+"["+i+"]")); } } return attribute; } }
public byte[] getPhoto() throws IOException { String photo = this.attributeManager.getAttribute("photo"); byte[] pic = Utilities.decodeBinaryData(photo); return pic; } }