本文整理了Java中com.google.gwt.user.server.rpc.RemoteServiceServlet.onAfterResponseSerialized
方法的一些代码示例,展示了RemoteServiceServlet.onAfterResponseSerialized
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RemoteServiceServlet.onAfterResponseSerialized
方法的具体详情如下:
包路径:com.google.gwt.user.server.rpc.RemoteServiceServlet
类名称:RemoteServiceServlet
方法名:onAfterResponseSerialized
[英]Override this method to examine the serialized response that will be returned to the client. The default implementation does nothing and need not be called by subclasses.
[中]重写此方法以检查将返回给客户端的序列化响应。默认实现不做任何事情,也不需要由子类调用。
代码示例来源:origin: com.google.gwt/gwt-servlet
onAfterResponseSerialized(responsePayload);
代码示例来源:origin: com.allen-sauer.gwt.log/gwt-log
/**
* Ensures that the the RPC response contains the necessary access control headers for
* cross-domain access.
*
* @param serializedResponse the serialized RPC response
*/
@Override
protected void onAfterResponseSerialized(String serializedResponse) {
super.onAfterResponseSerialized(serializedResponse);
maybeSetAccessControlAllowHeaders(getThreadLocalRequest(), getThreadLocalResponse());
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
onAfterResponseSerialized(responsePayload);
代码示例来源:origin: net.wetheinter/gwt-user
onAfterResponseSerialized(responsePayload);
内容来源于网络,如有侵权,请联系作者删除!