PartialResponseWriter decorates an existing ResponseWriter to support the generation of
a partial response suitable for Ajax operations. In addition to the markup generation methods inherited from
jakarta.faces.context.ResponseWriter, this class provides methods for constructing the standard partial
response elements.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| public static final String | RENDER_ALL_MARKER
Reserved ID value to indicate entire ViewRoot. |
| public static final String | VIEW_STATE_MARKER
Reserved ID value to indicate serialized ViewState. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public void | endDocument()
Overrides jakarta. Write the end of a partial response. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | |
| private void | |
| public void | startDocument()
Overrides jakarta. Write the start of a partial response. |
| public void | |
| public void | |
| public void | startExtension(Map<String, String>
String name/value pairs for extension element attributes attributes)Write the start of an extension operation. |
| public void | startInsertAfter(String
ID of the node insertion should occur after targetId)Write the start of an insert operation where the contents will be inserted after the specified target node. |
| public void | startInsertBefore(String
ID of the node insertion should occur before targetId)Write the start of an insert operation where the contents will be inserted before the specified target node. |
| public void | |
| public void | updateAttributes(String
ID of the node to be updated targetId, Map<String, String> Map of attribute name/value pairs to be updated attributes)Write an attribute update operation. |
| inChanges | back to summary |
|---|---|
| private boolean inChanges | |
| inInsertAfter | back to summary |
|---|---|
| private boolean inInsertAfter | |
| inInsertBefore | back to summary |
|---|---|
| private boolean inInsertBefore | |
| inUpdate | back to summary |
|---|---|
| private boolean inUpdate | |
| RENDER_ALL_MARKER | back to summary |
|---|---|
| public static final String RENDER_ALL_MARKER Reserved ID value to indicate entire ViewRoot.
| |
| VIEW_STATE_MARKER | back to summary |
|---|---|
| public static final String VIEW_STATE_MARKER Reserved ID value to indicate serialized ViewState.
| |
| PartialResponseWriter | back to summary |
|---|---|
| public PartialResponseWriter(ResponseWriter writer)
Create a
| |
| delete | back to summary |
|---|---|
| public void delete(String targetId) throws IOException Write a delete operation.
| |
| endChangesIfNecessary | back to summary |
|---|---|
| private void endChangesIfNecessary() throws IOException | |
| endDocument | back to summary |
|---|---|
| public void endDocument() throws IOException Overrides jakarta. Write the end of a partial response.
| |
| endError | back to summary |
|---|---|
| public void endError() throws IOException Write the end of an error.
| |
| endEval | back to summary |
|---|---|
| public void endEval() throws IOException Write the end of an eval operation.
| |
| endExtension | back to summary |
|---|---|
| public void endExtension() throws IOException Write the end of an extension operation.
| |
| endInsert | back to summary |
|---|---|
| public void endInsert() throws IOException Write the end of an insert operation.
| |
| endUpdate | back to summary |
|---|---|
| public void endUpdate() throws IOException Write the end of an update operation.
| |
| endUpdateIfNecessary | back to summary |
|---|---|
| private void endUpdateIfNecessary() throws IOException | |
| redirect | back to summary |
|---|---|
| public void redirect(String url) throws IOException Write a redirect operation.
| |
| startChangesIfNecessary | back to summary |
|---|---|
| private void startChangesIfNecessary() throws IOException | |
| startDocument | back to summary |
|---|---|
| public void startDocument() throws IOException Overrides jakarta. Write the start of a partial response.
If
| |
| startError | back to summary |
|---|---|
| public void startError(String errorName) throws IOException Write the start of an error.
| |
| startEval | back to summary |
|---|---|
| public void startEval() throws IOException Write the start of an eval operation.
| |
| startExtension | back to summary |
|---|---|
| public void startExtension(Map<String, String> attributes) throws IOException Write the start of an extension operation.
| |
| startInsertAfter | back to summary |
|---|---|
| public void startInsertAfter(String targetId) throws IOException Write the start of an insert operation where the contents will be inserted after the specified target node.
| |
| startInsertBefore | back to summary |
|---|---|
| public void startInsertBefore(String targetId) throws IOException Write the start of an insert operation where the contents will be inserted before the specified target node.
| |
| startUpdate | back to summary |
|---|---|
| public void startUpdate(String targetId) throws IOException Write the start of an update operation.
| |
| updateAttributes | back to summary |
|---|---|
| public void updateAttributes(String targetId, Map<String, String> attributes) throws IOException Write an attribute update operation.
| |