public class HttpResourceStream extends AbstractResourceStream implements IFixedLocationResourceStream
Constructor and Description |
---|
HttpResourceStream(ResponseHolder responseHolder) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getContentType() |
String |
getFilename() |
InputStream |
getInputStream() |
Bytes |
length() |
String |
locationAsString() |
getLocale, getStyle, getVariation, lastModifiedTime, setLocale, setStyle, setVariation
public HttpResourceStream(ResponseHolder responseHolder)
public InputStream getInputStream() throws ResourceStreamNotFoundException
getInputStream
in interface IResourceStream
ResourceStreamNotFoundException
public Bytes length()
length
in interface IResourceStream
length
in class AbstractResourceStream
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface IResourceStream
IOException
public String locationAsString()
locationAsString
in interface IFixedLocationResourceStream
public String getContentType()
getContentType
in interface IResourceStream
getContentType
in class AbstractResourceStream
public String getFilename()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.