org.apache.struts2.config

## Class NullResult

- java.lang.Object
- - org.apache.struts2.config.NullResult

- All Implemented Interfaces:
    Result, Serializable

      public class NullResult
      extends Object
      implements Result

  Null result to get around annotation defaults that can't be null FIXME: ???? is it usable? doesn't it make sense to have such result?
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NullResult()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(ActionInvocation invocation)` Represents a generic interface for all action execution results.

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

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

- - ### Constructor Detail

    - #### NullResult

          public NullResult()

  - ### Method Detail

    - #### execute

          public void execute(ActionInvocation invocation)
                       throws Exception

      Description copied from interface: `Result`
      Represents a generic interface for all action execution results. Whether that be displaying a webpage, generating an email, sending a JMS message, etc.
      Specified by:
        `execute` in interface `Result`
      Parameters:
        `invocation` - the invocation context.
      Throws:
        `Exception` - can be thrown.

Copyright © 2000–2020 Apache Software Foundation. All rights reserved.