|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.faunos.skwish.ext.http.SkwishHttpMountPoint
public class SkwishHttpMountPoint
Represents a skwish "mount" point on the HTTP server. A mount point defines a base (root) URL on the server from which one or more skwish SegmentStores can be accessed.
Method Summary | |
---|---|
void |
close()
Closes this instance and unregisters the associated skwish ResponseFactory from the Caroon HTTP server. |
boolean |
equals(Object o)
Equality semantics is based on the identity of the contained ResponseFactory. |
String |
getBaseUri()
Returns the base URI for this mount point on the HTTP server. |
Map<String,String> |
getRelativeUriToSkwishMappings()
Returns a map representing relative HTTP URI to skwish URI mappings. |
int |
hashCode()
Returns the hash code consistent with equals(Object). |
void |
mapRelativeUriToSkwish(String relHttpUri,
SegmentStore store)
Maps the given HTTP URI subpath to the specified store. |
void |
mapRelativeUriToSkwish(String relHttpUri,
String skwishUri)
Maps the given HTTP URI subpath to the specified skwish URI. |
void |
setRelativeUriToSkwishMappings(Map<String,String> mappings)
Sets the relative HTTP URI to skwish URI mappings. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void close() throws IOException
close
in interface Closeable
ConcurrentModificationException
- thrown on a best efforts basis
IOException
public String getBaseUri()
public void mapRelativeUriToSkwish(String relHttpUri, String skwishUri)
public void mapRelativeUriToSkwish(String relHttpUri, SegmentStore store)
public Map<String,String> getRelativeUriToSkwishMappings()
public void setRelativeUriToSkwishMappings(Map<String,String> mappings)
public final boolean equals(Object o)
equals
in class Object
public final int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |