public class SpringWritableResourceWrapper extends SpringResourceWrapper implements WritableResource
WritableResource to a pac4j WritableResource.springResource| Constructor and Description |
|---|
SpringWritableResourceWrapper(org.springframework.core.io.Resource springResource) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream()
Return an
OutputStream for the underlying resource, allowing to
(over-)write its content. |
exists, getFile, getFilename, getInputStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexists, getFile, getFilename, getInputStreampublic SpringWritableResourceWrapper(org.springframework.core.io.Resource springResource)
public OutputStream getOutputStream() throws IOException
WritableResourceOutputStream for the underlying resource, allowing to
(over-)write its content.
Caller is responsible for closing the streamgetOutputStream in interface WritableResourcenull)IOException - if the stream could not be openedResource.getInputStream()Copyright © 2016. All rights reserved.