public interface ResourceStateHandler
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ResourceStateHandler.ResourceState
Contains state information about a given rest URI
|
| Modifier and Type | Method and Description |
|---|---|
ResourceStateHandler.ResourceState |
add(String uri,
long dateModified,
long expires,
String etag)
Add state information about one rest URI
|
void |
clear()
Clear all state information from rest URIs
|
ResourceStateHandler.ResourceState |
get(String uri)
Retrieve state information about one rest URI
|
void |
remove(String uri)
Clear the state information about one rest URI
|
void |
removeSegments(String... baseURIs)
Clear the state information about any rest URI that starts with one of the baseURIs provided
|
ResourceStateHandler.ResourceState add(String uri, long dateModified, long expires, String etag)
uri - dateModified - expires - etag - ResourceStateHandler.ResourceState get(String uri)
uri - void remove(String uri)
uri - void removeSegments(String... baseURIs)
baseURIs - void clear()
Copyright © 2016. All rights reserved.