org.kuali.student.common.ui.server.gwt
Class ServerPropertiesRpcGwtServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.kuali.student.common.ui.server.gwt.ServerPropertiesRpcGwtServlet
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, Servlet, ServletConfig, ServerPropertiesRpcService
public class ServerPropertiesRpcGwtServlet
- extends com.google.gwt.user.server.rpc.RemoteServiceServlet
- implements ServerPropertiesRpcService
- See Also:
- Serialized Form
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
perThreadRequest, perThreadResponse |
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
final Logger logger
properties
Map<String,String> properties
ServerPropertiesRpcGwtServlet
public ServerPropertiesRpcGwtServlet()
getProperties
public Map<String,String> getProperties()
setProperties
public void setProperties(Map<String,String> properties)
get
public String get(String property)
- Description copied from interface:
ServerPropertiesRpcService
- Gets the property from the server for use on the client side.
- Specified by:
get
in interface ServerPropertiesRpcService
- Parameters:
property
- property name to get
- Returns:
- the property value
get
public Map<String,String> get(List<String> properties)
- Description copied from interface:
ServerPropertiesRpcService
- Gets the list of properties from the server for use on the client side.
- Specified by:
get
in interface ServerPropertiesRpcService
- Parameters:
properties
- the properties to get
- Returns:
- a map of the properties and values, null if no property exists by the names given
getContextPath
public String getContextPath()
- Specified by:
getContextPath
in interface ServerPropertiesRpcService
- Returns:
- the context path of the app
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.