public < T > T getState ( HttpConnectionInterceptor interceptor , String stateName , Class < T > stateType ) { Map < String , Object > state = interceptorStates . get ( interceptor ) ; if ( state != null ) { return stateType . cast ( state . get ( stateName ) ) ; } else { return null ; } }
Retrieve the state object associated with the specified interceptor instance and property name on this request context .