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