public class NotExistHttpResource extends AbstractHttpResource
HttpResource
.resourcePath
Constructor and Description |
---|
NotExistHttpResource(String path)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isExist()
Indicates if this
HttpResource exists. |
equals, getPath, hashCode
public NotExistHttpResource(String path)
path
- Path.public boolean isExist()
HttpResource
Indicates if this HttpResource
exists. Should this
HttpResource
not exist, only the path will be available.
This allows for caching of HttpResource
instances not existing.
It also enables implementations of ManagedObjectSource
instances
to provide the HttpResource
from a HttpRequest
dependency
- can always provide an instance with this indicating if exists.
true
if this HttpResource
exists.Copyright © 2005–2016. All rights reserved.