public abstract class AbstractHttpResource extends Object implements HttpResource
HttpResource
.Modifier and Type | Field and Description |
---|---|
protected String |
resourcePath
Resource path.
|
Constructor and Description |
---|
AbstractHttpResource(String resourcePath)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPath()
Obtains the Request URI path to this
HttpResource . |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isExist
protected String resourcePath
public AbstractHttpResource(String resourcePath)
resourcePath
- Resource path.public String getPath()
HttpResource
Obtains the Request URI path to this HttpResource
.
The path is canonical to allow using it as a key for caching this
HttpResource
.
getPath
in interface HttpResource
HttpResource
.Copyright © 2005–2016. All rights reserved.