|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRequestTargetMounter
Defines the contract for mounting request targets to paths.
| Method Summary | |
|---|---|
void |
addIgnoreMountPath(java.lang.String path)
Partly unmounts/ignores a path that normally would map to another mount path. |
void |
mount(IRequestTargetUrlCodingStrategy urlCodingStrategy)
Mounts a request target with the given path. |
java.lang.CharSequence |
pathForTarget(IRequestTarget requestTarget)
Gets the url that the provided request target conforms to. |
IRequestTarget |
targetForRequest(RequestParameters requestParameters)
Gets the request target that conforms to the given request parameters. |
void |
unmount(java.lang.String path)
Unmounts a request target. |
IRequestTargetUrlCodingStrategy |
urlCodingStrategyForPath(java.lang.String path)
Gets the encoder that was mounted on the provided path if any. |
| Method Detail |
|---|
void mount(IRequestTargetUrlCodingStrategy urlCodingStrategy)
urlCodingStrategy - The strategy to use for encoding and decoding urlsvoid addIgnoreMountPath(java.lang.String path)
path - the path that should be ignored.java.lang.CharSequence pathForTarget(IRequestTarget requestTarget)
requestTarget - the request target
IRequestTarget targetForRequest(RequestParameters requestParameters)
requestParameters - the request parameters
void unmount(java.lang.String path)
path - the path to unmountIRequestTargetUrlCodingStrategy urlCodingStrategyForPath(java.lang.String path)
path - the path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||