code: public static HttpCallContext get() throws IllegalStateException
  	{
  		final HttpCallContext ctx = peek();
  
  		if (ctx != null)
  			return ctx;
  		else
  			throw new IllegalStateException("Not in an HttpCallContext!");
  	}
docs: Retrieve the HttpCallContext associated with this Thread
  
  @return
  
  @throws IllegalStateException
  if not inside an http call