org.apache.struts2.showcase.chat
Class ChatInterceptor
java.lang.Object
org.apache.struts2.showcase.chat.ChatInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork2.interceptor.Interceptor, Serializable
public class ChatInterceptor
- extends Object
- implements com.opensymphony.xwork2.interceptor.Interceptor
Authenticate showcase chat example, make sure everyone have a username.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHAT_USER_SESSION_KEY
public static final String CHAT_USER_SESSION_KEY
- See Also:
- Constant Field Values
ChatInterceptor
public ChatInterceptor()
destroy
public void destroy()
- Specified by:
destroy in interface com.opensymphony.xwork2.interceptor.Interceptor
init
public void init()
- Specified by:
init in interface com.opensymphony.xwork2.interceptor.Interceptor
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
throws Exception
- Specified by:
intercept in interface com.opensymphony.xwork2.interceptor.Interceptor
- Throws:
Exception
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.