Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.2.1.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.resource
Class AbstractJSONResource

    java.lang.Object
      org.richfaces.resource.AbstractUserResource
          org.richfaces.resource.AbstractJSONResource

All Implemented Interfaces:
  ContentProducerResource, UserResource

    public abstract class AbstractJSONResource

extends AbstractUserResource

Author:
  Nick Belaevski

Constructor Summary
`AbstractJSONResource()`

Method Summary
`void` | `encode(javax.faces.context.FacesContext context)`
`String` | `getContentType()`
`protected abstract Object` | `getData(javax.faces.context.FacesContext context)`

Methods inherited from class org.richfaces.resource.AbstractUserResource
`getContentLength, getLastModified, getResponseHeaders`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractJSONResource

    public AbstractJSONResource()

Method Detail

### getContentType

    public String getContentType()

### encode

    public void encode(javax.faces.context.FacesContext context)
                throws IOException

  Throws:
    `IOException`

### getData

    protected abstract Object getData(javax.faces.context.FacesContext context)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.2.1.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.