public class GeneratedResource
extends org.springframework.security.util.InMemoryResource
ResourceHttpRequestHandler.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
hashRepresentation |
protected long |
timeGenerated |
| Constructor and Description |
|---|
GeneratedResource(byte[] source,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilename() |
java.lang.String |
getHashRepresentation() |
long |
lastModified() |
void |
setHashRepresentation(java.lang.String hashRepresentation) |
equals, getDescription, getInputStream, hashCodeprotected long timeGenerated
protected java.lang.String hashRepresentation
public GeneratedResource(byte[] source,
java.lang.String description)
public java.lang.String getFilename()
getFilename in interface org.springframework.core.io.ResourcegetFilename in class org.springframework.core.io.AbstractResourcepublic long lastModified()
throws java.io.IOException
lastModified in interface org.springframework.core.io.ResourcelastModified in class org.springframework.core.io.AbstractResourcejava.io.IOExceptionpublic java.lang.String getHashRepresentation()
public void setHashRepresentation(java.lang.String hashRepresentation)
Copyright © 2018. All Rights Reserved.