Skip navigation links


com.bea.wlp.rest.results
Class ForwardResult

java.lang.Object
  extended by com.bea.wlp.rest.results.GenericRestResult
      extended by com.bea.wlp.rest.results.ForwardResult

All Implemented Interfaces
RestResult

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 com.bea.wlp.rest.results.RestResult
RestResult.FormatType

 

Field Summary

 

Fields inherited from class com.bea.wlp.rest.results.GenericRestResult
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 com.bea.wlp.rest.results.GenericRestResult
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

ForwardResult

public ForwardResult(String uri)
Constructor that takes the forward URI.
Parameters
uri - the URI that the RestServlet should forward to.

Method Detail

getUri

public String getUri()
Gets the forward URI.
Returns
the forward URI

Skip navigation links


Copyright © 2010, Oracle. All rights reserved.