org.apache.tapestry5.internal.services

## Class AjaxPageNameComponentEventResultProcessor

- java.lang.Object
- - org.apache.tapestry5.internal.services.AjaxPageNameComponentEventResultProcessor

- All Implemented Interfaces:
    ComponentEventResultProcessor<String>

      public class AjaxPageNameComponentEventResultProcessor
      extends Object
      implements ComponentEventResultProcessor<String>

  A `ComponentEventResultProcessor`, used for Ajax requests, for a String value that is interpreted as a logical page name.
  See Also:
    `PageNameComponentEventResultProcessor`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AjaxPageNameComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor, LinkSource linkSource)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `processResultValue(String value)` Obtains a page render `Link` for the named, then builds a JSON response for the client.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AjaxPageNameComponentEventResultProcessor

          public AjaxPageNameComponentEventResultProcessor(@Ajax
                                                   ComponentEventResultProcessor masterProcessor,
                                                   LinkSource linkSource)

  - ### Method Detail

    - #### processResultValue

          public void processResultValue(String value)
                                  throws IOException

      Obtains a page render `Link` for the named, then builds a JSON response for the client.
      Specified by:
        `processResultValue` in interface `ComponentEventResultProcessor<String>`
      Parameters:
        `value` - page name
      Throws:
        `IOException`

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.