@Override public String[] run() { return request.getParameterValues(name); } }
@Override public String[] run() { return request.getParameterValues(name); } }
@Override public String[] run() { return request.getParameterValues(name); } }
@Override public String[] run() { return request.getParameterValues(name); } }
@Override public String[] run() { return request.getParameterValues(name); } }
@Override public String[] run() { return request.getParameterValues(name); } }
@Override public String[] run() { return request.getParameterValues(name); } }
@Override public String[] run() { return request.getParameterValues(name); } }
public Object run() { return request.getParameterValues(name); } }
public Object run() { return request.getParameterValues(name); } }
public Object run() { return request.getParameterValues(name); } }
public String[] run() { return request.getParameterValues(name); } }
/* */ public Map getParameterMap() /* */ { /* 1059 */ if (this.parameterMap.isLocked()) { /* 1060 */ return this.parameterMap; /* */ } /* 1062 */ Enumeration enumeration = getParameterNames(); /* 1063 */ while (enumeration.hasMoreElements()) { /* 1064 */ String name = enumeration.nextElement().toString(); /* 1065 */ String[] values = getParameterValues(name); /* 1066 */ this.parameterMap.put(name, values); /* */ } /* */ /* 1069 */ this.parameterMap.setLocked(true); /* */ /* 1071 */ return this.parameterMap; /* */ } /* */
/** * Returns a <code>Map</code> of the parameters of this request. * Request parameters are extra information sent with the request. * For HTTP servlets, parameters are contained in the query string * or posted form data. * * @return A <code>Map</code> containing parameter names as keys * and parameter values as map values. */ public Map getParameterMap() { if (parameterMap.isLocked()) return parameterMap; Enumeration enumeration = getParameterNames(); while (enumeration.hasMoreElements()) { String name = enumeration.nextElement().toString(); String[] values = getParameterValues(name); parameterMap.put(name, values); } parameterMap.setLocked(true); return parameterMap; }
@Override public String[] getParameterValues(String name) { if (request == null) { throw new IllegalStateException( sm.getString("requestFacade.nullRequest")); } String[] ret = null; /* * Clone the returned array only if there is a security manager * in place, so that performance won't suffer in the non-secure case */ if (SecurityUtil.isPackageProtectionEnabled()){ ret = AccessController.doPrivileged( new GetParameterValuePrivilegedAction(name)); if (ret != null) { ret = ret.clone(); } } else { ret = request.getParameterValues(name); } return ret; }
/** * Returns a <code>Map</code> of the parameters of this request. * Request parameters are extra information sent with the request. * For HTTP servlets, parameters are contained in the query string * or posted form data. * * @return A <code>Map</code> containing parameter names as keys * and parameter values as map values. */ @Override public Map<String, String[]> getParameterMap() { if (parameterMap.isLocked()) return parameterMap; Enumeration<String> enumeration = getParameterNames(); while (enumeration.hasMoreElements()) { String name = enumeration.nextElement(); String[] values = getParameterValues(name); parameterMap.put(name, values); } parameterMap.setLocked(true); return parameterMap; }
/** * Returns a <code>Map</code> of the parameters of this request. * Request parameters are extra information sent with the request. * For HTTP servlets, parameters are contained in the query string * or posted form data. * * @return A <code>Map</code> containing parameter names as keys * and parameter values as map values. */ @Override public Map<String, String[]> getParameterMap() { if (parameterMap.isLocked()) { return parameterMap; } Enumeration<String> enumeration = getParameterNames(); while (enumeration.hasMoreElements()) { String name = enumeration.nextElement(); String[] values = getParameterValues(name); parameterMap.put(name, values); } parameterMap.setLocked(true); return parameterMap; }
public String[] getParameterValues(String name) { if (request == null) { throw new IllegalStateException( sm.getString("requestFacade.nullRequest")); } String[] ret = null; /* * Clone the returned array only if there is a security manager * in place, so that performance won't suffer in the nonsecure case */ if (SecurityUtil.isPackageProtectionEnabled()){ ret = (String[]) AccessController.doPrivileged( new GetParameterValuePrivilegedAction(name)); if (ret != null) { ret = (String[]) ret.clone(); } } else { ret = request.getParameterValues(name); } return ret; }
@Override public String[] getParameterValues(String name) { if (request == null) { throw new IllegalStateException( sm.getString("requestFacade.nullRequest")); } String[] ret = null; /* * Clone the returned array only if there is a security manager * in place, so that performance won't suffer in the non-secure case */ if (SecurityUtil.isPackageProtectionEnabled()){ ret = AccessController.doPrivileged( new GetParameterValuePrivilegedAction(name)); if (ret != null) { ret = ret.clone(); } } else { ret = request.getParameterValues(name); } return ret; }
public String[] getParameterValues(String name) { if (request == null) { throw MESSAGES.nullRequestFacade(); } String[] ret = null; /* * Clone the returned array only if there is a security manager * in place, so that performance won't suffer in the nonsecure case */ if (SecurityUtil.isPackageProtectionEnabled()){ ret = (String[]) AccessController.doPrivileged( new GetParameterValuePrivilegedAction(name)); if (ret != null) { ret = (String[]) ret.clone(); } } else { ret = request.getParameterValues(name); } return ret; }