CWTRPC
0.9.0

de.itsvs.cwtrpc.security
Class AbstractRpcSuccessHandler

java.lang.Object
  extended by de.itsvs.cwtrpc.security.AbstractRpcSuccessHandler
All Implemented Interfaces:
InitializingBean, ServletContextAware
Direct Known Subclasses:
DefaultRpcAuthenticationSuccessHandler, DefaultRpcLogoutSuccessHandler

public abstract class AbstractRpcSuccessHandler
extends Object
implements ServletContextAware, InitializingBean

Since:
0.9
Author:
Volker Schmidt

Constructor Summary
AbstractRpcSuccessHandler()
           
 
Method Summary
protected  void addNoCacheResponseHeaders(HttpServletRequest request, HttpServletResponse response)
           
 void afterPropertiesSet()
           
protected  Object getResponse(HttpServletRequest request, RPCRequest rpcRequest, Authentication authentication)
           
 ServletContext getServletContext()
           
protected  void sendResponse(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
           
 void setServletContext(ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRpcSuccessHandler

public AbstractRpcSuccessHandler()
Method Detail

getServletContext

public ServletContext getServletContext()

setServletContext

public void setServletContext(ServletContext servletContext)
Specified by:
setServletContext in interface ServletContextAware

afterPropertiesSet

public void afterPropertiesSet()
                        throws ServletException
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
ServletException

sendResponse

protected void sendResponse(HttpServletRequest request,
                            HttpServletResponse response,
                            Authentication authentication)
                     throws IOException,
                            ServletException
Throws:
IOException
ServletException

addNoCacheResponseHeaders

protected void addNoCacheResponseHeaders(HttpServletRequest request,
                                         HttpServletResponse response)

getResponse

protected Object getResponse(HttpServletRequest request,
                             RPCRequest rpcRequest,
                             Authentication authentication)

Controlled
Web Toolkit RPC

Copyright 2011 IT Services VS GmbH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.