Package org.springframework.boot.origin
Class OriginTrackedResource.OriginTrackedWritableResource
java.lang.Object
org.springframework.boot.origin.OriginTrackedResource
org.springframework.boot.origin.OriginTrackedResource.OriginTrackedWritableResource
- All Implemented Interfaces:
OriginProvider
,org.springframework.core.io.InputStreamSource
,org.springframework.core.io.Resource
,org.springframework.core.io.WritableResource
- Enclosing class:
- OriginTrackedResource
public static class OriginTrackedResource.OriginTrackedWritableResource
extends OriginTrackedResource
implements org.springframework.core.io.WritableResource
Variant of
OriginTrackedResource
for WritableResource
instances.-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.boot.origin.OriginTrackedResource
OriginTrackedResource.OriginTrackedWritableResource
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.io.WritableResource
Methods inherited from class org.springframework.boot.origin.OriginTrackedResource
contentLength, createRelative, equals, exists, getDescription, getFile, getFilename, getInputStream, getOrigin, getURI, getURL, hashCode, isFile, isOpen, isReadable, lastModified, of, of, readableChannel, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.core.io.InputStreamSource
getInputStream
Methods inherited from interface org.springframework.core.io.Resource
contentLength, createRelative, exists, getDescription, getFile, getFilename, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel
Methods inherited from interface org.springframework.core.io.WritableResource
isWritable, writableChannel
-
Method Details
-
getResource
public org.springframework.core.io.WritableResource getResource()- Overrides:
getResource
in classOriginTrackedResource
-
getOutputStream
- Specified by:
getOutputStream
in interfaceorg.springframework.core.io.WritableResource
- Throws:
IOException
-