/** * Returns the parameter with the specified name. If no such parameter exists, will * return null. **/ public String[] getParameter( String name ) { if (_parameters == null) { if (_command.equalsIgnoreCase( "GET" ) || _command.equalsIgnoreCase( "HEAD" )) { _parameters = readParameters( getParameterString( _uri ) ); } else { _parameters = readParameters( new String( getBody() ) ); } } return (String[]) _parameters.get( name ); }
/** * Returns the parameter with the specified name. If no such parameter exists, will * return null. **/ public String[] getParameter( String name ) { if (_parameters == null) { if (_command.equalsIgnoreCase( "GET" ) || _command.equalsIgnoreCase( "HEAD" )) { _parameters = readParameters( getParameterString( _uri ) ); } else { _parameters = readParameters( new String( getBody() ) ); } } return (String[]) _parameters.get( name ); }
/** * Returns the parameter with the specified name. If no such parameter exists, will * return null. **/ public String[] getParameter( String name ) { if (_parameters == null) { if (_command.equalsIgnoreCase( "GET" ) || _command.equalsIgnoreCase( "HEAD" )) { _parameters = readParameters( getParameterString( _uri ) ); } else { _parameters = readParameters( new String( getBody() ) ); } } return (String[]) _parameters.get( name ); }