Code example for ConcurrentHashMap

Methods: remove

     * Adds an input stream to the request. 
     * @param key the key name for the new param. 
     * @param stream the input stream to add. 
     * @param fileName the name of the file. 
     * @param contentType the content type of the file, eg. application/json 
    public void put(String key, InputStream stream, String fileName, String contentType) {
        if(key != null && stream != null) {
            fileParams.put(key, new FileWrapper(stream, fileName, contentType));
     * Removes a parameter from the request. 
     * @param key the key name for the parameter to remove. 
    public void remove(String key){
Contextual code suggestions in your IDE  Get Codota for Java