org.japano.util
Class ResourceRef

java.lang.Object
  extended by org.japano.util.ResourceRef

public class ResourceRef
extends java.lang.Object

Encapsulates a Reference to an URI and the session it was invoked in.

Version:
$Id: ResourceRef.java,v 1.5 2005/09/27 21:30:51 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )

Field Summary
static java.lang.String TMPID_INSERT
           
static java.lang.String TMPID_NAME
           
 
Constructor Summary
ResourceRef(javax.servlet.http.HttpServletRequest request, Session session)
           
ResourceRef(javax.servlet.http.HttpServletRequest request, Session session, java.lang.String tmpId)
          Creates a new instance of ResourceRef
 
Method Summary
 void redirect(javax.servlet.http.HttpServletResponse response)
           
 void setURI(java.lang.String uri)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TMPID_NAME

public static final java.lang.String TMPID_NAME
See Also:
Constant Field Values

TMPID_INSERT

public static final java.lang.String TMPID_INSERT
See Also:
Constant Field Values
Constructor Detail

ResourceRef

public ResourceRef(javax.servlet.http.HttpServletRequest request,
                   Session session)

ResourceRef

public ResourceRef(javax.servlet.http.HttpServletRequest request,
                   Session session,
                   java.lang.String tmpId)
Creates a new instance of ResourceRef

Method Detail

setURI

public void setURI(java.lang.String uri)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

redirect

public void redirect(javax.servlet.http.HttpServletResponse response)
              throws java.io.IOException
Throws:
java.io.IOException