Package org.apache.struts2.rest

# Class RestActionProxyFactory

java.lang.Object
org.apache.struts2.DefaultActionProxyFactory
org.apache.struts2.rest.RestActionProxyFactory

All Implemented Interfaces:
  `ActionProxyFactory`

public class RestActionProxyFactory extends DefaultActionProxyFactory
Factory that creates the `RestActionInvocation`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected String`
  `namespace`

  ### Fields inherited from class org.apache.struts2.DefaultActionProxyFactory

  `container`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RestActionProxyFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ActionProxy`
  `createActionProxy(String namespace, String actionName, String methodName, Map<String,Object> extraContext, boolean executeResult, boolean cleanupContext)`
  `void`
  `setNamespace(String namespace)`

  ### Methods inherited from class org.apache.struts2.DefaultActionProxyFactory

  `createActionInvocation, createActionProxy, createActionProxy, createActionProxy, createActionProxy, createActionProxy, setContainer, toString`

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

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

- ## Field Details

  - ### namespace

    protected String namespace

- ## Constructor Details

  - ### RestActionProxyFactory

    public RestActionProxyFactory()

- ## Method Details

  - ### setNamespace

    public void setNamespace(String namespace)

  - ### createActionProxy

    public ActionProxy createActionProxy(String namespace, String actionName, String methodName, Map<String,Object> extraContext, boolean executeResult, boolean cleanupContext)
    Specified by:
      `createActionProxy` in interface `ActionProxyFactory`
    Overrides:
      `createActionProxy` in class `DefaultActionProxyFactory`