@Override public Map<String, String> getInitParameters() { ParameterMap<String,String> result = new ParameterMap<String,String>(); String[] parameterNames = wrapper.findInitParameters(); for (String parameterName : parameterNames) { result.put(parameterName, wrapper.findInitParameter(parameterName)); } result.setLocked(true); return result; }
/** * Parses the parameters of this request. * * If parameters are present in both the query string and the request * content, they are merged. */ void parseParameters() { if (parsedParams) { return; } parameters = new ParameterMap<String, String[]>(); parameters.putAll(getRequest().getParameterMap()); mergeParameters(); ((ParameterMap<String,String[]>) parameters).setLocked(true); parsedParams = true; }
@Override public Map<String, String> getInitParameters() { ParameterMap<String,String> result = new ParameterMap<String,String>(); result.putAll(filterDef.getParameterMap()); result.setLocked(true); return result; }
@Override public Map<String, String> getInitParameters() { ParameterMap<String, String> result = new ParameterMap<String, String>(); String[] parameterNames = wrapper.findInitParameters(); for (String parameterName : parameterNames) { result.put(parameterName, wrapper.findInitParameter(parameterName)); } result.setLocked(true); return result; }
/** * Parses the parameters of this request. * * If parameters are present in both the query string and the request * content, they are merged. */ void parseParameters() { if (parsedParams) { return; } parameters = new ParameterMap<String, String[]>(); parameters.putAll(getRequest().getParameterMap()); mergeParameters(); ((ParameterMap<String, String[]>) parameters).setLocked(true); parsedParams = true; }
@Override public Map<String, String> getInitParameters() { ParameterMap<String, String> result = new ParameterMap<String, String>(); result.putAll(filterDef.getParameterMap()); result.setLocked(true); return result; }
/** * Release all object references, and initialize instance variables, in * preparation for reuse of this object. */ public void recycle() { context = null; wrapper = null; dispatcherType = null; requestDispatcherPath = null; comet = false; if (event != null) { event.clear(); event = null; } authType = null; inputBuffer.recycle(); usingInputStream = false; usingReader = false; userPrincipal = null; subject = null; sessionParsed = false; parametersParsed = false; cookiesParsed = false; locales.clear(); localesParsed = false; secure = false; remoteAddr = null; remoteHost = null; remotePort = -1; localPort = -1; localAddr = null; localName = null; attributes.clear(); notes.clear(); cookies = null; if (session != null) { session.endAccess(); } session = null; requestedSessionCookie = false; requestedSessionId = null; requestedSessionURL = false; if (Globals.IS_SECURITY_ENABLED || Connector.RECYCLE_FACADES) { parameterMap = new ParameterMap(); } else { parameterMap.setLocked(false); parameterMap.clear(); } mappingData.recycle(); if (Globals.IS_SECURITY_ENABLED || Connector.RECYCLE_FACADES) { if (facade != null) { facade.clear(); facade = null; } if (inputStream != null) { inputStream.clear(); inputStream = null; } if (reader != null) { reader.clear(); reader = null; } } }