Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package de.swm.gwt.client.mobile.network;
 
Will fix a current io6 bug: Ios6 is chaching http request.
 
 public class MobileRequestBuilder extends RpcRequestBuilder {


Called by com.google.gwt.user.client.rpc.RpcRequestBuilder.finish() prior to returning the RequestBuilder to the caller.

The default implementation sets the com.google.gwt.user.client.rpc.RpcRequestBuilder.STRONG_NAME_HEADER header to the value returned by com.google.gwt.core.client.GWT.getPermutationStrongName().

Parameters:
rb The RequestBuilder that is currently being configured
	protected void doFinish(RequestBuilder rb) {
		rb.setHeader("Cache-Control""no-cache");
		super.doFinish(rb);
	}
New to GrepCode? Check out our FAQ X