public class HttpResourceStream
extends org.apache.wicket.util.resource.AbstractResourceStream
implements org.apache.wicket.util.resource.IFixedLocationResourceStream
| Constructor and Description |
|---|
HttpResourceStream(ResponseHolder responseHolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getContentType() |
String |
getFilename() |
InputStream |
getInputStream() |
org.apache.wicket.util.lang.Bytes |
length() |
String |
locationAsString() |
public HttpResourceStream(ResponseHolder responseHolder)
public InputStream getInputStream() throws org.apache.wicket.util.resource.ResourceStreamNotFoundException
getInputStream in interface org.apache.wicket.util.resource.IResourceStreamorg.apache.wicket.util.resource.ResourceStreamNotFoundExceptionpublic org.apache.wicket.util.lang.Bytes length()
length in interface org.apache.wicket.util.resource.IResourceStreamlength in class org.apache.wicket.util.resource.AbstractResourceStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.wicket.util.resource.IResourceStreamIOExceptionpublic String locationAsString()
locationAsString in interface org.apache.wicket.util.resource.IFixedLocationResourceStreampublic String getContentType()
getContentType in interface org.apache.wicket.util.resource.IResourceStreamgetContentType in class org.apache.wicket.util.resource.AbstractResourceStreampublic String getFilename()
Copyright © 2020–2023. All rights reserved.