Class HttpResourceStream
- java.lang.Object
-
- org.apache.wicket.util.resource.AbstractResourceStream
-
- org.apache.syncope.client.ui.commons.HttpResourceStream
-
- All Implemented Interfaces:
Closeable,Serializable,AutoCloseable,IClusterable,IFixedLocationResourceStream,IResourceStream,IModifiable
public class HttpResourceStream extends AbstractResourceStream implements IFixedLocationResourceStream
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpResourceStream(ResponseHolder responseHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()StringgetContentType()StringgetFilename()InputStreamgetInputStream()Byteslength()StringlocationAsString()-
Methods inherited from class org.apache.wicket.util.resource.AbstractResourceStream
getLocale, getStyle, getVariation, lastModifiedTime, setLocale, setStyle, setVariation
-
-
-
-
Constructor Detail
-
HttpResourceStream
public HttpResourceStream(ResponseHolder responseHolder)
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws ResourceStreamNotFoundException
- Specified by:
getInputStreamin interfaceIResourceStream- Throws:
ResourceStreamNotFoundException
-
length
public Bytes length()
- Specified by:
lengthin interfaceIResourceStream- Overrides:
lengthin classAbstractResourceStream
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceIResourceStream- Throws:
IOException
-
locationAsString
public String locationAsString()
- Specified by:
locationAsStringin interfaceIFixedLocationResourceStream
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceIResourceStream- Overrides:
getContentTypein classAbstractResourceStream
-
getFilename
public String getFilename()
-
-