final GetMethod getMethod = new GetMethod();
setupMethod(getMethod);
final int status = getAbstractFileSystem().getClient().executeMethod(getMethod);
if (status == HttpURLConnection.HTTP_NOT_FOUND)
{
throw new FileNotFoundException(getName());
}
if (status != HttpURLConnection.HTTP_OK)
{
throw new FileSystemException("vfs.provider.http/get.error", getName(), Integer.valueOf(status));
}