Class: InternetHakai::NoRedirectCheckAction

Inherits:
RequestAction show all
Defined in:
lib/internethakai/action.rb

Overview

リダイレクトしないことをチェック

Constant Summary

Constants inherited from RequestAction

RequestAction::ERROR_MAX, RequestAction::REDIRECT_MAX

Instance Attribute Summary

Attributes inherited from BaseAction

#performance_id

Instance Method Summary collapse

Methods inherited from RequestAction

#check_scan, #check_size, #free, #get_client, #get_default, #http_request, #init, #initialize, #log, #mkclient, #on_complete, #on_error, #on_free, #on_response, #run, #set_client, #set_wait, #to_s

Methods inherited from BaseAction

#dispatch_next, #free, #get_default, #has_on_complete?, #initialize, #quit, #run, #set_on_complete

Constructor Details

This class inherits a constructor from InternetHakai::RequestAction

Instance Method Details

#on_redirect(newurl) ⇒ Object



324
325
326
327
# File 'lib/internethakai/action.rb', line 324

def on_redirect newurl
    @errorcount+=1
    log "ASSERT_NO_REDIRECT:::false"
end