All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redis.riot.file.UncustomizedUrlResource Maven / Gradle / Ivy

There is a newer version: 4.1.9
Show newest version
package com.redis.riot.file;

import org.springframework.core.io.UrlResource;

import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;

public class UncustomizedUrlResource extends UrlResource {

	public UncustomizedUrlResource(String path) throws MalformedURLException {
		super(path);
	}

	public UncustomizedUrlResource(URI uri) throws MalformedURLException {
		super(uri);
	}

	public UncustomizedUrlResource(URL url) {
		super(url);
	}

	@Override
	protected void customizeConnection(HttpURLConnection con) throws IOException {
		// do nothing
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy