public abstract class AbstractNegotiator extends Object implements Negotiator
Negotiator.NEGOTIATION_OBJECT| Modifier and Type | Field and Description |
|---|---|
protected Object |
context |
protected javax.servlet.http.HttpServletRequest |
request |
protected String |
strategy |
NEGOTIATION_RESULT_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNegotiator(String strategy,
Object context,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSpec() |
abstract String |
getTemplateEngineName() |
String |
negotiate(String object) |
protected final javax.servlet.http.HttpServletRequest request
protected AbstractNegotiator(String strategy, Object context, javax.servlet.http.HttpServletRequest request)
public abstract String getTemplateEngineName()
public final String getSpec() throws NegotiationException
getSpec in interface NegotiatorNegotiationExceptionpublic final String negotiate(String object) throws NegotiationException
negotiate in interface NegotiatorNegotiationExceptionCopyright © 2015 Nuxeo SA. All rights reserved.