|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectza.org.coefficient.util.common.HardURLConverterChainUtil
public class HardURLConverterChainUtil
| Field Summary | |
|---|---|
private static HardURLConverter |
converter
|
| Constructor Summary | |
|---|---|
HardURLConverterChainUtil()
|
|
| Method Summary | |
|---|---|
static void |
addConverter(HardURLConverter val)
This method is used to register a new URL converter into the chain. |
static java.lang.String |
execute(java.lang.String url)
Will pass the url throught the registered URL converters returing a new converted URL if one of the converters could handle the url. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static HardURLConverter converter
| Constructor Detail |
|---|
public HardURLConverterChainUtil()
| Method Detail |
|---|
public static void addConverter(HardURLConverter val)
val - is the implementation of HardURLConverter to add to the
chain.public static java.lang.String execute(java.lang.String url)
url - is the URL that came in the request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||