public final class ClassBased<R extends play.api.routing.Router> extends Object implements AdditionalRouter, scala.Product, scala.Serializable
| Constructor and Description |
|---|
ClassBased(Class<R> classType) |
ClassBased(Class<R> classType,
scala.Option<String> prefix) |
| Modifier and Type | Method and Description |
|---|---|
Class<R> |
classType() |
scala.Option<String> |
prefix() |
ClassBased<R> |
withPrefix(String path) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic scala.Option<String> prefix()
prefix in interface AdditionalRouterpublic ClassBased<R> withPrefix(String path)
withPrefix in interface AdditionalRouter