actionresult.java

来自「webwork source」· Java 代码 · 共 66 行

JAVA
66
字号
/* * WebWork, Web Application Framework * * Distributable under Apache license. * See terms of license at opensource.org */package webwork.action.client;import webwork.action.Action;import java.io.Serializable;/** * Carries the action execution result from the server to the client. * * @author Rickard 謆erg (rickard@dreambean.com) */public class ActionResult   implements Serializable{   // Attributes ----------------------------------------------------   Action action;   String result;   Exception exception;   // Static --------------------------------------------------------   public static long serialVersionUID = 0;   // Constructors --------------------------------------------------   public ActionResult(Action aAction, String aResult)   {      action = aAction;      result = aResult;   }   // Public --------------------------------------------------------   public Action getAction()   {      return action;   }   public void setAction(Action aAction)   {      action = aAction;   }   public Exception getException()   {      return exception;   }   public void setException(Exception aException)   {      exception = aException;   }   public String getResult()   {      return result;   }   public void setResult(String aResult)   {      result = aResult;   }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?