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 void
close()
String
getContentType()
String
getFilename()
InputStream
getInputStream()
Bytes
length()
String
locationAsString()
-
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:
getInputStream
in interfaceIResourceStream
- Throws:
ResourceStreamNotFoundException
-
length
public Bytes length()
- Specified by:
length
in interfaceIResourceStream
- Overrides:
length
in classAbstractResourceStream
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceIResourceStream
- Throws:
IOException
-
locationAsString
public String locationAsString()
- Specified by:
locationAsString
in interfaceIFixedLocationResourceStream
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceIResourceStream
- Overrides:
getContentType
in classAbstractResourceStream
-
getFilename
public String getFilename()
-
-