|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Forwarding
A Forwarding i-service. Each Forwarding i-service holds a mapping from relative XRIs to URIs. The keys in this mapping are paths, and the values are URIs. E.g. (+blog) --> http://blog.mysite.com A Forwarding i-service can also support an Index Page and an Error Page, if the appropriate flags are turned on.
| Method Summary | |
|---|---|
java.lang.Boolean |
getErrorPage()
Get a flag whether this Forwarding i-service should support an automatic error page at undefined mappings. |
java.lang.Boolean |
getIndexPage()
Get a flag whether this Forwarding i-service should support an automatic index page at /(+index). |
java.util.Map<java.lang.String,java.lang.String> |
getMappings()
Get the mappings associated with this Forwarding i-service. |
void |
setErrorPage(java.lang.Boolean errorPage)
Set a flag whether this Forwarding i-service should support an automatic error page at undefined mappings. |
void |
setIndexPage(java.lang.Boolean indexPage)
Set a flag whether this Forwarding i-service should support an automatic index page at /(+index). |
void |
setMappings(java.util.Map<java.lang.String,java.lang.String> mappings)
Set the mappings associated with this Forwarding i-service. |
| Methods inherited from interface ibrokerkit.iservicestore.store.IService |
|---|
getAttributes, getEnabled, getId, getIndx, getName, getQxri, getTimestamp, setAttributes, setEnabled, setIndx, setName, setQxri |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.lang.Boolean getIndexPage()
void setIndexPage(java.lang.Boolean indexPage)
indexPage - Index Page flag.java.lang.Boolean getErrorPage()
void setErrorPage(java.lang.Boolean errorPage)
errorPage - Error Page flag.java.util.Map<java.lang.String,java.lang.String> getMappings()
void setMappings(java.util.Map<java.lang.String,java.lang.String> mappings)
mappings - Mappings.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||