@Deprecated public class HeaderDocEvaluationContext extends Object implements RestEvaluationContext
Constructor and Description |
---|
HeaderDocEvaluationContext(DocumentModel doc,
javax.ws.rs.core.HttpHeaders headers,
javax.servlet.ServletRequest request)
Deprecated.
Creates the evaluation context.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
getDocumentModel()
Deprecated.
Gives the contextual document
|
javax.ws.rs.core.HttpHeaders |
getHeaders()
Deprecated.
Returns the request headers.
|
javax.servlet.ServletRequest |
getRequest()
Deprecated.
Returns the request that is currently served.
|
public HeaderDocEvaluationContext(DocumentModel doc, javax.ws.rs.core.HttpHeaders headers, javax.servlet.ServletRequest request)
doc
- headers
- public DocumentModel getDocumentModel()
RestEvaluationContext
getDocumentModel
in interface RestEvaluationContext
public javax.ws.rs.core.HttpHeaders getHeaders()
RestEvaluationContext
getHeaders
in interface RestEvaluationContext
public javax.servlet.ServletRequest getRequest()
RestEvaluationContext
getRequest
in interface RestEvaluationContext
Copyright © 2015 Nuxeo SA. All rights reserved.