Class ForwardResult

  extended by
      extended by
All Implemented Interfaces

public class ForwardResult
extends GenericRestResult

Implementation of a RestResult that can be used to easily forward from the outcome of a RestCommand.

Nested Class Summary
Nested classes/interfaces inherited from interface
Field Summary
Fields inherited from class
contentType, debug, formatters, JSON_CONTENT_TYPE, XML_CONTENT_TYPE
Constructor Summary
ForwardResult(String uri)
          Constructor that takes the forward URI.
Method Summary
 String getUri()
          Gets the forward URI.
Methods inherited from class
getCharacterEncoding, getContentType, getFormatters, getMessage, getResponse, getResponseBean, getStatus, isError, setCharacterEncoding, setFormatters, setResponseBean, toJSON, toXML
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ForwardResult(String uri)
Constructor that takes the forward URI.

uri - the URI that the RestServlet should forward to.
Method Detail


public String getUri()
Gets the forward URI.

the forward URI

Copyright © 2011, Oracle. All rights reserved.