public class DefaultParameterResolver extends Object implements ParameterResolverIF
Modifier and Type | Field and Description |
---|---|
protected OntopiaRestApplication |
application |
Constructor and Description |
---|
DefaultParameterResolver(OntopiaRestApplication application) |
Modifier and Type | Method and Description |
---|---|
<C> C |
resolve(TopicMapIF topicmap,
org.restlet.Request request,
String name,
Class<C> klass,
boolean allowNull) |
<C> C |
resolveAttribute(TopicMapIF topicmap,
org.restlet.Request request,
String attribute,
Class<C> klass,
boolean allowNull) |
protected final OntopiaRestApplication application
public DefaultParameterResolver(OntopiaRestApplication application)
public <C> C resolve(TopicMapIF topicmap, org.restlet.Request request, String name, Class<C> klass, boolean allowNull)
resolve
in interface ParameterResolverIF
public <C> C resolveAttribute(TopicMapIF topicmap, org.restlet.Request request, String attribute, Class<C> klass, boolean allowNull)