Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.action.interceptor
Class JiveLoginInterceptor

java.lang.Object
  extended by com.jivesoftware.base.action.interceptor.JiveLoginInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor, java.io.Serializable

public class JiveLoginInterceptor
extends java.lang.Object
implements com.opensymphony.xwork.interceptor.Interceptor

See Also:
Serialized Form

Field Summary
static java.lang.String ACTION_NAME_KEY
           
static java.lang.String PARAM_KEY
           
 
Constructor Summary
JiveLoginInterceptor()
           
 
Method Summary
 void destroy()
           
 java.lang.String getPageURL(com.opensymphony.xwork.ActionContext ctx)
          Returns the URL of the current page as a string.
 void init()
           
 java.lang.String intercept(com.opensymphony.xwork.ActionInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_KEY

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

ACTION_NAME_KEY

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

JiveLoginInterceptor

public JiveLoginInterceptor()
Method Detail

init

public void init()
Specified by:
init in interface com.opensymphony.xwork.interceptor.Interceptor

intercept

public java.lang.String intercept(com.opensymphony.xwork.ActionInvocation invocation)
                           throws java.lang.Exception
Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
Throws:
java.lang.Exception

destroy

public void destroy()
Specified by:
destroy in interface com.opensymphony.xwork.interceptor.Interceptor

getPageURL

public java.lang.String getPageURL(com.opensymphony.xwork.ActionContext ctx)
Returns the URL of the current page as a string. This only returns the url and it's get parameters, not all the parameters of the action.

Parameters:
ctx - the action context
Returns:
the URL of the current page

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.