com.bea.wlp.rest.results
Class ForwardResult
java.lang.Object
com.bea.wlp.rest.results.GenericRestResult
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
.
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 |
ForwardResult
public ForwardResult(String uri)
- Constructor that takes the forward URI.
- Parameters
uri
- the URI that the RestServlet
should forward to.
getUri
public String getUri()
- Gets the forward URI.
- Returns
- the forward URI
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.