play.mvc
Interface PathBindable<T>


public interface PathBindable<T>

Binder for URL path parameters.


Method Summary
 T bind(java.lang.String key, java.lang.String txt)
          Bind an URL path parameter.
 java.lang.String javascriptUnbind()
          Javascript function to unbind in the Javascript router.
 java.lang.String unbind(java.lang.String key)
          Unbind a URL path parameter.
 

Method Detail

bind

T bind(java.lang.String key,
       java.lang.String txt)
Bind an URL path parameter.

Parameters:
key - Parameter key
value - The value as String (extracted from the URL path)

unbind

java.lang.String unbind(java.lang.String key)
Unbind a URL path parameter.

Parameters:
key - Parameter key
value - Parameter value.

javascriptUnbind

java.lang.String javascriptUnbind()
Javascript function to unbind in the Javascript router.