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

org.webpieces.router.impl.dto.RenderStaticResponse Maven / Gradle / Ivy

package org.webpieces.router.impl.dto;

import java.io.File;

import org.webpieces.util.file.VirtualFile;

public class RenderStaticResponse {

	private File targetCache;
	private boolean isOnClassPath;
	
	private VirtualFile filePath;
	private String relativeUrl;

	public RenderStaticResponse(File targetCache, boolean isOnClassPath) {
		this.targetCache = targetCache;
		this.isOnClassPath = isOnClassPath;
	}
	
	public boolean isOnClassPath() {
		return isOnClassPath;
	}

	public VirtualFile getFilePath() {
		return filePath;
	}

	public void setFilePath(VirtualFile filePath) {
		this.filePath = filePath;
	}

	public File getTargetCache() {
		return targetCache;
	}

	public void setFileAndRelativePath(VirtualFile fullPath, String relativeUrl) {
		this.filePath = fullPath;
		this.relativeUrl = relativeUrl;
	}

	public String getRelativeUrl() {
		return relativeUrl;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy