org.apache.tapestry.request
Class DecodedRequest

java.lang.Object
  extended by org.apache.tapestry.request.DecodedRequest

public class DecodedRequest
extends Object

Contains properties of an HttpServletRequest that have been extracted from the request (or otherwise determined).

An alternative idea would have been to create a new HttpServletRequest wrapper that overode the various methods. That struck me as causing more confusion; instead (in the few places it counts), classes will get the decoded properties from the RequestContext.

Since:
2.2
Version:
DecodedRequest.java,v 1.1 2002/08/20 21:49:58 hship Exp
Author:
Howard Lewis Ship
See Also:
IRequestDecoder, RequestContext.getScheme(), RequestContext.getServerName(), RequestContext.getServerPort(), RequestContext.getRequestURI()

Constructor Summary
DecodedRequest()
           
 
Method Summary
 String getRequestURI()
           
 String getScheme()
           
 String getServerName()
           
 int getServerPort()
           
 void setRequestURI(String URI)
           
 void setScheme(String scheme)
           
 void setServerName(String serverName)
           
 void setServerPort(int serverPort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecodedRequest

public DecodedRequest()
Method Detail

getServerPort

public int getServerPort()

getScheme

public String getScheme()

getServerName

public String getServerName()

getRequestURI

public String getRequestURI()

setServerPort

public void setServerPort(int serverPort)

setScheme

public void setScheme(String scheme)

setServerName

public void setServerName(String serverName)

setRequestURI

public void setRequestURI(String URI)