Interface IResource
-
- All Superinterfaces:
IClusterable
,Serializable
- All Known Subinterfaces:
IStaticCacheableResource
- All Known Implementing Classes:
AbstractResource
,BaseDataResource
,BlobImageResource
,BufferedDynamicImageResource
,ByteArrayResource
,CaptchaImageResource
,CharSequenceResource
,ConcatBundleResource
,ContextRelativeResource
,CssPackageResource
,DefaultButtonImageResource
,DynamicImageResource
,FileSystemResource
,JavaScriptPackageResource
,PackageResource
,RenderedDynamicImageResource
,ResourceStreamResource
,ThumbnailImageResource
,WebSocketResource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IResource extends IClusterable
Resource is an object capable of writing output to response.- Author:
- Matej Knopp
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IResource.Attributes
Attributes that are provided to resource in therespond(Attributes)
method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
respond(IResource.Attributes attributes)
Renders this resource to response using the provided attributes.
-
-
-
Method Detail
-
respond
void respond(IResource.Attributes attributes)
Renders this resource to response using the provided attributes.- Parameters:
attributes
-
-
-