public abstract class AbstractJSONResource extends AbstractUserResource
Constructor and Description |
---|
AbstractJSONResource() |
Modifier and Type | Method and Description |
---|---|
void |
encode(javax.faces.context.FacesContext context) |
String |
getContentType() |
protected abstract Object |
getData(javax.faces.context.FacesContext context) |
getContentLength, getLastModified, getResponseHeaders
public String getContentType()
public void encode(javax.faces.context.FacesContext context) throws IOException
IOException
protected abstract Object getData(javax.faces.context.FacesContext context)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.